This is the mail archive of the crossgcc@sourceware.org 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]

Cross-compile GCC to alpha architecture


Hi all,

I'd like to cross-compile GCC 4.1.x on my i686 computer to produce alpha code.
I've already cross-compiled binutils with success. But I have some problems to cross-compile GCC.
Here is my configure script:
########################################################################################
../configure
--target=alpha-linux
--prefix=/opt/crossgcc
--with-local-prefix=/opt/crossgcc/alpha-linux
--with-gnu-as
--with-gnu-ld
--disable-shared
--disable-thread
########################################################################################


And I've these errors after doing during the compilation "make all-gcc":
########################################################################################
In file included from ../../gcc-4.1.0_src/gcc-4.1.0-20060106/gcc/unwind-dw2.c:256:
../../gcc-4.1.0_src/gcc-4.1.0-20060106/gcc/config/alpha/linux-unwind.h:32:20: error: signal.h: No such file or directory
../../gcc-4.1.0_src/gcc-4.1.0-20060106/gcc/config/alpha/linux-unwind.h:33:26: error: sys/ucontext.h: No such file or directory
In file included from ../../gcc-4.1.0_src/gcc-4.1.0-20060106/gcc/unwind-dw2.c:256:
../../gcc-4.1.0_src/gcc-4.1.0-20060106/gcc/config/alpha/linux-unwind.h: In function ‘alpha_fallback_frame_state’:
../../gcc-4.1.0_src/gcc-4.1.0-20060106/gcc/config/alpha/linux-unwind.h:55: error: field ‘info’ has incomplete type
../../gcc-4.1.0_src/gcc-4.1.0-20060106/gcc/config/alpha/linux-unwind.h:56: error: field ‘uc’ has incomplete type
../../gcc-4.1.0_src/gcc-4.1.0-20060106/gcc/config/alpha/linux-unwind.h:62: error: dereferencing pointer to incomplete type
../../gcc-4.1.0_src/gcc-4.1.0-20060106/gcc/config/alpha/linux-unwind.h:70: error: dereferencing pointer to incomplete type
../../gcc-4.1.0_src/gcc-4.1.0-20060106/gcc/config/alpha/linux-unwind.h:76: error: dereferencing pointer to incomplete type
../../gcc-4.1.0_src/gcc-4.1.0-20060106/gcc/config/alpha/linux-unwind.h:79: error: dereferencing pointer to incomplete type
make[2]: *** [libgcc/./unwind-dw2.o] Error 1
make[2]: Leaving directory `/opt/gcc/gcc-4.1.0_cross2alpha/gcc'
make[1]: *** [libgcc.a] Error 2
make[1]: Leaving directory `/opt/gcc/gcc-4.1.0_cross2alpha/gcc'
make: *** [all-gcc] Error 2
########################################################################################



Does anyone have any clues or information about these problems? Thanks T.B.

------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.org


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