Help on cross compiler for HPPA-Linux

Wei Qin wqin@EE.Princeton.EDU
Mon Feb 25 19:46:00 GMT 2002


I am trying to build a cross compiler for the HPPA-Linux target on a x86
linux box. I build binutils for the target successfully. But I have
trouble building gcc. Please help. The error message is

In file included from /u/wqin/hppa/src/gcc-3.0.4/gcc/print-rtl.c:28:
/u/wqin/hppa/src/gcc-3.0.4/gcc/hard-reg-set.h:395: `FIRST_PSEUDO_REGISTER'
undeclared here (not in a function)
....<a lot more similar messages for the same file>

My configuration command is
~/hppa/src/gcc-3.0.4/configure --prefix=/u/wqin/hppa/parisc
--target=hppa-linux --enable-shared --disable-nls --enable-languages=c

thanks in advance,

Wei




More information about the Gcc-help mailing list