Original Post
I am having some difficulties compiling Angelscript on OS X 10.4.7 w/ Xcode 2.4 If I compile using the GNUC makefile it does build, however it doesn't build a PIC library (Position Indipendant Code) which is required in order to link angelscript to another library. So I can not link angelscript w/ the game engine library I am porting. ../dependencies/lib/macosx/libangelscript.a(as_callfunc_ppc.o) has local relocation entries in non-writable section (__TEXT,__text) However, if I load up the XCode project ALL files compile except for one.. the as_callfunc_ppc.cpp (ie.. the most important one IMHO). I do not receive a line number for the error just an error message of: {standard input}:unknown:missing indirect symbols for section (__TEXT,__picsymbolstub1__TEXT) The gcc commandline arguments are as follows /usr/bin/gcc-4.0 -x c++ -arch ppc -pipe -Wno-trigraphs -fpascal-strings -O0 -Wreturn-type -Wunused-variable -fmessage-length=0 -mtune=G5 -mmacosx-version-min=10.4 -I/Users/urkle/Projects/penumbra/angelscript-2.7.0/angelscript/projects/xcode/build/angelscript.build/Release/as.build/as.hmap -F/Users/urkle/Projects/penumbra/angelscript-2.7.0/angelscript/projects/xcode/build/Release -I/usr/include -I/Users/urkle/Projects/penumbra/angelscript-2.7.0/angelscript/projects/xcode/build/Release/include -I/Users/urkle/Projects/penumbra/angelscript-2.7.0/angelscript/projects/xcode/build/angelscript.build/Release/as.build/DerivedSources -isysroot /Developer/SDKs/MacOSX10.4u.sdk -c /Users/urkle/Projects/penumbra/angelscript-2.7.0/angelscript/projects/xcode/../../source/as_callfunc_ppc.cpp -o /Users/urkle/Projects/penumbra/angelscript-2.7.0/angelscript/projects/xcode/build/angelscript.build/Release/as.build/Objects-normal/ppc/as_callfunc_ppc.o http://www.gamedev.net/community/forums/topic.asp?topic_id=395625 [Edited by - urkle on September 25, 2006 11:39:22 PM]