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]

GCC as a cross-compiler to WIN32


When i read the FAQ at chapter 3. "
-- 3. How to configure, build, and install GCC as a cross-compiler"

It says :
=====================================================
Suppose
- you've unpacked all the sources into /home/foo,
- you want to build a sparc-solaris2 hosted m68k-coff cross-compiler,
- the cross-compiler is to be installed in /bar.
The build procedure would then look like this.

cd /home/foo
host=sparc-sun-solaris2
target=m68k-coff
prefix=/bar
i=$prefix/bin

mkdir build-binutils build-gcc build-newlib build-gdb

# Configure, build and install binutils
cd build-binutils
../binutils-2.9.1/configure --target=$target --prefix=$prefix -v
make all install

# Configure, build and install gcc
cd ../build-gcc
../gcc-2.8.1/configure --target=$target --prefix=$prefix -v
make all install
========================================================

But When I execute the last 'make all install' command, I get after few
minutes the following message :

./xgcc -B./ -DCROSS_COMPILE -DIN_GCC -DSVR4  -g -I./include 
libgcc1-test.o -o libgcc1-test \
  -nostartfiles -nostdlib `./xgcc -B./ --print-libgcc-file-name`
/home/thalweg/users/mazzilli/cross/i386-go32/bin/ld:built in linker
script:24: parse error
*** Error code 1
make: Fatal error: Command failed for target `libgcc1-test'

==========================================================

So, I need HELP !!!
Thanx
Aldo
=======================================================================
,',',',',',',' Aldo MAZZILLI             | INRIA Rhone-Alpes          |
,',',',',',',' aldo.mazzilli@inrialpes.fr| 655, avenue de l'Europe    |
,',',',',',',' Tel : 04 76 61 53 91      | 38330 Montbonnot St Martin |
,',',',',',',' Fax : 04 76 61 52 52      | FRANCE                     |
,',' *** Site WEB : http://www.inrialpes.fr/vasy/people/Aldo.Mazzilli |
=======================================================================
________________________________________________
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.