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

cross gcc for pc windos x86 as host and powerpc as target




Hi,

I am trying to build gcc-2.95.2 for  pcx86 as host and powerpc-ibm as target
board.
the target board will be running PSOS.

- I downloaded the latest code
- I am using bash-2.02 as shell.
- Configured with target as powerpc-ibm-eabi.
my exact configuration command is :>
CONFIG_SHELL=bash bash configure --target=ppc-ibm-eabi --with-newlib -v

Configuration comples with out any problems.

- I have copied some target specific include files to the
/usr/local/ppc-ibm-eabi/include directory.

Make command fails after long time while compiling fnmatch.c in
/gcc-2.95.2/libiberty/ directory.
The error generated is.
../../../gcc-2.95.2/libiberty/fnmatch.c:63 parse error before 'int'
make[1]: *** [fnmatch.o] Error 1
make:  *** [all-target-libiberty] Error 2

Here if i goto line 63 of fnmatch.c its a "extern int errno; " statement.
How could there be parse error for extern ???

Help me out,  i am  trying badly to make this gcc work !!!!!!!!!!!


Thanks
Sudhanshu










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


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