[patch #7727] Makefile: call `$(CPP) -x c` instead of `cpp`
Thruth Wang <[email protected]> Tue, 17 Apr 2012 15:31:22 +0000
| Newsgroups | gmane.network.mldonkey.user |
|---|---|
| Message-ID | <[email protected]> |
Follow-up Comment #2, patch #7727 (project mldonkey):
Unfortunately this patch breaks mldonkey from compiling on Mac OS X 10.7.3 +
Xcode 4.3.2.
$ make
sed: -o: No such file or directory
sed: src/utils/cdk/tar.ml: No such file or directory
i686-apple-darwin11-llvm-gcc-4.2: c: No such file or directory
i686-apple-darwin11-llvm-gcc-4.2: c: No such file or directory
i686-apple-darwin11-llvm-gcc-4.2: warning: '-x -x' after last input file has
no effect
i686-apple-darwin11-llvm-gcc-4.2: no input files
it seems more likely a bug in Mac's cpp, even though "-x c" is mentioned in
'man cpp' :
$ cpp -x c
i686-apple-darwin11-llvm-gcc-4.2: c: No such file or directory
i686-apple-darwin11-llvm-gcc-4.2: c: No such file or directory
i686-apple-darwin11-llvm-gcc-4.2: warning: '-x -x' after last input file has
no effect
i686-apple-darwin11-llvm-gcc-4.2: no input files
However without this patch mldonkey builds correctly on Mac. Would there be
any workarounds?
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/patch/?7727>
_______________________________________________
Message sent via/by Savannah
http://savannah.nongnu.org/