On Oct 4, 2007, at 12:39 AM, Brian Gernhardt wrote:
On Oct 3, 2007, at 5:34 PM, Benoit SIGOURE wrote: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
$ gcc -v [...] gcc version 4.0.1 (Apple Computer, Inc. build 5367)I've seen this message for the 1st time when compiling Git after my nightly git pull today. Anyways, this should be done because there is no point in trying to use a feature that doesn't exist, even though GCC is being nice by simply issuing a warning instead of an error.
See:http://developer.apple.com/releasenotes/DeveloperTools/RN-dyld/ index.html
In the section "Known Issues" it clearly states "No rpath support". Cheers, -- Benoit Sigoure aka Tsuna EPITA Research and Development Laboratory
Attachment:
PGP.sig
Description: This is a digitally signed message part