delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2020/08/30/16:11:42

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=1598818011;
bh=Jvc4U9iYy48xZAGwp2JG3ckjuyyWFdpWExzD+T/cQxs=;
h=X-UI-Sender-Class:Subject:To:References:From:Date:In-Reply-To;
b=e6I+f6nE8fvO0TLpGgKHwWdgKbNkQ/SQNuRVtuyXyTTygfLtus6p4jukicEBZAcCu
5+Nj9r3vya1+BFrr6CHYCXVaPlJLT5ADfGupC2FWMC7K1Q4YdbnNsHW6qI8/+G6+xR
2Ar6whkhg3OPcV21F9s/nLo+x39QGVqf4pEzeAkY=
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>
<cf45a5e1-edd6-aa3f-0207-853bd138274a AT gmx DOT de>
From: "sleepy_dog AT gmx DOT de [via djgpp AT delorie DOT com]" <djgpp AT delorie DOT com>
Message-ID: <49d6271c-84bb-cd02-4ab6-bdc5342af0ce@gmx.de>
Date: Sun, 30 Aug 2020 22:06:49 +0200
User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:45.0) Gecko/20100101
Thunderbird/45.4.0
MIME-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fver36m/W2fWUKu8k9Iykjmtf
hOSRdexDQ5blkrkXpjeAOlg6nJmi5i2YfcpTWF+s7QAdgdVWezal474ME5ITREcrwN5YrTpZq
9iZp6LLG5+1d4q6TPwxGxWzQ/HWaiqQp1jbFweZvfaCePJCNtJwW82zVJ9wAyZRxS011pJtaz
D1yGAsevbTo1XyJfi5RPeP/pxFuLhieuXUzS4pXsmgZbKBQcyv8ef8NKmW6sfLNnxbqqnVrJ4
2V+R+zeEy6nnVWxU3jbjgwV2daiQOIdkxjF1EuxFfVkLdp+jzlYVE9dxmw0iT+RS94inAUtWJ
2LJsv4K+8TR7bLAGcJHnsXPtT/tYTRQD4SITG6F8GkFZHo3GWKj5of2MSZ2qtTvshP1uJKM3P
+kzkP3wx71J3UwS05YOG2rLpkj36dGq/ueIbJOwzT0NCJPZM9HYurSTelKaHgnJyM2cmq9XLV
1P++vxXoSBh8H/12sGQ5mpoAxmfLRy6IKPpAzCtZ4OQOfZT6058UKE8nr1J2JnlvPOvIeymi7
pN/DjzB2Fs1knWqDnYRphtRYBLp8cCuRZ2ANBjQ==
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.
--------------75BD6D0E74AE5CF3185B4F98
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: quoted-printable

can't find anything about resync, though
>
> 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 F=
S.
>>
>> 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
>>     system,
>>     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 th=
e
>>     >> problem.  Maybe some Windows 7 specific problem?  I think someon=
e
>>     >> posted here long ago tricks to get the Windows DPMI provider mor=
e
>>     >> friendly...  Anyone?
>>     > I thought he was running DJGPP under DOSBox and not directly unde=
r
>>     > Windows 7.  DOSBox is designed to be able to run old games, so no=
t
>>     > 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 case=
s,
>>     > virtual machines are the solution.
>>     >
>>     > Cheers,
>>     > Albert.
>>     >
>>
>>
>


--------------75BD6D0E74AE5CF3185B4F98
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">can't find anything about resync,
      though<br>
    </div>
    <blockquote cite=3D"mid:cf45a5e1-edd6-aa3f-0207-853bd138274a AT gmx DOT de"
      type=3D"cite">
      <meta content=3D"text/html; charset=3Dutf-8" http-equiv=3D"Content-T=
ype">
      <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:09 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">djgpp 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">Hi,<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 de=
lorie.com</a>]
            &lt;<a moz-do-not-send=3D"true"
              href=3D"mailto:djgpp AT delorie DOT com" target=3D"_blank">djgpp AT de=
lorie.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_d=
og AT gmx DOT de</a>
            [via <a moz-do-not-send=3D"true"
              href=3D"mailto:djgpp AT delorie DOT com" target=3D"_blank">djgpp AT de=
lorie.com</a>]"
            &lt;<a moz-do-not-send=3D"true"
              href=3D"mailto:djgpp AT delorie DOT com" target=3D"_blank">djgpp AT de=
lorie.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 - le=
ave 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 jus=
t
            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 tryi=
ng
            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=
 In
            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>
    </blockquote>
    <p><br>
    </p>
  </body>
</html>

--------------75BD6D0E74AE5CF3185B4F98--

- Raw text -


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