Date: Wed, 31 Jul 1996 19:47:00 +0200 (MET DST) From: Mark Habersack To: "Maan M. Hamze" cc: djgpp AT delorie DOT com Subject: Re: Help with DJGPP MSDOS Settings In-Reply-To: <01bb7eb8$0a7bfa40$54fb5380@maan-m.-hamze> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On 31 Jul 1996, Maan M. Hamze wrote: >Now, in DJGPP.ENV: >How do you set DJDIR: You should not mess with DJGPP.ENV (at least for now) - it's constructed in a way that allows it to work with almost no modifications in most cases (and yours seems to such one) If you could give a more detailed description of the problem - it would be easier to help. >Also; I need an example on how to set a path in DJGPP.ENV. The original >one has the UNIX slashes (/). >For example, is this correct: It should not matter for djgpp which slashes you use, but I'd recommend using UNIX ones. > >[cpp] >CPLUS_INCLUDE_PATH=e:\djgpp\lang\cxx;e:\djgpp\include;e:\djgpp\contrib\grx20 >\include >C_INCLUDE_PATH=e:\djgpp\include;e:\djgpp\contrib\grx20\include >OBJCPLUS_INCLUDE_PATH=e:\djgpp\include;e:\djgpp\lang\objc >OBJC_INCLUDE_PATH=e:\djgpp\include;e:\djgpp\lang\objc > >[gcc] >COMPILER_PATH=e:\djgpp\bin >LIBRARY_PATH=e:\djgpp\lib;e:\djgpp\contrib\grx20\lib > >And how do you exactly substitute the value of DJDIR in these settings. If you unpack DJGPP.ENV from the distribution zip you should've it set and there should be examples on how to substitute it. But, again, better do not modify anything in this file... > > >Finally; >When I compile an example, say example.cpp, it compiles fine. When I link >with: >gxx -o example.exe example.o >I get this: >e:\djgpp\bin/ld.exe : can't find crt0.o: no such directory or file. >Please note the mixed slashes above. Could you send a copy of DJGPP.ENV? We'll see. Or better, try to install DJGPP.ENV anew and do not modify anything - try to compile that program again. Greetings, Mark /*******************************/ /** So here I am once more... **************************************/ /** When you grown up and leave your playground, where you kissed **/ /** your Prince and found your Frog - remember the Jester that **/ /** showed you tears, a Script for Tears... ************************/ /*********************************************/