swarm-support
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: WG: [Swarm-Support] Compiling swarm-2.1.148.20040122


From: Giovanni Maniscalco Basile
Subject: Re: WG: [Swarm-Support] Compiling swarm-2.1.148.20040122
Date: Tue, 23 Mar 2004 16:34:37 +0100

Dear Bill,

I renamed the gcc in /usr/local/bin, but the error doesn't change.

The two gccs belonged to the same version: 3.3.1.

Now what? I attach the new config.log and Makefile.

Thanks

Gianni

Il mar, 2004-03-23 alle 13:47, Bill Northcott ha scritto:
Thanks to Giovanni for sending the files. (config.log and Makefile)

The proximate cause of the problem is that in the Makefile  OBJC="".

I think the underlying cause is that he has two copies of gcc installed 
with the same file name for the compiler driver.

The configure script finds /usr/bin/gcc which definitely includes the 
Objective-C compiler.  However because /usr/local/bin comes before 
/usr/bin in his PATH, an invocation of gcc by make actually invokes the 
other compiler from /usr/local/bin/gcc.

I think the solution is either:
1.  Remove one of the compilers.  So the configuration mechanism does 
not get confused about which one it is using.
2.  Rename one of the compilers - ie make /usr/local/bin gcc into 
/usr/local/bin/gcc-3.3.  That way it cannot be confused with 
/usr/bin/gcc.   The best way to achieve the second solution is to 
recompile the second compiler using the configure option to set the 
suffix for all the executables.

Bill Northcott

_______________________________________________
Support mailing list
address@hidden
http://www.swarm.org/mailman/listinfo/support

Attachment: config.log
Description: Text document

Attachment: Makefile
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]