From: Paul D. <du...@ho...> - 2003-07-09 23:36:04
|
I commented out the only line from <djgppdir>/lib/djgpp.ver which is now: // include <sys/version.h> ... This allowed me to go to: gcc -Wall -O -finline-functions -fno-builtin -nostdinc -D__GNU__ -I.. -D__VIRCSW __ -c vm86.c gcc -Wall -O -finline-functions -fno-builtin -nostdinc -D__GNU__ -I.. -D__VIRCSW __ -c xbios.c xbios.c: In function `x_bios_address': xbios.c:53: warning: implicit declaration of function `GDT_read' ar rs libhx.a xsys0.o cpu2.o exc.o ctx.o mem.o xinfo.o x1.o xsystab.o xconv.o x dosf.o xdosm.o ccpu.o fpu.o irq.o ctxsw.o xinit.o idtinit.o vm86.o xbios.o c:\djgpp\bin/ar.exe: libhx.a: rename: Not enough memory (ENOMEM) make.exe: *** [libhx.a] Error 1 Well, I begin to think the problem is that I am on Windows XP. The computer have 512Mb so I doubt I really have not enough memory: G:\oslib\oslib\xlib>go32-v2 go32/v2 version 2.0 built Dec 24 2001 21:25:02 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: 238123 Kb DPMI swap space available: 0 Kb I had read something about problems of DJGPP with Windows XP. Maybe that's what's happening with ar? Now, I can't simply boot with FreeDOS and go on my hard-drive to compile, because ... because this is NTFS partition, I think... So I am thinking... Maybe some space left on the disk to install oslib and DJGPP in a plain FAT partition. I like to see how problems comes in tree in programming world. :-) Maybe just compiling myself binutils could help... _________________________________________________________________ MSN Search, le moteur de recherche qui pense comme vous ! http://fr.ca.search.msn.com/ |