Hello. I am porting a big C++ project from Windows to Solaris 9 with Eclipse and gnu. It can make its own makefile but then it says: gcc -f /export/home/MyPath/Debug/makefile -v Using built-in specs. Target: sparc-sun-solaris2.10 Configured with: /_support/develop_tools/Sol10_gcc/gcc-4.2.4/configure --prefix=/usr/local/gcc4.2.4 --with-as=/usr/ccs/bin/as --with-ld=/usr/ccs/bin/ld --enable-shared --enable-languages=c,c++ Thread model: posix gcc version 4.2.4 /usr/local/gcc4.2.4/libexec/gcc/sparc-sun-solaris2.10/4.2.4/collect2 -V -Y P,/usr/ccs/lib:/usr/lib -Qy /usr/local/gcc4.2.4/lib/gcc/sparc-sun-solaris2.10/4.2.4/crt1.o /usr/local/gcc4.2.4/lib/gcc/sparc-sun-solaris2.10/4.2.4/crti.o /usr/ccs/lib/values-Xa.o /usr/local/gcc4.2.4/lib/gcc/sparc-sun-solaris2.10/4.2.4/crtbegin.o -L/usr/local/gcc4.2.4/lib/gcc/sparc-sun-solaris2.10/4.2.4 -L/usr/ccs/lib -L/usr/local/gcc4.2.4/lib/gcc/sparc-sun-solaris2.10/4.2.4/../../.. /export/home/riedhamm/work/obms/Core/Debug/makefile -lgcc -lgcc_eh -lc -lgcc -lgcc_eh -lc /usr/local/gcc4.2.4/lib/gcc/sparc-sun-solaris2.10/4.2.4/crtend.o /usr/local/gcc4.2.4/lib/gcc/sparc-sun-solaris2.10/4.2.4/crtn.o ld: Software Generation Utilities - Solaris Link Editors: 5.9-1.393 ld: fatal: file /export/home/MyPath/Debug/makefile: unknown file type ld: fatal: File processing errors. No output written to a.out collect2: ld returned 1 exit status So can anybody see what I am doing wrong? I haven't done Unix for about 10 years. Maybe the versions don't agree? -- View this message in context: http://old.nabble.com/gcc-will-not-read-its-own-makefile-tp31740323p31740323.html Sent from the gcc - Help mailing list archive at Nabble.com.