This is the mail archive of the mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

crosstool build on Mac OS 10.5.5

Has anyone had any luck building a toolchain with crosstool on Mac OS lately?

I'm trying to build a PowerPC toolchain with GCC 4.1.1 and GLIBC 2.5. I set up GNU versions of sed, awk, install and wget from MacPorts as suggested in the how-tool (and also the version-spoofing scripts for as and ld).

I also found I needed readelf, which wasn't mentioned, so I added it as well.

The build gets pretty far along and seems to successfully build the compiler, but dies trying to link glibc with:

powerpc-603-linux-gnu-gcc -nostdlib -nostartfiles -shared -o /Users/keathmilligan/work/crosstool/crosstool-0.43/build/powerpc-603-linux-gnu/gcc-4.1.1-glibc-2.5/build-glibc/elf/ \
-Wl,-z,combreloc -Wl,-z,relro -Wl,-z,defs \

/Users/keathmilligan/work/crosstool/crosstool-0.43/build/powerpc-603-linux-gnu/gcc-4.1.1-glibc-2.5/build-glibc/elf/librtld.os -Wl,--version-script=/Users/keathmilligan/work/crosstool/crosstool-0.43/build/powerpc-603-linux-gnu/gcc-4.1.1-glibc-2.5/build-glibc/ \
-Wl, -T /Users/keathmilligan/work/crosstool/crosstool-0.43/build/powerpc-603-linux-gnu/gcc-4.1.1-glibc-2.5/build-glibc/elf/
/Users/keathmilligan/work/crosstool/crosstool-0.43/build/powerpc-603-linux-gnu/gcc-4.1.1-glibc-2.5/build-glibc/elf/librtld.os: In function `process_envvars':
rtld.c:(.text+0x13bc): undefined reference to `__access'
rtld.c:(.text+0x1484): undefined reference to `__open'
/Users/keathmilligan/work/crosstool/crosstool-0.43/build/powerpc-603-linux-gnu/gcc-4.1.1-glibc-2.5/build-glibc/elf/librtld.os: In function `dl_main':

The same build works under Linux and Cygwin.

For unsubscribe information see

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]