Mail Archives: djgpp/2011/12/23/13:15:15
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):
wget http://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.
2). DJTZN204.ZIP needs to be installed / unpacked? I guess you could
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.
- Raw text -