delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/04/28/22:12:07

Date: Mon, 28 Apr 1997 22:05:34 -0400 (EDT)
From: Laszlo Vecsey <master AT internexus DOT net>
To: djgpp AT delorie DOT com
Subject: Updated Linux/DJGPP instructions
Message-ID: <Pine.LNX.3.96.970428220255.23694A-100000@micro.internexus.net>
MIME-Version: 1.0

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019