Usenet comp.os.linux.alpha (1997-2013)
 help / color / mirror / Atom feed
From: Adrian Gartland <ade@virtual.foobar.co.uk>
Subject: Cross compiling to Alpha from i586....HELP.
Date: 1998/02/28	[thread overview]
Message-ID: <34F76014.D61A19D2@virtual.foobar.co.uk> (raw)


After falling into the rather nasty fclose() bug when using c++ I have
attempted several other ways to get around it...all failed :(...if no
one
can help I might have to resort to going back to Redhat 4.2, which I
really want to avoid if possible....but it at least worked there. (Did I
just get lucky
there? and c++ is broken on 4.2 too?)

1) Use egcs.
ok....got egcs....ok got that installed...but falls over badly on the
headers.
We're using stl and other gubbins....find in the egcs faq that
libg++2.8.<somehing>
is a version that is reported to work with egcs's c++....also isn't
available
for linux....last known version known to work with linux is
2.7.2...which
is the one that we alreay have...which doesn't like too much...doh.

Ok...hmm...nothing to lose..try 2.8.something.....no rpms available for
2.8.<something>...one available for 2.8.0 for i386...but no
src.rpm....ok..
get source from place mentioned in FAQ and compile up......
Compiled up....can't find libio....as mentioned in the faq..well...I
tried.

2) Cross compile on i586 to alpha and statically link with glibc 0.9...
Follow the instructions for doing cross compile stuff on egcs...follow
the faq from that faq that tells you all the tools you need.
Got binutils compiled up ok.

Instead of using gcc, used egcs ...and did a make cross, after doing
all the target=alpha-unknown-linux stuff as mentioned in the
cross compiling FAQ.
Sits there and does a few things for a few mins...and then fails
because it can't find string.h.....doh

So...tried gcc 2.8.0....failed on a simlar thing but on a different file

Tried 2.7.2.3, doesn't support alpha-unknown-linux.

Am I following the FAQ too close to the letter?

Has ANYONE managed to get a working C++ environment in RedHat
5.0 yet? Tips would be very welcome.. Completely wasted the day with
this stuff with nothing at the end...except the thought of going back to
4.2

Thanks!

--
Adrian Gartland              [Email:         ade@oregan.net]
Software Engineer            [WWW:   http://www.oregan.net/]
Oregan Networks              [Phone:     +44 (0)1530 563311]




             reply	other threads:[~1998-02-28  5:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-02-28  5:00 Adrian Gartland [this message]
1998-02-28  5:00 ` Cross compiling to Alpha from i586....HELP Greg Lindahl
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox