mldonkey-users
[Top][All Lists]
Advanced

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

[Mldonkey-users] [patch #7727] Makefile: call `$(CPP) -x c` instead of `


From: Thruth Wang
Subject: [Mldonkey-users] [patch #7727] Makefile: call `$(CPP) -x c` instead of `cpp`
Date: Tue, 17 Apr 2012 15:31:22 +0000
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_3) AppleWebKit/536.5 (KHTML, like Gecko) Chrome/19.0.1084.24 Safari/536.5

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/




reply via email to

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