public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* gcc will not read its own makefile
@ 2011-05-31 13:27 RedSonja
  2011-05-31 13:28 ` Jonathan Wakely
  0 siblings, 1 reply; 8+ messages in thread
From: RedSonja @ 2011-05-31 13:27 UTC (permalink / raw)
  To: gcc-help


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.

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2011-06-01  9:22 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-05-31 13:27 gcc will not read its own makefile RedSonja
2011-05-31 13:28 ` Jonathan Wakely
2011-05-31 13:35   ` RedSonja
2011-05-31 13:51     ` Ian Lance Taylor
2011-05-31 14:37       ` Jonathan Wakely
2011-05-31 15:17       ` RedSonja
2011-05-31 22:28         ` Jonathan Wakely
     [not found]           ` <4DE56E62.2080101@aol.com>
2011-06-01  9:22             ` Kai Ruottu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).