ftp.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2020/08/30/16:00:26

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
X-Recipient: djgpp AT delorie DOT com
X-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net;
s=badeba3b8450; t=1598817349;
bh=fiM5O/uqxHW5lmx05pdPS4REEhwU9gqkNAt+1k+w+gM=;
h=X-UI-Sender-Class:Subject:To:References:From:Date:In-Reply-To;
b=B3OReCkDC+9I4ZIHsFP8vN36wevFiP0VNLZ/1nVhNu7zs5OhdQeiRlX0wc8YXszp5
cFDqx1inselKqBhXZT8auJ3Ua9pBhLbEs8ePkfQGWKlyvPTRvPeL8AcR8lTv9XSqHf
GijvMuXQvm+6WGO7w7Qp0cVGhCbepiuTkh7LV7dI=
X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c
Subject: Re: SIGSEGV when trying to compile helloworld
To: djgpp AT delorie DOT com
References: <f39d7f31-8815-e9fe-7ac1-4b8551098a59 AT gmx DOT de>
<835z90xgab DOT fsf AT gnu DOT org> <e24eddbd-c85c-9142-32f2-fe9191d8ea69 AT gmx DOT de>
<833644xdzz DOT fsf AT gnu DOT org>
<CALPW7mRnckvyHynLOMi4R1EteX9b+TpV9s0+0_FBgz_=+bHEvQ AT mail DOT gmail DOT com>
<b7c21c0b-4276-e53c-cc14-e0cbb0970852 AT gmx DOT de>
<CAN9LaySW9UBQy1-NtpRDssG-pWN0NMPCmw_g5DPBY95HkxsuoA AT mail DOT gmail DOT com>
From: "sleepy_dog AT gmx DOT de [via djgpp AT delorie DOT com]" <djgpp AT delorie DOT com>
Message-ID: <cf45a5e1-edd6-aa3f-0207-853bd138274a@gmx.de>
Date: Sun, 30 Aug 2020 21:55:47 +0200
User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:45.0) Gecko/20100101
Thunderbird/45.4.0
MIME-Version: 1.0
In-Reply-To: <CAN9LaySW9UBQy1-NtpRDss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vRZvsgZanw
IalfkUYtaia59Q9feXCMMTataVnxj1gbAx0LM5jmfuvUVgHuyheuBhjdhVFEASKso7gk9wQLu
juWDSQ9B2eVxu4P8MNzcMcwKnb6f5vaZPhRaX9AY28ZhuPCC8C4kEjXMkiIqUuGvRJh5zQFTV
Y1LvnhlEpnQEPAej3XZUkFyYdNXgMHlcVE7wGEVFb9p26BYkNglXbvMlAWBWLj02hfMfUn5tx
DRE8Kp5DcI2hArzrOEkROXB0ajtUWca14ctZYpmHckCflPhDe+cyclbIgwiEjdhUnvOXmjVlT
oMnmLYKEBFvoDMJTks4OXhUJUnFlJpHGv1VAaJ3sKf/UAeyNn9bCkczI4HmD64VronkZMXXwR
1tMcNKEk2z+RMQsR6ItrSWRMrWyrw0CI53HeN3TZxDNAFItui0mTgniApYGlxUdpYG09THXeU
fQlS/d0ZfPuL9xnQmp05xVn1cWMnJD/dGjVQBPn7BTDKxBr3P+KqXRV+tb49Nyor6UqFrWpiF
Hru5QbYnE/g/I8fyziR8x/vmAwqfyxKSrzqNVbQ==
Reply-To: djgpp AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

This is a multi-part message in MIME format.
--------------AF2AE7D2BF4D51B371F08864
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: quoted-printable


Ah! Resync. I didn't know that. I had heard of sync'ing problems with
DOSBox & file system and seen myself that files created from the host OS
after starting DOSBox aren't showing up.
Will try that. Lack of long file names in DOSBox is kind of a pain, though=
.

> DOSBox provides a (mostly) elegant solution to this -- just share your
> files directly. Unlike other VMs, DOSBox allows you to directly mount
> the host filesystem within the DOS VM -- so you can just edit the
> files directly using your editor of choice on Windows, then switch to
> DOSBox and build them. (You do need to watch out for long filenames,
> though.) In the odd occurrence of being out of sync, the DOSBox
> command "resync" will refresh its cached directory of the host FS.
>
> Damian
>
>
> On Sun, Aug 30, 2020 at 12:09 PM sleepy_dog AT gmx DOT de
> <mailto:sleepy_dog AT gmx DOT de> [via djgpp AT delorie DOT com
> <mailto:djgpp AT delorie DOT com>] <djgpp AT delorie DOT com
> <mailto:djgpp AT delorie DOT com>> wrote:
>
>     Hi,
>
>     > I thought he was running DJGPP under DOSBox and not directly
>     under Windows 7.
>
>     No no, I planned to make the programs run under DOSbox, but
>     compiling is from within windows.
>     I guess for debugging I would have to use RHIDE within DOSbox,
>     esp. because Graphics modes are involved.
>     But I'd prefer not to use it as an actual editor.
>
>     > How about trying some other kind of virtual machine, eg. QEMU or
>     VMWare?
>
>     I was now thinking of running a VirtualBox WinXp32 image on my syste=
m,
>     with a shared folder for the sources, and a build script I trigger
>     manually.
>     That would be somewhat workable, I guess.
>
>     I have no experience with QEMU or VMWare, and interoperability with
>     stuff that runs on the host system.
>
>
>     > Hi all,
>     >
>     > On Sun, 30 Aug 2020 at 17:10, Eli Zaretskii (eliz AT gnu DOT org
>     <mailto:eliz AT gnu DOT org>) [via
>     > djgpp AT delorie DOT com <mailto:djgpp AT delorie DOT com>] <djgpp AT delorie DOT com
>     <mailto:djgpp AT delorie DOT com>> wrote:
>     >>> From: "sleepy_dog AT gmx DOT de <mailto:sleepy_dog AT gmx DOT de> [via
>     djgpp AT delorie DOT com <mailto:djgpp AT delorie DOT com>]" <djgpp AT delorie DOT com
>     <mailto:djgpp AT delorie DOT com>>
>     >>> Date: Sun, 30 Aug 2020 18:32:41 +0200
>     >>>
>     >>> go32/v2 version 2.0 built Oct 18 2015 09:41:08
>     >>> Usage: go32 coff-image [args]
>     >>> Rename this to go32.exe only if you need a go32 that can run
>     v2 binaries as
>     >>>    well as v1 binaries (old makefiles).  Put ahead of the old
>     go32 in
>     >>> your PATH
>     >>>    but do not delete your old go32 - leave it in the PATH
>     after this one.
>     >>> Set GO32_V2_DEBUG=3Dy in the environment to get verbose output.
>     >>>
>     >>> DPMI memory available: 704964 Kb
>     >>> DPMI swap space available: 0 Kb
>     >>>
>     >>> Hm. DPMI swap space 0 =3D bad?
>     >> No, that's OK.  Many "modern" DPMI providers just lump all the
>     memory
>     >> together (700MB in your case), and don't bother separating them
>     into
>     >> RAM and swap.
>     >>
>     >> The memory amount sounds enough, so I'm puzzled what could be the
>     >> problem.  Maybe some Windows 7 specific problem?  I think someone
>     >> posted here long ago tricks to get the Windows DPMI provider more
>     >> friendly...  Anyone?
>     > I thought he was running DJGPP under DOSBox and not directly under
>     > Windows 7.  DOSBox is designed to be able to run old games, so not
>     > even long filenames are implemented.  How about trying some
>     other kind
>     > of virtual machine, eg. QEMU or VMWare?
>     >
>     > I've said it before, but NT series Windows support for DOS
>     programs is
>     > pathetic (and on 64-bit versions it is nonexistent). Then again,
>     > Linux never directly supported DOS programs at all.  In both cases=
,
>     > virtual machines are the solution.
>     >
>     > Cheers,
>     > Albert.
>     >
>
>


