This is the mail archive of the crossgcc@cygnus.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more infromation.


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

problem building a cross gcc 2.95 for arm-linux target


Hello,

I'm trying to build gcc-2.95 on a Linux host for an ARM7 cross compiler and
have so far been unsuccessful.

Host: Linux i586 (RedHat 6.0 dist)
Target: arm-linux

* Patched, built and installed binutils for arm-linux v2.9.1.0.19a
* Patched and installed arm-linux kernel v2.2.10
* Downloaded gcc-2.95.  Patched with gcc-2.95-diff-990730
* Run configure with "--target=arm-linux 
                      --prefix=/usr/local/arm-linux
                      --with-headers=/usr/local/arm-linux/linux/include"

* Run make with "make cross"
  (also tried "make all" and "make LANGUAGES="c" on suggestions with same
results)

* Build fails with:
"/usr/local/src/gcc-2.95/gcc/libgcc2.c:41:stdlib.h:No such file or
directory"
"/usr/local/src/gcc-2.95/gcc/libgcc2.c:41:unistd.h:No such file or
directory"

Does anyone have any ideas on what I'm doing wrong?  Didn't get much help
from the folks over on the arm-linux list.  Any help here will be greatly
appreciated.

Thanks,

Randall Sears

_______________________________________________
New CrossGCC FAQ: http://www.objsw.com/CrossGCC
_______________________________________________
To remove yourself from the crossgcc list, send
mail to crossgcc-request@cygnus.com with the
text 'unsubscribe' (without the quotes) in the
body of the message.

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