Re: [Dev-C++] run gcc from command line
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Doug M. <dou...@al...> - 2004-02-12 17:28:31
|
This may not be helpful either but have you looked at the Tools->compiler options->directories menu item to see what the dev-c++ directories for header and library files are? It might help to add an explicit -I <path> command option for each header directory dev-c++ uses and a n explicit -L <path> command option for each library directory. Doug > Thanks for the quick reply, however this is not the problem, the path > is set correctly, gcc is found corractly when I try to compile from > any directory, but it does complain about not finind libraries and > includes.. > > another idea of how to tell gcc the include and lib paths?? > > thanks.. > > On Mon, 09 Feb 2004 20:29:48 -0500, Scott Simontis > <age...@co...> wrote: > >> Sometimes you have to make sure that in autoexec.bat there is a SET >> PATH to the compiler. I am not sure about the config files though, >> as I myself wonder this sometimes. If you want a good command line >> compiler, try checking out DJGPP. >> >> Juan Antonio Navarro Perez wrote: >> >>> >>> Hello, >>> >>> I know this question is not really about dev-cpp but the >>> compiler.. I remember that on previous versions of dev-cpp the >>> Mingw/GCC installed with it allowed me to compile from a command >>> line (dos window). >>> >>> However, last version of dev-cpp (including the updated compiler) >>> does not seem to allow this as transparent as it was in previous >>> versions.. when I try to compile from command line I get an >>> error complaining about libraries not found.. I guess I have to >>> write some config file and place it somewhere so that gcc can >>> find the paths for the libraries.. but don't know how to write >>> this config file or where to place it.. >>> >>> does anyone has an idea?? >>> >>> regards, >>> >>> juan antonio |