This is the mail archive of the crossgcc@cygnus.com mailing list for the crossgcc project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Hi, > I am trying to build cross egcs 1.0.3a under Cygwin32 for powerpc and I >have 3 problems: >1. All the time there are references to sys/types.h, stdio.h and etc.. >files which are absent. I overcome this by adding them from newlib >directories.\, but what is the cause of the error? You need to create a symbolic link to newlib in the EGCS directory and re-configure. In egcs-1.0.3a do "ln -s ../newlib-1.8.0/newlib newlib" then "ln -s ../newlib-1.8.0/libgloss libgloss" Configure with --with-newlib and egcs will be able to find the headers. >2. After this, the building process comes to building of F77 compiler >despite that I explicitly pointed LANGUAGES="c c++" in make invoke. I was >forced to manually clean all these references to f77 from make files. Delete the libf2c and gcc/f and gcc/objc directrories. They don't work cross-compiling. >3. Even after this, the building fails on absence of file gcc.info. At this >moment I gave up. I had strange problems when trying to build a PPC cross compiler for RTEMS. You need to upgrade from the stock Cygwin32 b19 compiler to Mumit Khan's EGCS 1.1 or 1.0.3 binaries(see Gnu-win32 site for URL). This is a _much_ more reliable compiler and allows the PowerPC compiler to build. Dave ________________________________________________ To get help for the crossgcc list, send mail to crossgcc-request@cygnus.com with the text 'help' (without the quotes) in the body of the message.