Re: Linking with -R (rpath) not supported on Darwin
- From
Brian Gernhardt <benji@silverinsanity.com>
- Date
- Oct 3, 2007, 22:39 UTC
- Message-ID
- <ECAD7CED-FFA0-46F2-8094-2FDE47CB5D54@silverinsanity.com>
- In-Reply-To
- <4D954ADB-E66E-43CA-87EE-7522FFA87370@lrde.epita.fr>
On Oct 3, 2007, at 5:34 PM, Benoit SIGOURE wrote:
Show 8 quoted lines
> Hello, > I've just compiled HEAD (1.5.3.4.209.g9e417) and saw a: > LINK git-http-fetch > i686-apple-darwin8-gcc-4.0.1: unrecognized option '-R/opt/local/lib' > > It didn't harm but the build process should be more careful to not > use options that are not supported by the compiler. And it's not a > matter of using -Wl,-rpath instead.
I compile git very regularly on my MacBook Pro and have never seen this error. Do you have the most recent copy of Xcode? I've seen odd errors on one of the not very old versions of the developer's tools. For me, `gcc -v` reports "gcc version 4.0.1 (Apple Computer, Inc. build 5367)".
~~ Brian