Date: Sun, 21 Jun 1998 14:11:07 +0300 (IDT) From: Eli Zaretskii To: Alberto Chessa cc: djgpp AT delorie DOT com Subject: Re: How/Where new libraries? In-Reply-To: <01bd99be$c88f1c60$92c809c0@chessa> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk On 17 Jun 1998, Alberto Chessa wrote: > gxx -I -L -l .... > (note: uppuer case i for include path) > or edit DJGPP.env and add them there ^^^^^^^^^^^^^^ No, please do NOT edit DJGPP.ENV! Its syntax is cryptic, and without a very good knowledge of how things are set up in DJGPP, you will do more damage than you can imagine. Things will just stop working for you, and you won't know why. If you need to add directories to your library path, just set LIBRARY_PATH in the environment, like this: set LIBRARY_PATH=c:/mylib You don't need to mention the standard DJGPP lib subdirectory: DJGPP.ENV is set up in a way that whatever you put in the envoronment will be *prepended* to the standard directories. Just add the above line to AUTOEXEC.BAT (if it should be permanent) and reboot, that's it! Everybody, please try to avoid telling people to edit their DJGPP.ENV, even if you personally think it's easy (it isn't). Too many newbies were tempted to do it, and then were badly burned by that. It is not needed in 99% of the cases, like the example above shows.