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

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Crosscompiler: gcc 3.1 on linux for sparc ?


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I have problems compiling gcc as a cross compiler.

I successfully build binutils 2.12.1 using the following command line:
./configure --host=i686-pc-linux-gnu --prefix=/opt/binutils-2.12.1 
- --target=sparcv9-solaris --enable-64-bit-bfd --enable-bfd-assembler 
- --enable-commonbfdlib

Now I configured gcc as follows:
env PATH=/opt/binutils-2.12.1/bin:$PATH ../gcc-3.1/configure 
- --host=i686-pc-linux-gnu --prefix=/opt/sparc-crossgcc-3.1 --with-gnu-as 
- --with-as=/opt/binutils-2.12.1/bin/sparcv9-solaris-as --with-gnu-ld 
- --with-ld=/opt/binutils-2.12.1/bin/sparcv9-solaris-ld
- --enable-threads=solaris --target=sparcv9-solaris

Is something wrong with this procedure?

Now I get the the error given as the attachment:
env PATH=/opt/binutils-2.12.1/bin:$PATH make >& make.out

It complains about missing abort(), missing thread.h and missing errno.h.

Has anyone experienced the same problem?

I don't know whether this has to be called already a gcc bug (which has to be 
stated somewhere else - I know) ... ?

- -- 
Heiko Nardmann (Dipl.-Ing.), h.nardmann@secunet.de, Software Development
secunet Security Networks AG - Sicherheit in Netzwerken (www.secunet.de),
Weidenauer Str. 223-225, D-57076 Siegen
Tel. : +49 271 48950-13, Fax  : +49 271 48950-50
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iEYEARECAAYFAj0HcAkACgkQpm53PRScYyib4QCg+27QbyxtR5moIadQEzQCXifF
IEoAoIM2WZsYxWt7uMylY4H5OyAAO8ps
=JG91
-----END PGP SIGNATURE-----

Attachment: make.out
Description: Text document

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

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