Paladin of the Pegasos
Posts: 1110 from 2013/5/24
From: Nederland
I'm currently trying to build the cross compiler suite on OSX 10.9 but it fails when try to build binutils. :/
I'm using gcc-4.9 not clang and i've modified Bigfoot's setup-cross-sdk.sh to use gnu-tar and a remove a couple other linux-isms that made the script fall over.
It now gets as far as trying to build binutils but fails at this point
Code:
creating Makefile
if [ -n "" ] && [ ! -d pic ]; then
mkdir pic;
else true; fi
touch stamp-picdir
echo "# !Automatically generated from ../../libiberty/functions.def"
"- DO NOT EDIT!" >needed2.awk
grep '^DEFVAR(' < ../../libiberty/functions.def
| sed -e '/DEFVAR/s|DEFVAR.([^,]*).*|/1/ { printf "#ifndef NEED_1\n#define NEED_1\n#endif\n" }|'
>>needed2.awk
grep '^DEFFUNC(' < ../../libiberty/functions.def
| sed -e '/DEFFUNC/s|DEFFUNC.([^,]*).*|/1/ { printf "#ifndef NEED_1\n#define NEED_1\n#endif\n" }|'
>>needed2.awk
gcc -c -m32 -O3 -I. -I../../libiberty/../include -I../../libiberty ../../libiberty/dummy.c 2>/dev/null
make[1]: *** [dummy.o] Error 1
make: *** [all-libiberty] Error 2
Any ideas? I'm tired and annoyed so i'm off to have a smoke now.
1.67GHz 15" PowerBook G4, 1GB RAM, 128MB Radeon 9700M Pro, 64GB SSD, MorphOS 3.15
2.7GHz DP G5, 4GB RAM, 512MB Radeon X1950 Pro, 500GB SSHD, MorphOS 3.9