Hi Tobias, 

from the command gcc -v i get the following output:


Code:
Using built-in specs.
Target: i686-apple-darwin11
Configured with: /private/var/tmp/llvmgcc42/llvmgcc42-2336.9~22/src/configure 
--disable-checking --enable-werror 
--prefix=/Applications/Xcode.app/Contents/Developer/usr/llvm-gcc-4.2 
--mandir=/share/man --enable-languages=c,objc,c++,obj-c++ 
--program-prefix=llvm- --program-transform-name=/^[cg][^.-]*$/s/$/-4.2/ 
--with-slibdir=/usr/lib --build=i686-apple-darwin11 
--enable-llvm=/private/var/tmp/llvmgcc42/llvmgcc42-2336.9~22/dst-llvmCore/Developer/usr/local
 --program-prefix=i686-apple-darwin11- --host=x86_64-apple-darwin11 
--target=i686-apple-darwin11 --with-gxx-include-dir=/usr/include/c++/4.2.1
Thread model: posix
gcc version 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.9.00)




If you are using your own compiled version of GCC you must build it with 
Objective-C support (i don't know how to do that but I know you need it because 
I tried to build it using gcc 4.5 and it stopped with an error that type, I 
suppose you could get more information form gcc's page).


> I need to do some more tests and investigation to work out why my simple test 
> program now works, but my actual application does not (although it still does 
> work when building with llvm-gcc-4.2) 


Execute otool -L <executable_name> in order to get the shared libraries 
dependencies of your program and where it expects to find them. You have more 
information in the man page of dyld (the dynamic library loader of mac os x).

Cheers,
Manuel

------------------------
See you, Manuel.

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=48874#48874





_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to