From: "Alfio T. Puglisi" 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 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk 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