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: Bill Northcott
Subject: Re: WG: [Swarm-Support] Compiling swarm-2.1.148.20040122
Date: Tue, 23 Mar 2004 23:47:48 +1100

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



reply via email to

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