Mail Archives: djgpp/2011/12/23/16:45:07
On 23 Dez., 18:58, Rugxulo <rugx DOT DOT DOT AT gmail DOT com> wrote:
> Hi,
>
> On Dec 23, 1:59 am, Rugxulo <rugx DOT DOT DOT AT gmail DOT com> wrote:
> > On Dec 22, 9:56 am, Juan Manuel Guerrero <juan DOT guerr DOT DOT DOT AT gmx DOT de> wrote:
>
> > > On 22 Dez., 05:06, Rugxulo <rugx DOT DOT DOT AT gmail DOT com> wrote:
>
> > > > I'm not sure I've ever rebuilt DJGPP's libc, probably weakly tried
> > > > once or twice and gave up.
>
> > > I have compiled libc on plain DOS without difficulties today.
> > > I have used VMware with this system parameters:
> > > OS: MSDOS 6.22 (no LFN driver installed)
> > > RAM: 32 MB
>
> > > I checked out the sources on my linux box and zipped the extracted
> > > sources. I used djtar to extract the sources on the virtual dos box.
> > > The sources compiled flawlessly.
> > > It took around 50 minutes to compile the sources using gcc 4.6.1
> > > and latest binutils. Of course, a working version of lua can also
> > > be compiled after libc.a has been installed.
>
> > I'm surprised it works without LFNs and in such a low amount of RAM.
>
> Well, I tried under DOSEMU. A few caveats, but it mostly seems to have
> worked with latest GCC 4.6.2 /beta/ (corrections welcome):
>
> wgethttp://www.ludd.luth.se/~ams/djgpp/cvs/djgpp.cvs.tar.gz
> set DJGPP=c:\djgpp
> path %DJGPP%\bin;%PATH%
> set DJGPP=%DJGPP%\djgpp.env
> djtarx \tmp\djgpp.cvs.tar.gz
> cd djgpp
> djtarx \tmp\djtzn204.zip
> cd src
> make
>
> 1). Initially I was using an out-of-tree DJGPP install to build it,
> but I guess that's not recommended (strange failure building symify).
> Once copied bins over to "source" tree root, it ran fine, more or
> less.
You have corrupted your djgpp installation. I would suggest to delete
into and make a fresh installation.
AFAIK the cvs sources are never extracted into the djgpp installation
directory. I usualy extract into tmp. Before you start compiling you
must copy djgpp.djl and dxe.ld from the cvs /lib directory into your
djgpp installation /lib directory. If this is not done the
compilation
will abort when compiling symify.
> 2). DJTZN204.ZIP needs to be installed / unpacked? I guess you could
No certainly no. Everything you need to compile is checked out by CVS
or contained in djgpp.cvs.tar.gz.
> just "make -k" or whatever and ignore it. (Does anyone use this? It
> seems a little arcane to understand, and they changed the rules
> anyways, so it's probably a bit out of date, no pun intended, heh.
> "set TZ=CST6CDT", I presume? No, better is to point directly to the
> "Central" file, right?? Does it matter if I build /zoneinfo/src/
> Makefile with "LOCALTIME=US/Central"? [default "US/Eastern"])
> 3). Also, under /zoneinfo/, seems two rules in the Makefile try "-L /
> dev/null", which (again) DOSEMU doesn't like. (What is the deal with
> that???) Anyways, I just created an empty 0-byte file ("blah") and
> used that instead. (shrug)
>
> I think I'll rebuild from scratch again to double-check.
I do not understand all this. Probably DOSEMU is not the best
emulator to compile the sources. But I do not know. I do not
remember if it was DOSEMU or DOSBOX but my experience with those
emulators was disapointing so I returned to VMware. I am not
lobbying for it. It is the one I use in my day-time job, so
I am most familiar with it than with the other ones.
OFYI, I compiled today's libc sources on my thinkpad t60 with
MSDOS 6.22 (only SFN support). FILES=250, command.com environment
space = 16384, smartdvr cache 10MB, XMS = 64 MB. With gcc 4.4.X
it compiled flawlessly in 8 min. (No emulation but real hardware).
BTW, you do not need LFN support to compile the CVS sources.
Regards,
Juan M. Guerrero
- Raw text -