--------------AF2AE7D2BF4D51B371F08864
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: quoted-printable

<html>
  <head>
    <meta content=3D"text/html; charset=3Dutf-8" http-equiv=3D"Content-Typ=
e">
  </head>
  <body bgcolor=3D"#FFFFFF" text=3D"#000000">
    <div class=3D"moz-cite-prefix"><br>
      Ah! Resync. I didn't know that. I had heard of sync'ing problems
      with DOSBox &amp; file system and seen myself that files created
      from the host OS after starting DOSBox aren't showing up.<br>
      Will try that. Lack of long file names in DOSBox is kind of a
      pain, though.<br>
      <br>
    </div>
    <blockquote
cite=3D"mid:CAN9LaySW9UBQy1-NtpRDssG-pWN0NMPCmw_g5DPBY95HkxsuoA AT mail DOT gmail=
.com"
      type=3D"cite">
      <div dir=3D"ltr">
        <div>DOSBox provides a (mostly) elegant solution to this -- just
          share your files directly. Unlike other VMs, DOSBox allows you
          to directly mount the host filesystem within the DOS VM -- so
          you can just edit the files directly using your editor of
          choice on Windows, then switch to DOSBox and build them. (You
          do need to watch out for long filenames, though.) In the odd
          occurrence of being out of sync, the DOSBox command "resync"
          will refresh its cached directory of the host FS.</div>
        <div><br>
        </div>
        <div>Damian</div>
        <div><br>
        </div>
      </div>
      <br>
      <div class=3D"gmail_quote">
        <div dir=3D"ltr" class=3D"gmail_attr">On Sun, Aug 30, 2020 at 12:0=
9
          PM <a moz-do-not-send=3D"true" href=3D"mailto:sleepy_dog AT gmx DOT de"=
>sleepy_dog AT gmx DOT de</a>
          [via <a moz-do-not-send=3D"true"
            href=3D"mailto:djgpp AT delorie DOT com">djgpp AT delorie DOT com</a>] &lt;<=
a
            moz-do-not-send=3D"true" href=3D"mailto:djgpp AT delorie DOT com">djg=
pp AT delorie DOT com</a>&gt;
          wrote:<br>
        </div>
        <blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px
          0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">H=
i,<br>
          <br>
          &gt; I thought he was running DJGPP under DOSBox and not
          directly under Windows 7.<br>
          <br>
          No no, I planned to make the programs run under DOSbox, but
          compiling is from within windows.<br>
          I guess for debugging I would have to use RHIDE within DOSbox,
          esp. because Graphics modes are involved.<br>
          But I'd prefer not to use it as an actual editor.<br>
          <br>
          &gt; How about trying some other kind of virtual machine, eg.
          QEMU or VMWare?<br>
          <br>
          I was now thinking of running a VirtualBox WinXp32 image on my
          system,<br>
          with a shared folder for the sources, and a build script I
          trigger manually.<br>
          That would be somewhat workable, I guess.<br>
          <br>
          I have no experience with QEMU or VMWare, and interoperability
          with<br>
          stuff that runs on the host system.<br>
          <br>
          <br>
          &gt; Hi all,<br>
          &gt;<br>
          &gt; On Sun, 30 Aug 2020 at 17:10, Eli Zaretskii (<a
            moz-do-not-send=3D"true" href=3D"mailto:eliz AT gnu DOT org"
            target=3D"_blank">eliz AT gnu DOT org</a>) [via<br>
          &gt; <a moz-do-not-send=3D"true"
            href=3D"mailto:djgpp AT delorie DOT com" target=3D"_blank">djgpp AT delo=
rie.com</a>]
          &lt;<a moz-do-not-send=3D"true" href=3D"mailto:djgpp AT delorie DOT com=
