Build successes

Todd Vierling tv@pobox.com
Sun Jan 25 17:05:00 GMT 1998


On Sun, 25 Jan 1998, Peter Tregunno wrote:

: egcs-2.90.23 has successfully build on:
: 	i386-pc-solaris2.5.1

Oh, are we writing success stories?  Guess I should write a few.  I'm
building up an army of cross compilers to open a web site devoted to same,
with binaries available for download and a free `cross generation' service
(as long as I have the building blocks, I'll build any cross compiler you
want for free).

Successes (all cross compile environments, even if it "looks" native; I do 
that so it doesn't search /usr/include by default) -- using binutils 2.8.1
from FSF and egcs 1.0.1 release:

Host                     Target                     Languages
sparc-sun-sunos4.1.3     sparc-sun-sunos4.1.3       All four [*]
sparc-sun-sunos4.1.3     sparc-unknown-netbsd1.3    All four
sparc-sun-sunos4.1.3     i386-unknown-linux         All four
sparc-sun-sunos4.1.3     m68k-sun-sunos4.1.1        All four [**]
sparc-unknown-netbsd1.3  sparc-sun-sunos4.1.3       All four [*]
i386-unknown-netbsd1.3   i386-unknown-linux         All four

In general, it never failed.  I did hack a couple Makefile.in's to change
some paths (my `gcc-lib' directory is _inside_ $(tooldir) without the arch
and version subdirs, the libstdc++ etc. install into `gcc-lib', and some
other stuff).  I also built doing a straight `make'--NOT `make
cross'--because I wanted the f77 and objc stuff for every compiler as well. 

I had to fix a bug in `fixincludes' in the SunOS case [*]--I posted about
this to egcs-bugs; did anyone see it?

Also, with the m68k one [**], I had to supply the libgcc1.a from a prebuilt
gcc-2.7.2.2.  I'm going to see if I can open code the stuff in this and
eliminate the need for supplying libgcc1 third-party. 

I have not, however, done a three-way cross yet, but I am about to try one
tomorrow.  (build=sparc-sun-sunos4.1.3, host=i386-unknown-linux,
target=m68k-sun-sunos4.1.1)  If anyone has warnings about a three-way cross,
I'd love to hear them.

=====
===== Todd Vierling (Personal tv@pobox.com) =====
== "There's a myth that there is a scarcity of justice to go around, so
== that if we extend justice to 'those people,' it will somehow erode the
== quality of justice everyone else receives."  -- Maria Price




More information about the Gcc mailing list