delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/06/28/00:48:20

From: "Alfio T. Puglisi" <puglisi AT XXXarcetri DOT astro DOT it>
Newsgroups: comp.os.msdos.djgpp
Subject: DJGPP doesn't work
Date: Fri, 27 Jun 1997 15:27:16 +0200
Organization: Arcetri
Lines: 25
Message-ID: <33B3BFB4.120CC8CA@XXXarcetri.astro.it>
NNTP-Posting-Host: turin.arcetri.astro.it
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Hello,
I just tried to install DJGPP under Dos. But I encountered some
problems.
The cpp seems to be taken too directly from unix: it searches
the include files in /usr/local and such, and I must always
specify something like -Ic:\djgpp\include. I tried to edit
the DJGPP.ENV file, but its syntax is terrible.
The linker never find the CRT0.O file: I must place it in the
current directory. Its path is c:\DJGPP\LIB\CRT0.O, but it seems
that this directory is not searched!
Also I couldn't compile anything, because I get:

gcc -o myprog.exe myprog.c -Ic:\djgpp\include

main.c : undefined reference to 'djgpp_start_dtor'
main.c : undefined reference to 'djgpp_end_dtor'
exit.c : undefined reference to 'djgpp_start_dtor'

etc.etc..

what's wrong?

Alfio Puglisi
puglisi AT arcetri DOT astro DOT it
puglisi AT ats DOT it

- Raw text -


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