Re: compiling gcc45x on solaris x86

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Ian,
There's nothing wrong with doing that, but it's not going to work to
build gcc 4.5.0 with a -I option which points to gcc 4.4 header files.

Ian
Yes you'r right the gcc450 is now compiled.

Thank's for your help.

There is still a problem in the configure and the propagation of the "-m64" flags. That flag is not in the Makefile of gcc compilation for the LDFLAGS variable. And the compilation stop there :

ld: fatal : fichier /export/home/genmic/pleonard/pleonard/gcc450/bin/../lib/gcc/i386-pc-solaris2.10/4.5.0/crtbegin.o : classe ELF erronée : ELFCLASS64

You have just to patch the Makefile, add the flags, and, important" to continue the compilation in the gcc directory, elswhere the Makefile is the regenerated. At the end do :
cd ..
gmake
and redoo these operation for the three stage.

thank's a lot for your time.

--
Pierre Léonard
Institut Micalis
(Microbiologie de l’Alimentation au service
de la Santé humaine)
Bat-440
Centre de recherche de Jouy en Josas.
Domaine de Vilvert
78 352 Jouy en Josas cedex
France
01 34 65 29 78




[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux