ok i found why: i was using llvm compiler, not vanilla gcc.
but we should make it work on llvm eventually, since Apple seems to be
dropping support of old gcc compilers:
http://stackoverflow.com/questions/8707367/using-gcc-not-llvm-gcc-with-mac-os-x-lion
--
Best regards,
Igor Stasenko.
Comment #13 on issue 66 by sean.p.d...@...: CMake should set up to
use gcc in Lion
http://code.google.com/p/cog/issues/detail?id=66
@esteban: does the VM compile in 10.8 (Mountain Lion)? I want to upgrade,
but need to still be able to compile the VM...
Updates:
Status: Accepted
Comment #11 on issue 66 by camillob...@...: CMake should set up to
use gcc in Lion
http://code.google.com/p/cog/issues/detail?id=66
It does not make sense to hardcode gcc in the CMake config.
You can simply set a ENV var (as mentioned in HOWTOBUILD).
Now the build fails under 10.8 since there is no more gcc-4.2. Removing the
hardcoded link makes the build succeed
Comment #12 on issue 66 by esteba...@...: CMake should set up to use
gcc in Lion
http://code.google.com/p/cog/issues/detail?id=66
that's old... I'm compiling with llvm without problems (since the stack
overflow fix).
Comment #15 on issue 66 by esteba...@...: CMake should set up to use
gcc in Lion
http://code.google.com/p/cog/issues/detail?id=66
the vm compiles with 10.8 and llvm out of the box (with latests cmakemaker
versions)...
the global sets shouldn't be a problem unless you forgot to install Command
Line Tools :)
Comment #17 on issue 66 by esteba...@...: CMake should set up to use
gcc in Lion
http://code.google.com/p/cog/issues/detail?id=66
yes you can
I can
you can
everybody can
if you install command line tools (from xcode) :)
Comment #18 on issue 66 by camillob...@...: CMake should set up to
use gcc in Lion
http://code.google.com/p/cog/issues/detail?id=66
Not with the image from Jenkins.
Also not with the image generator script in the gitorious repos.
Yes with the latest packages in VMMaker.
Comment #14 on issue 66 by camillob...@...: CMake should set up to
use gcc in Lion
http://code.google.com/p/cog/issues/detail?id=66
I still see a gcc path hardcoded when I download the latest vmmaker image:
CogFamilyCococaIOSConfig >>#setGlobalOptions:
and they still persist...
Comment #16 on issue 66 by camillob...@...: CMake should set up to
use gcc in Lion
http://code.google.com/p/cog/issues/detail?id=66
ok but then I cannot compile under 10.8 with the vm maker image provided on
Jenkins...
But then again, it does not make any sense to hardcode the compilers in the
VMMaker files, that is what you have the $CC env variable for..
Comment #20 on issue 66 by camillob...@...: CMake should set up to
use gcc in Lion
http://code.google.com/p/cog/issues/detail?id=66
I repeat:
- the configuration should simply not hardcode the path to the compilers
- you set the compiler in your bash environment if you want to...
... is as always the issue :)
> since Apple seems to be
> dropping support of old gcc compilers:
>
>
> http://stackoverflow.com/questions/8707367/using-gcc-not-llvm-gcc-with-mac-os-x-lion
>
> --
> Best regards,
> Igor Stasenko.
>
--
best,
Eliot
You can install XCode 4.2 side by side with 4.3 and 4.2 has gcc.
2012/6/4 Sean P. DeNigris <sean@...>
>
>
> EstebanLM wrote
> >
> > installed with macports?
> > that's probably your problem...
>
> I don't think so. At least it works in Xcode 4.2. Simple instructions on...