Open2x On Macosx


pcklee123

Member
Joined
Nov 14, 2003
Messages
403
I am trying to use open2x on macos
I have checked out the svn toolchain-new and ran the script open2x-gp2x-apps.sh . I have made sure that the filesystem is case sensitive.
Any suggestions anyone?
CODE

checking for /usr/libexec/gcc/i686-apple-darwin9/4.0.1/ld option to reload object files... -r
checking for BSD-compatible nm... nm
checking whether ln -s works... yes
checking how to recognise dependant libraries... file_magic Mach-O dynamically linked shared library
checking for object suffix... o
checking for executable suffix... rm: conftest.dSYM: is a directory
.dSYM
checking for ranlib... ranlib
checking for strip... strip
updating cache ./config.cache
loading cache ./config.cache within ltconfig
checking for objdir... .libs
checking for gcc option to produce PIC... -DPIC
checking if gcc PIC flag -DPIC works... rm: conftest.dSYM: is a directory
rm: conftest.dSYM: is a directory
yes
checking if gcc static flag -static works... rm: conftest.dSYM: is a directory
rm: conftest.dSYM: is a directory
no
finding the maximum length of command line arguments... 98305
checking if gcc supports -c -o file.o... yes
checking if gcc supports -fno-rtti -fno-exceptions ... rm: conftest.dSYM: is a directory
no
rm: conftest.dSYM: is a directory
checking whether the linker (/usr/libexec/gcc/i686-apple-darwin9/4.0.1/ld) supports shared libraries... no
checking how to hardcode library paths into programs... unsupported
checking whether stripping libraries is possible... no
checking dynamic linker characteristics... darwin9.1.0 dyld
checking command to parse nm output... rm: conftest.dSYM: is a directory
rm: conftest.dSYM: is a directory
rm: conftest.dSYM: is a directory
rm: conftest.dSYM: is a directory
ok
checking if libtool supports shared libraries... no
checking whether to build shared libraries... no
checking whether to build static libraries... yes
creating libtool
updating cache ./config.cache
loading cache ./config.cache
checking for gcc... (cached) gcc
checking whether the C compiler (gcc -g -O2 ) works... no
configure: error: installation or configuration problem: C compiler cannot create executables.
make: *** [configure-binutils] Error 1
Done - Please check the logs to see if your build was a sucess.
 
One of the problems is that it needs gmp.h and mpfr.h (I installed macports and copied from usr/local/include to /usr/include) and that seems to work.
2nd problem is rm: conftest.dSYM. conftest.dSYM is sometimes a directory and doesn't get removed on the mac by rm so gcc/ld cant output a file. Any suggestions?
 
replaced rm with a script that does rm -rf
Still doesnt work, It looks like gcc or ld creates a directory instead of a file sometimes and the script cant run the directory.
Any suggestions?
 
Back
Top