help me regarding GCC Cross compilers
canbaby
canbaby@21cn.com
Fri Jul 30 00:50:00 GMT 2004
vijayanand hongal wrote:
>hi
>
>i need help on GCC cross compiler
>
>the details are
>
>cross compiler is configured with following parameters
>
>
>***********************************************************
> host=i686-pc-linux-gnu
>
> /root/changegcc/gcc-3.3.4/gconfiure
>--prefix=/root/iagcc --enable-langauges=c
>--program-prefix=ia- target=ia64-unknown-linux-gnu
>
>now it is configured but when i try for build i get
>the error as
>
>the few pages are as given below
>
>.....................................
>
>
>FPBIT_FUNCS='_pack_sf _unpack_sf _addsub_sf _mul_sf
>_div_sf _fpcmp_parts_sf _compare_sf _eq_sf _ne_sf
>_gt_sf _ge_sf _lt_sf _le_sf _unord_sf _si_to_sf
>_sf_to_si
>_negate_sf _make_sf _sf_to_df _sf_to_tf _thenan_sf
>_sf_to_usi _usi_to_sf' \
>LIB2_DIVMOD_FUNCS='_divdi3 _moddi3 _udivdi3 _umoddi3
>_udiv_w_sdiv _udivmoddi4' \DPBIT='' \
>DPBIT_FUNCS='_pack_df _unpack_df _addsub_df _mul_df
>_div_df _fpcmp_parts_df _compare_df _eq_df _ne_df
>_gt_df _ge_df _lt_df _le_df _unord_df _si_to_df
>_df_to_si
>_negate_df _make_df _df_to_sf _df_to_tf _thenan_df
>_df_to_usi _usi_to_df' \
>TPBIT='' \
>TPBIT_FUNCS='_pack_tf _unpack_tf _addsub_tf _mul_tf
>_div_tf _fpcmp_parts_tf _compare_tf _eq_tf _ne_tf
>_gt_tf _ge_tf _lt_tf _le_tf _unord_tf _si_to_tf
>_tf_to_si
>_negate_tf _make_tf _tf_to_df _tf_to_sf _thenan_tf
>_tf_to_usi _usi_to_tf' \
>MULTILIBS=`/root/vijay/gccobj/gcc/xgcc
>-B/root/vijay/gccobj/gcc/
>-B/root/iagcc/ia64-unknown-linux-gnu/bin/
>-B/root/iagcc/ia64-unknown-linux-gnu/lib/ -isystem
>/root/iagcc/ia64-unknown-linux-gnu/include
>--print-multi-lib` \
>EXTRA_MULTILIB_PARTS='' \
>SHLIB_LINK='/root/vijay/gccobj/gcc/xgcc
>-B/root/vijay/gccobj/gcc/
>-B/root/iagcc/ia64-unknown-linux-gnu/bin/
>-B/root/iagcc/ia64-unknown-linux-gnu/lib/ -isystem
>/root/iagcc/ia64-unknown-linux-gnu/include -O2
>-DIN_GCC -DCROSS_COMPILE -W -Wall -Wwrite-strings
>-Wstrict-prototypes -Wmissing-prototypes -isystem
>./include
>-fPIC -g -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2
>-D__GCC_FLOAT_NOT_NEEDED -Dinhibit_libc -shared
>-nodefaultlibs -Wl,--soname=@shlib_so_name@.so.1
>-Wl,--version-script=@shlib_map_file@ -o
>@shlib_dir@@shlib_so_name@.so.1 @multilib_flags@
>@shlib_objs@ -lc && rm -f @shlib_base_name@.so && ln
>-s @shlib_dir@@shlib_so_name@.so.1
>@shlib_base_name@.so' \
>SHLIB_INSTALL='$(SHELL) $(srcdir)/mkinstalldirs
>$(DESTDIR)$(slibdir)@shlib_slibdir_qual@; /bin/sh
>/root/changegcc/gcc-3.3.4/install-sh -c -m 644
>@shlib_dir@@shlib_so_name@.so.1
>$(DESTDIR)$(slibdir)@shlib_slibdir_qual@/@shlib_so_name@.so.1;
>rm -f
>$(DESTDIR)$(slibdir)@shlib_slibdir_qual@/@shlib_base_name@.so;
>ln -s @shlib_so_name@.so.1
>$(DESTDIR)$(slibdir)@shlib_slibdir_qual@/@shlib_base_name@.so'
>\SHLIB_EXT='.so' \
>SHLIB_MULTILIB='' \
>SHLIB_MKMAP='/root/changegcc/gcc-3.3.4/gcc/mkmap-symver.awk'
>\
>SHLIB_MKMAP_OPTS='' \
>SHLIB_MAPFILES='/root/changegcc/gcc-3.3.4/gcc/libgcc-std.ver
>/root/changegcc/gcc-3.3.4/gcc/config/libgcc-glibc.ver
>/root/changegcc/gcc-3.3.4/gcc/config/ia64/libgcc-ia64.ver'
>\
>SHLIB_NM_FLAGS='-pg' \
>MULTILIB_OSDIRNAMES='' \
>mkinstalldirs='/bin/sh
>/root/changegcc/gcc-3.3.4/gcc/mkinstalldirs' \
> /bin/sh mklibgcc > tmp-libgcc.mk
>mv tmp-libgcc.mk libgcc.mk
>TM_DEFINES="" \
>HEADERS="ansidecl.h ia64/ia64.h dbxelf.h elfos.h
>svr4.h linux.h ia64/sysv4.h ia64/linux.h defaults.h"
>XM_DEFINES="POSIX" \
>TARGET_CPU_DEFAULT="" \
>/bin/sh /root/changegcc/gcc-3.3.4/gcc/mkconfig.sh
>tconfig.h
>/root/vijay/gccobj/gcc/xgcc -B/root/vijay/gccobj/gcc/
>-B/root/iagcc/ia64-unknown-linux-gnu/bin/
>-B/root/iagcc/ia64-unknown-linux-gnu/lib/ -isystem
>/root/iagcc/ia64-unknown-linux-gnu/include -I. -c -o
>crtbegin.o -x assembler-with-cpp \
>
>/root/changegcc/gcc-3.3.4/gcc/config/ia64/crtbegin.asm
>as: unrecognized option `-x'
>make[1]: *** [crtbegin.o] Error 1
>make[1]: Leaving directory `/root/vijay/gccobj/gcc'
>make: *** [all-gcc] Error 2
>
>
>*************************************************************
>the last few pages
>
>thanks in advance
>
>
>__________________________________________________
>Do You Yahoo!?
>Tired of spam? Yahoo! Mail has the best spam protection around
>http://mail.yahoo.com
>
>
>
>
The error message is same, but my GCC was target for ARM.
so I also want help, like you.
More information about the Gcc-help
mailing list