From: Robert Hoehne Newsgroups: comp.os.msdos.djgpp Subject: Re: Trouble with GPC Date: Fri, 18 Oct 1996 11:52:31 +0200 Organization: TU Chemnitz-Zwickau Lines: 31 Message-ID: <3267535F.6F2D@Mathematik.tu-chemnitz.de> References: <01bbbab6$1e0cf340$LocalHost AT default> NNTP-Posting-Host: tantalus-e.hrz.tu-chemnitz.de Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: Niels Heirbaut To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Niels Heirbaut wrote: > > I got the next message: > C:\DJGPP\BIN/ld.exe: cannot open crt0.o: No such file or directory (ENOENT) > You have to add the line with the LIBRAY_PATH (which you can see in the [gcc] section also to the [gpc] section, because gcc and gpc serch these directories for libraries and for crt0.o . You have added the [gpc] section by hand, I'm right?? If you look at the djgpp.env file, which comes with gpc, you will see, that there is this line. > [gcc] > COMPILER_PATH=%/>;COMPILER_PATH%%DJDIR%/bin > LIBRARY_PATH=%/>;LIBRARY_PATH%%DJDIR%/lib;%DJDIR%/contrib/grx20/lib > > [gpc] > GPC_EXEC_PREFIX=%/>;GPC_EXEC_PREFIX%%DJDIR%/lib > Robert -- ***************************************************************** * Robert Hoehne, Fakultaet fuer Mathematik, TU-Chemnitz-Zwickau * * Post: Am Berg 3, D-09573 Dittmannsdorf * * e-Mail: Robert DOT Hoehne AT Mathematik DOT TU-Chemnitz DOT DE * * WWW: http://www.tu-chemnitz.de/~rho * *****************************************************************