|
From: <jj...@dd...> - 2003-01-30 15:56:19
|
I apologize if this question is a FAQ, but I could not find any mention=
of it in
the mail archive.
I have downloaded and installed MinGW-2.0.0-3 and am trtying to use it =
on
Windows NT 4.0. I have cygwin b20 installed and when I invoke gcc from =
a bash
prompt with full path name, it has problems locating its specs-file, cc=
1, crt2.o
...:
jj@rshpc1(5)> /tools/gcc/mingw/bin/gcc -v -o hello hello.c
Using built-in specs.
Configured with: ../gcc/configure --with-gcc --with-gnu-ld --with-gnu-a=
s
--host=3Dmingw32 --target=3Dmingw32 --prefix=3D/mingw --enable-threads =
--disable-nls
--enable-languages=3Df77,c++,objc,ada --disable-win32-registry --disabl=
e-shared
Thread model: win32
gcc version 3.2 (mingw special 20020817-1)
cc1 -lang-c -v -iprefix /tools/gcc/mingw/bin/../lib/gcc-lib/mingw32/3.=
2/
-D__GNUC__=3D3 -D__GNUC_MINOR__=3D2 -D__GNUC_PATCHLEVEL__=3D0 -D__GXX_A=
BI_VERSION=3D102
-D_WIN32 -D__WIN32 -D__WIN32__ -DWIN32 -D__MINGW32__ -D__MSVCRT__ -DWIN=
NT
-D_X86_=3D1 -D_WIN32 -D__WIN32 -D__WIN32__ -D__WIN32__ -D__MINGW32__ -D=
__MSVCRT__
-D__WINNT__ -D_X86_=3D1 -D__WIN32 -D__WINNT -Asystem=3Dwinnt -D__NO_INL=
INE__
-D__STDC_HOSTED__=3D1 -Acpu=3Di386 -Amachine=3Di386 -Di386 -D__i386 -D_=
_i386__
-D__tune_i586__ -D__tune_pentium__ -D__stdcall=3D__attribute__((__stdca=
ll__))
-D__cdecl=3D__attribute__((__cdecl__)) -D__fastcall=3D__attribute__((__=
fastcall__))
-D_stdcall=3D__attribute__((__stdcall__)) -D_cdecl=3D__attribute__((__c=
decl__))
-D_fastcall=3D__attribute__((__fastcall__)) -D__declspec(x)=3D__attribu=
te__((x))
hello.c -quiet -dumpbase hello.c -version -o C:\TEMP/ccsiaaaa.s
gcc: installation problem, cannot exec `cc1': No such file or directory=
If I invoke it by short name, everything works:
jj@rshpc1(4)> gcc -v -o hello hello.c
Reading specs from t:/score/tools/gcc/mingw/bin/../lib/gcc-lib/mingw32/=
3.2/specs
Configured with: ../gcc/configure --with-gcc --with-gnu-ld --with-gnu-a=
s
--host=3Dmingw32 --target=3Dmingw32 --prefix=3D/mingw --enable-threads =
--disable-nls
--enable-languages=3Df77,c++,objc,ada --disable-win32-registry --disabl=
e-shared
Thread model: win32
gcc version 3.2 (mingw special 20020817-1)
t:\score\tools\gcc\mingw\bin\..\lib\gcc-lib\mingw32\3.2\cc1.exe -lang-=
c -v
-iprefix t:\score\tools\gcc\mingw\bin/../lib/gcc-lib/mingw32/3.2/ -D__G=
NUC__=3D3
-D__GNUC_MINOR__=3D2 -D__GNUC_PATCHLEVEL__=3D0 -D__GXX_ABI_VERSION=3D10=
2 -D_WIN32
-D__WIN32 -D__WIN32__ -DWIN32 -D__MINGW32__ -D__MSVCRT__ -DWINNT -D_X86=
_=3D1
-D_WIN32 -D__WIN32 -D__WIN32__ -D__WIN32__ -D__MINGW32__ -D__MSVCRT__
-D__WINNT__ -D_X86_=3D1 -D__WIN32 -D__WINNT -Asystem=3Dwinnt -D__NO_INL=
INE__
-D__STDC_HOSTED__=3D1 -Acpu=3Di386 -Amachine=3Di386 -Di386 -D__i386 -D_=
_i386__
-D__tune_i586__ -D__tune_pentium__ -D__stdcall=3D__attribute__((__stdca=
ll__))
-D__cdecl=3D__attribute__((__cdecl__)) -D__fastcall=3D__attribute__((__=
fastcall__))
-D_stdcall=3D__attribute__((__stdcall__)) -D_cdecl=3D__attribute__((__c=
decl__))
-D_fastcall=3D__attribute__((__fastcall__)) -D__declspec(x)=3D__attribu=
te__((x))
hello.c -quiet -dumpbase hello.c -version -o C:\TEMP/cc6eaaaa.s
GNU CPP version 3.2 (mingw special 20020817-1) (cpplib) (80386, BSD syn=
tax)
GNU C version 3.2 (mingw special 20020817-1) (mingw32)
compiled by GNU C version 3.2.
ignoring nonexistent directory "t:/score/tools/gcc/mingw/mingw32/includ=
e"
ignoring nonexistent directory
"/mingw/lib/gcc-lib/mingw32/3.2/../../../../include"
ignoring nonexistent directory "/mingw/include"
ignoring nonexistent directory "/mingw/lib/gcc-lib/mingw32/3.2/include"=
ignoring nonexistent directory
"/mingw/lib/gcc-lib/mingw32/3.2/../../../../mingw32/include"
ignoring nonexistent directory "/usr/local/mingw32/include"
#include "..." search starts here:
#include <...> search starts here:
t:/score/tools/gcc/mingw/include
t:/score/tools/gcc/mingw/lib/gcc-lib/mingw32/3.2/include
End of search list.
t:\score\tools\gcc\mingw\bin\..\lib\gcc-lib\mingw32\3.2\..\..\..\..\min=
gw32\bin\as.exe
-o C:\TEMP/cc2jaaaa.o C:\TEMP/cc6eaaaa.s
t:\score\tools\gcc\mingw\bin\..\lib\gcc-lib\mingw32\3.2\..\..\..\..\min=
gw32\bin\ld.exe
-Bdynamic -o hello.exe
t:/score/tools/gcc/mingw/bin/../lib/gcc-lib/mingw32/3.2/../../../crt2.o=
t:/score/tools/gcc/mingw/bin/../lib/gcc-lib/mingw32/3.2/crtbegin.o
-Lt:/score/tools/gcc/mingw/bin/../lib/gcc-lib/mingw32/3.2
-Lt:/score/tools/gcc/mingw/bin/../lib/gcc-lib
-Lt:/score/tools/gcc/mingw/bin/../lib/gcc-lib/mingw32/3.2/../../../../m=
ingw32/lib
-Lt:/score/tools/gcc/mingw/bin/../lib/gcc-lib/mingw32/3.2/../../..
C:\TEMP/cc2jaaaa.o -lmingw32 -lgcc -lmoldname -lmingwex -lmsvcrt -luser=
32
-lkernel32 -ladvapi32 -lshell32 -lmingw32 -lgcc -lmoldname -lmingwex -l=
msvcrt
t:/score/tools/gcc/mingw/bin/../lib/gcc-lib/mingw32/3.2/crtend.o
Is this a known problem and do anyone know a cure?
/Jesper J=F8rgensen
DDC-I
=
|