Mail Archives: djgpp/2020/08/30/15:45:21
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/relaxed;
|
| d=gmail.com; s=20161025;
|
| h=mime-version:references:in-reply-to:from:date:message-id:subject:to;
|
| bh=td+JF8A5eUZm11bdXtaTMO5Fs7TBkcyE90lhoxaKzdo=;
|
| b=GmSxSBvKGREirlkfsRSec7BlKl4z+u9Ad0yc9v6hkQbD2SmY2qKdbX9hjqQn/HKrur
|
| yRKH4B64ETR4T8Erpfm5MZdQBqCrHjJLsluCYVoF3klchRCXnGKvHrLueTvSN/U+To5J
|
| eWjq8Nr+TTeFxYzoUvz6vVdhTEs57NC20Gp9tZ6G5nARrlKptSUYuOAEjfdzGJQmyOIG
|
| iMV555dcpu9RDH7ZmpdY1Knyszck7gAqVEr0C+/rLugtAi4gUqEaYoZH+OOIqjzACvRJ
|
| PR+c6Qkg2tveVJiu4w3kU96Yy0Ap9TciOG7G3Fx2pvBePgFZfWm6GpN4QT/d8NJoLFl8
|
| MYJA==
|
X-Google-DKIM-Signature: | v=1; a=rsa-sha256; c=relaxed/relaxed;
|
| d=1e100.net; s=20161025;
|
| h=x-gm-message-state:mime-version:references:in-reply-to:from:date
|
| :message-id:subject:to;
|
| bh=td+JF8A5eUZm11bdXtaTMO5Fs7TBkcyE90lhoxaKzdo=;
|
| b=BsePo/TlReOVgU0brRovVSWIZgZL4o7xAHqFaWiLpb9xsoopjgv3Pjfp26txlLsQOi
|
| HoiSENYufvZpQUGMIzbDSn5ezr6ClVc3FPNESzvQI+fp9cDgxLVpzh6J35izc5HDlPV+
|
| ww12tjn4u1MUkrwYcGjxv0cMUKTW/gMDs1TPprQmkpvB8oFs7RRY+tJ1Y3e9W9KUf17X
|
| 3JHZrlUv7sTCvf7J5qQMRq9F3qgoBOPA3qBLIDTyuxceh3r72C8QjHgJxUud1RWqx86C
|
| Uw4qxP06xO6TQq5+tGsRC5eHAvTXAZl59HVWUDPemCNJRr//nY73Yb8QrwB+omh6j9Qh
|
| qhPA==
|
X-Gm-Message-State: | AOAM532rjBm2NxMhyDI/lem3dMsJo6Z9oSO8LODmWzMvjFvAi73xQPy4
|
| Gxb899vniPT0aEJHCNBvg8/SXr5JdY/QVUOu+TzdYHBHyWI=
|
X-Google-Smtp-Source: | ABdhPJzjztPpkAXVopqCZC0esNHpIHKw7pvjslBu2vhymIFKG3hsNrxmNgWd9d1BVpa5pee+Pi6uYoOnzfSCWqm9k1k=
|
X-Received: | by 2002:a1c:31d7:: with SMTP id x206mr3300991wmx.2.1598816454018;
|
| Sun, 30 Aug 2020 12:40:54 -0700 (PDT)
|
MIME-Version: | 1.0
|
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>
|
In-Reply-To: | <b7c21c0b-4276-e53c-cc14-e0cbb0970852@gmx.de>
|
From: | "Damian Frank (damian DOT frank AT gmail DOT com) [via djgpp AT delorie DOT com]" <djgpp AT delorie DOT com>
|
Date: | Sun, 30 Aug 2020 12:40:17 -0700
|
Message-ID: | <CAN9LaySW9UBQy1-NtpRDssG-pWN0NMPCmw_g5DPBY95HkxsuoA@mail.gmail.com>
|
Subject: | Re: SIGSEGV when trying to compile helloworld
|
To: | djgpp AT delorie DOT com
|
Reply-To: | djgpp AT delorie DOT com
|
--000000000000cd8aaf05ae1d7606
Content-Type: text/plain; charset="UTF-8"
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 [via djgpp AT delorie DOT com] <
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) [via
> > djgpp AT delorie DOT com] <djgpp AT delorie DOT com> wrote:
> >>> From: "sleepy_dog AT gmx DOT de [via djgpp AT delorie DOT com]" <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=y in the environment to get verbose output.
> >>>
> >>> DPMI memory available: 704964 Kb
> >>> DPMI swap space available: 0 Kb
> >>>
> >>> Hm. DPMI swap space 0 = 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.
> >
>
>
>
--000000000000cd8aaf05ae1d7606
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
<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 di=
rectly 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 D=
OSBox 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 "resy=
nc" 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"><d=
iv dir=3D"ltr" class=3D"gmail_attr">On Sun, Aug 30, 2020 at 12:09 PM <a hre=
f=3D"mailto:sleepy_dog AT gmx DOT de">sleepy_dog AT gmx DOT de</a> [via <a href=3D"mailto=
:djgpp AT delorie DOT com">djgpp AT delorie DOT com</a>] <<a href=3D"mailto:djgpp AT delo=
rie.com">djgpp AT delorie DOT com</a>> wrote:<br></div><blockquote class=3D"gma=
il_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,2=
04,204);padding-left:1ex">Hi,<br>
<br>
> I thought he was running DJGPP under DOSBox and not directly under Win=
dows 7.<br>
<br>
No no, I planned to make the programs run under DOSbox, but compiling is fr=
om 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>
> How about trying some other kind of virtual machine, eg. QEMU or VMWar=
e?<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>
> Hi all,<br>
><br>
> On Sun, 30 Aug 2020 at 17:10, Eli Zaretskii (<a href=3D"mailto:eliz AT gn=
u.org" target=3D"_blank">eliz AT gnu DOT org</a>) [via<br>
> <a href=3D"mailto:djgpp AT delorie DOT com" target=3D"_blank">djgpp AT delorie DOT c=
om</a>] <<a href=3D"mailto:djgpp AT delorie DOT com" target=3D"_blank">djgpp AT de=
lorie.com</a>> wrote:<br>
>>> From: "<a href=3D"mailto:sleepy_dog AT gmx DOT de" target=3D"_bl=
ank">sleepy_dog AT gmx DOT de</a> [via <a href=3D"mailto:djgpp AT delorie DOT com" target=
=3D"_blank">djgpp AT delorie DOT com</a>]" <<a href=3D"mailto:djgpp AT delori=
e.com" target=3D"_blank">djgpp AT delorie DOT com</a>><br>
>>> Date: Sun, 30 Aug 2020 18:32:41 +0200<br>
>>><br>
>>> go32/v2 version 2.0 built Oct 18 2015 09:41:08<br>
>>> Usage: go32 coff-image [args]<br>
>>> Rename this to go32.exe only if you need a go32 that can run v=
2 binaries as<br>
>>>=C2=A0 =C2=A0 well as v1 binaries (old makefiles).=C2=A0 Put ah=
ead of the old go32 in<br>
>>> your PATH<br>
>>>=C2=A0 =C2=A0 but do not delete your old go32 - leave it in the=
PATH after this one.<br>
>>> Set GO32_V2_DEBUG=3Dy in the environment to get verbose output=
.<br>
>>><br>
>>> DPMI memory available: 704964 Kb<br>
>>> DPMI swap space available: 0 Kb<br>
>>><br>
>>> Hm. DPMI swap space 0 =3D bad?<br>
>> No, that's OK.=C2=A0 Many "modern" DPMI providers ju=
st lump all the memory<br>
>> together (700MB in your case), and don't bother separating the=
m into<br>
>> RAM and swap.<br>
>><br>
>> The memory amount sounds enough, so I'm puzzled what could be =
the<br>
>> problem.=C2=A0 Maybe some Windows 7 specific problem?=C2=A0 I thin=
k someone<br>
>> posted here long ago tricks to get the Windows DPMI provider more<=
br>
>> friendly...=C2=A0 Anyone?<br>
> I thought he was running DJGPP under DOSBox and not directly under<br>
> Windows 7.=C2=A0 DOSBox is designed to be able to run old games, so no=
t<br>
> even long filenames are implemented.=C2=A0 How about trying some other=
kind<br>
> of virtual machine, eg. QEMU or VMWare?<br>
><br>
> I've said it before, but NT series Windows support for DOS program=
s is<br>
> pathetic (and on 64-bit versions it is nonexistent).=C2=A0 Then again,=
<br>
> Linux never directly supported DOS programs at all.=C2=A0 In both case=
s,<br>
> virtual machines are the solution.<br>
><br>
> Cheers,<br>
> Albert.<br>
><br>
<br>
<br>
</blockquote></div>
--000000000000cd8aaf05ae1d7606--
- Raw text -