"
            target=3D"_blank">djgpp AT delorie DOT com</a>&gt; wrote:<br>
          &gt;&gt;&gt; From: "<a moz-do-not-send=3D"true"
            href=3D"mailto:sleepy_dog AT gmx DOT de" target=3D"_blank">sleepy_dog=
@gmx.de</a>
          [via <a moz-do-not-send=3D"true"
            href=3D"mailto:djgpp AT delorie DOT com" target=3D"_blank">djgpp AT delo=
rie.com</a>]"
          &lt;<a moz-do-not-send=3D"true" href=3D"mailto:djgpp AT delorie DOT com=
"
            target=3D"_blank">djgpp AT delorie DOT com</a>&gt;<br>
          &gt;&gt;&gt; Date: Sun, 30 Aug 2020 18:32:41 +0200<br>
          &gt;&gt;&gt;<br>
          &gt;&gt;&gt; go32/v2 version 2.0 built Oct 18 2015 09:41:08<br>
          &gt;&gt;&gt; Usage: go32 coff-image [args]<br>
          &gt;&gt;&gt; Rename this to go32.exe only if you need a go32
          that can run v2 binaries as<br>
          &gt;&gt;&gt;=C2=A0 =C2=A0 well as v1 binaries (old makefiles).=
=C2=A0 Put
          ahead of the old go32 in<br>
          &gt;&gt;&gt; your PATH<br>
          &gt;&gt;&gt;=C2=A0 =C2=A0 but do not delete your old go32 - leav=
e it in
          the PATH after this one.<br>
          &gt;&gt;&gt; Set GO32_V2_DEBUG=3Dy in the environment to get
          verbose output.<br>
          &gt;&gt;&gt;<br>
          &gt;&gt;&gt; DPMI memory available: 704964 Kb<br>
          &gt;&gt;&gt; DPMI swap space available: 0 Kb<br>
          &gt;&gt;&gt;<br>
          &gt;&gt;&gt; Hm. DPMI swap space 0 =3D bad?<br>
          &gt;&gt; No, that's OK.=C2=A0 Many "modern" DPMI providers just
          lump all the memory<br>
          &gt;&gt; together (700MB in your case), and don't bother
          separating them into<br>
          &gt;&gt; RAM and swap.<br>
          &gt;&gt;<br>
          &gt;&gt; The memory amount sounds enough, so I'm puzzled what
          could be the<br>
          &gt;&gt; problem.=C2=A0 Maybe some Windows 7 specific problem?=
=C2=A0 I
          think someone<br>
          &gt;&gt; posted here long ago tricks to get the Windows DPMI
          provider more<br>
          &gt;&gt; friendly...=C2=A0 Anyone?<br>
          &gt; I thought he was running DJGPP under DOSBox and not
          directly under<br>
          &gt; Windows 7.=C2=A0 DOSBox is designed to be able to run old
          games, so not<br>
          &gt; even long filenames are implemented.=C2=A0 How about trying
          some other kind<br>
          &gt; of virtual machine, eg. QEMU or VMWare?<br>
          &gt;<br>
          &gt; I've said it before, but NT series Windows support for
          DOS programs is<br>
          &gt; pathetic (and on 64-bit versions it is nonexistent).=C2=A0
          Then again,<br>
          &gt; Linux never directly supported DOS programs at all.=C2=A0 I=
n
          both cases,<br>
          &gt; virtual machines are the solution.<br>
          &gt;<br>
          &gt; Cheers,<br>
          &gt; Albert.<br>
          &gt;<br>
          <br>
          <br>
        </blockquote>
      </div>
    </blockquote>
    <p><br>
    </p>
  </body>
</html>

--------------AF2AE7D2BF4D51B371F08864--

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019