Building toolchain in windows failed at gcc-4.2-iphone

Discussion in 'iOS Development' started by rajesh_battala, Oct 10, 2009.

  1. rajesh_battala

    rajesh_battala New Member

    Jul 1, 2009
    Likes Received:
    2G iPod touch
    i have instructions
    install all the packges in cygwin.
    did all
    got failed

    /home/toolchain/bld/gcc-4.2-iphone/./gcc/xgcc -B/home/toolchain/bld/gcc-4.2-iphone/./gcc/ -B/usr/local/arm-apple-darwin9/bin/ -B/usr/local/arm-apple-darwin9/lib/ -isystem /usr/local/arm-apple-darwin9/include -isystem /usr/local/arm-apple-darwin9/sys-include -O2 -O2 -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -isystem ./include -fno-inline -march=armv6k -g -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -I. -I. -I/home/toolchain/src/gcc/gcc -I/home/toolchain/src/gcc/gcc/. -I/home/toolchain/src/gcc/gcc/../include -I/home/toolchain/src/gcc/gcc/../libcpp/include -I/home/toolchain/src/gcc/gcc/../libdecnumber -I../libdecnumber -static -fno-pic -DL_udivsi3 -xassembler-with-cpp -c /home/toolchain/src/gcc/gcc/config/arm/lib1funcs.asm -include libgcc/static/_udivsi3.vis -o libgcc/static/_udivsi3.o
    ld: in /usr/local/sys/usr/lib/libc.dylib, file too small
    collect2: ld returned 1 exit status
    make[3]: *** [libgcc_s.dylib] Error 1
    make[3]: *** Waiting for unfinished jobs....
    make[3]: Leaving directory `/home/toolchain/bld/gcc-4.2-iphone/gcc'
    make[2]: *** [stmp-multilib] Error 2
    make[2]: Leaving directory `/home/toolchain/bld/gcc-4.2-iphone/gcc'
    make[1]: *** [all-gcc] Error 2
    make[1]: Leaving directory `/home/toolchain/bld/gcc-4.2-iphone'
    make: *** [all] Error 2

    i did googling about the error didnt find any clue how to solve the issue. can you plz tell me how to process to solve this issue.
    am attaching the make.log file.


Share This Page