|
From: Oscar F. <of...@wa...> - 2003-05-01 21:07:21
|
"Axel R." <ax...@fr...> writes: >> What is the output of ``type -a gcc''? > > sh-2.04$ gcc --version > gcc.exe: no input files > sh-2.04$ type -a gcc > gcc is /usr/bin/gcc > sh-2.04$ exit > exit > > C:\Documents and Settings\Axel584>gcc --version > gcc (GCC) 3.2 (mingw special 20020817-1) > Copyright (C) 2002 Free Software Foundation, Inc. > This is free software; see the source for copying conditions. There is NO > warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. > > > did I wrong install mingw ? The above shows that you didn't put mingw's "bin" directory on the path before the Cygwin ones. That also shows that your Cygwin installation is possibly broken. On Cygwin shell, do this: $ export PATH=/c/mingw/bin:$PATH $ gcc -v (Replace "/c/mingw/bin" with the correct path for your mingw installation) Now it should work. If it doesn't, cut & paste the commands you typed and its output as did on your previous message. It would be interesting to see the ouput of this commands as well: $ file /usr/bin/gcc $ ls -l /usr/bin/gcc > I've try (and success) compile a hello world file... > > but now, I wish compile a bigger project (with a "configure"/"make" procedure) > and it doesn't work when it try to get the version of gcc... :-( -- Oscar |