Re: [MacPorts] UsingTheRightCompiler modified

2013-07-16 Thread Lawrence Velázquez
On Jul 17, 2013, at 2:09 AM, Ryan Schmidt wrote: > Provided by system? Isn't it provided by Xcode? > > On Mountain Lion, /usr/bin/gcc is not GCC. It is a symlink to llvm-gcc-4.2. > It varies by Xcode version. As does /usr/bin/cc, which on Mountain Lion is a > symlink to clang. I basically wen

Re: [MacPorts] UsingTheRightCompiler modified

2013-07-16 Thread Ryan Schmidt
On Jul 17, 2013, at 01:04, MacPorts wrote: > Page "UsingTheRightCompiler" was changed by lar...@macports.org > Diff URL: > <https://trac.macports.org/wiki/UsingTheRightCompiler?action=diff&version=20> > Revision 20 > Comment: create table of compile

Re: UsingTheRightCompiler

2011-11-14 Thread Matthew Cottrell
Yes, '-x c-header' is exactly what was needed. Precompiler problem now solved. I'll be revising the ticket to upgrade ARB to 5.3 shortly with this and a couple of other fixes. On Nov 14, 2011, at 7:48 AM, Joshua Root wrote: > You might need to use '-x c-header' as well because the input fi

Re: UsingTheRightCompiler

2011-11-14 Thread Joshua Root
You might need to use '-x c-header' as well because the input file doesn't have the usual suffix. I'd guess it's parsing '.source' as '.so' which makes it treat it as a linker input. - Josh On 2011-11-14 23:36 , Matthew Cottrell wrote: Still no luck with the preprocessor problem. Using clang

Re: UsingTheRightCompiler

2011-11-14 Thread Titus von Boxberg
clang seems to expect a proper file name extension. what is .source, anyway? Regards Titus Am 14.11.2011 um 13:36 schrieb Matthew Cottrell: > Still no luck with the preprocessor problem. Using clang -E still returns an > error: > > :info:build clang -E -IMENUS ARB_GDEmenus.source >ARB_GDEmen

Re: UsingTheRightCompiler

2011-11-14 Thread Matthew Cottrell
Still no luck with the preprocessor problem. Using clang -E still returns an error: :info:build clang -E -IMENUS ARB_GDEmenus.source >ARB_GDEmenus :info:build clang: warning: ARB_GDEmenus.source: 'linker' input unused when '-E' is present :info:build clang: warning: argument unused during compi

Re: UsingTheRightCompiler

2011-11-13 Thread Joshua Root
You don't appear to actually be using clang in the output you quoted, but rather 'cc', which is linked to llvm-gcc-4.2 on your system. I don't know if clang -E would behave significantly differently, but it's well worth checking. - Josh On 2011-11-14 13:19 , Matthew Cottrell wrote: Using "$(

Re: UsingTheRightCompiler

2011-11-13 Thread Matthew Cottrell
Using "$(CC) -E" did not succeed because it left an input file unused. :info:build cc -E -IMENUS ARB_GDEmenus.source >ARB_GDEmenus :info:build i686-apple-darwin11-llvm-gcc-4.2: ARB_GDEmenus.source: linker input file unused because linking not done Would it be too brittle to simply use /usr/bin/c

Re: UsingTheRightCompiler

2011-11-13 Thread Ryan Schmidt
On Nov 13, 2011, at 19:27, Matthew Cottrell wrote: > I'm trying to use the right compiler, but ${configure.cpp} is empty on my > system. How do I satisfy a port that needs cpp? > > I do have the other stuff > > ${configure.cc}=/Developer/usr/bin/clang > ${configure.cxx}=/Developer/usr/bin/cla

UsingTheRightCompiler

2011-11-13 Thread Matthew Cottrell
I'm trying to use the right compiler, but ${configure.cpp} is empty on my system. How do I satisfy a port that needs cpp? I do have the other stuff ${configure.cc}=/Developer/usr/bin/clang ${configure.cxx}=/Developer/usr/bin/clang++ -- Matthew Cottrell Lewes, DE 19958 http://www.mattcottrell.