The new Snow Leopard and build the cross compiler [solved]
Posted: Thu Sep 03, 2009 1:52 pm
Hi everyone..
i've installed the new snow leopard and now i'm trying to build the gcc cross compiler. I follow the tutorial in the wiki; I've compiled the GMP and MPFR library and they are ok.
Now I download the binutils-2.19 (that is the last release) and i tried to compile it, following the tutorial. While i use the command
it end with this code:
there's any solution to this error?
i've installed the new snow leopard and now i'm trying to build the gcc cross compiler. I follow the tutorial in the wiki; I've compiled the GMP and MPFR library and they are ok.
Now I download the binutils-2.19 (that is the last release) and i tried to compile it, following the tutorial. While i use the command
Code: Select all
make all
Code: Select all
gcc -DHAVE_CONFIG_H -I. -I../../binutils-2.19/binutils -I. -I. -I../../binutils-2.19/binutils -I../bfd -I../../binutils-2.19/binutils/../bfd -I../../binutils-2.19/binutils/../include -DLOCALEDIR="\"/usr/cross/share/locale\"" -Dbin_dummy_emulation=bin_vanilla_emulation -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -g -O2 -c ../../binutils-2.19/binutils/strings.c
cc1: warnings being treated as errors
../../binutils-2.19/binutils/strings.c: In function ‘strings_file’:
../../binutils-2.19/binutils/strings.c:407: warning: ‘stat64’ is deprecated (declared at /usr/include/sys/stat.h:465)
make[4]: *** [strings.o] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-binutils] Error 2
make: *** [all] Error 2