Mail Archives: djgpp/1997/04/28/22:12:07
Does anyone have updated instructions on how to build a gcc cross compiler
on Linux, so I can create DJGPP .exe's on my linux box?
I followed the info in the FAQ, but I'm running into the following
problem at compilation:
gcc-dos hello.c -o hello.exe
/usr/lib/gcc-lib/i386-go32-msdos/2.7.2.2/ld: warning: cannot find entry
symbol _start; defaulting to 000010a8
/usr/i386-go32-msdos/lib/libc.a(_main.o)(.text+0x1a):_main.c: undefined
reference to `djgpp_last_ctor'
/usr/i386-go32-msdos/lib/libc.a(_main.o)(.text+0x1f):_main.c: undefined
reference to `djgpp_first_ctor'
/usr/i386-go32-msdos/lib/libc.a(_main.o)(.text+0x2f):_main.c: undefined
reference to `djgpp_first_ctor'
/usr/i386-go32-msdos/lib/libc.a(exit.o)(.text+0x35):exit.c: undefined
reference to `djgpp_last_dtor'
/usr/i386-go32-msdos/lib/libc.a(exit.o)(.text+0x3a):exit.c: undefined
reference to `djgpp_first_dtor'
/usr/i386-go32-msdos/lib/libc.a(exit.o)(.text+0x4b):exit.c: undefined
reference to `djgpp_first_dtor'
Thanks..
- lv
- Raw text -