Re: [Dev-C++] run gcc from command line
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: <or...@vp...> - 2004-02-12 18:52:23
|
Juan Antonio Navarro Perez wrote:
> 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).
>=20
> 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..
>=20
> does anyone has an idea??
gcc must have the following layout to find it's own stuff automatically:
<gcc-install>/
/bin - gcc.exe, etc.
/include/ - stdio.h, etc.
/c++/ - NO files
/3.2.3 - (<- OR similar) iostream, etc.
/ddk - ...
/GL - gl.h, etc.
/readline - readline.h, etc.
/sys - time.h, unistd.h, etc.
/lib - libstc++.a, etc.
/mingw32
/bin
/lib
/ldscripts
The downmost part (from /mingw32) is possibly not necessary, but I'm not=20
sure.
--
Greetings,
Bal=E1zs
|