On 8/11/09 11:27 AM, ML said:

>OK, here is what I have done now:
>
>  *SNIP*

Your error messages reference an FSCopyObject.c which we have not seen. 
Can you repro your problem with a simple test.c that merely #inclues
Carbon/Carbon.h ?

>Which says for gcc to compile
>
>in 32-bit: gcc -m32 -o output32 hello.c
>in 64-bit: gcc -m64 -o output64 hello.c
>
>8. My question is now what can I set in my initial cache to tell gcc  
>to set 32-bit by default? Or if i can't do this in initial cache, how  
>do I solve it?  Am I on the right track with this logic?

With Apple's gcc fork (ie the one from Xcode) you shouldn't use -m32 -
m64, rather it is the -arch command that is needed.

-- 
____________________________________________________________
Sean McBride, B. Eng                 s...@rogue-research.com
Rogue Research                        www.rogue-research.com 
Mac Software Developer              Montréal, Québec, Canada


_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to