public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* egcs-ss-980308 is available
@ 1998-03-08 20:37 Jeffrey A Law
  1998-03-13 15:04 ` Trying to build cross tool chain using egcs-980302 Peter Barada
  0 siblings, 1 reply; 3+ messages in thread
From: Jeffrey A Law @ 1998-03-08 20:37 UTC (permalink / raw)
  To: egcs

egcs-ss-980308 is now available on 
egcs.cygnus.com:/pub/egcs/snapshots/1998-03-08

(and on various mirrors, see the egcs home page for mirror sites).

You'll find:

  egcs-980308.tar.gz                    The full egcs snapshot, including all
                                        languages runtime libraries and
                                        testsuites.

  egcs-core-980308.tar.gz               Just the C and objc language front ends.

  egcs-g++-980308.tar.gz                The g++ language and runtime.

  egcs-g77-980308.tar.gz                The g77 language and runtime.
   
  egcs-objc-980308.tar.gz               The objc runtime.

  egcs-testsuite-980308.tar.gz          The c & g++ testusites.
  egcs-g++-testsuite-980308.tar.gz      The g++ testsuite.
  egcs-g77-testsuite-980308.tar.gz      The g77 testsuite.


Diffs to bring the 980302 to 980308 snapshot are available.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Trying to build cross tool chain using egcs-980302
  1998-03-08 20:37 egcs-ss-980308 is available Jeffrey A Law
@ 1998-03-13 15:04 ` Peter Barada
  1998-03-16 20:25   ` Jim Wilson
  0 siblings, 1 reply; 3+ messages in thread
From: Peter Barada @ 1998-03-13 15:04 UTC (permalink / raw)
  To: egcs, crosgcc; +Cc: pbarada

I've hunted around for the answer, but I can't seem to find it...

I've got:
	egcs-980302
	bintutils-2.8.1.0.23
	newlib-1.8
	gdb-4.16

I'm trying to build a complete tool chain that can be used on a RH4.2
on a pentium pro AND retargeted for an embedded ppc-unknown-eabi.
This way the simulations running under RH will give me a great
warm-n-fuzzy about the code running in the embedded target. (Besides,
gdb is much better to use on the host than in the target).

When tyring to build for the RH-4.2, config.guess in egcs-980302
declares the system to be a i686-pc-linux-gnulibc1, and gdb-4.16
declares that an unsupported configuration: 

$ ../gdb-4.16/configure --host=i686-pc-linux-gnulibc1
Invalid configuration `i686-pc-linux-gnulibc1': machine `i686-pc-linux' not recognized

If I try gdb's guess of i686-unknown-linux, gdb complains:

$ ../gdb-4.16/configure --host=i686-unkown-linux
Created "Makefile" in /usr/bigdisk/pbarada/src/gdb/objdir
../../gdb-4.16/bfd/../ltconfig: ../../gdb-4.16/bfd/../ltconfig: No such file or directory
configure: error: libtool configure failed
Configure in /usr/bigdisk/pbarada/src/gdb/objdir/bfd failed, exiting.

So at this point I decided to drop 9 and punt.

1) Do I have the latest sources to build both a native and cross
   system? If not where do I get the latest set?
2) How do I stick all of this source together into one directory so I
   only have to configure and build once?

I've looked around on the EGCS pages, and over on prep.ai.mit.edu, and
I haven't found much to help me...

Any info will be much appreciated.

-- 
Peter Barada                            pbarada@wavemark.com
Wizard                                  781-270-7098 x226
WaveMark Technologies, Inc.             781-270-0193 (fax)

"Real men know that you should never attempt to accomplish with words
what you can do with a flame thrower" --Bruce Ferstein

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Trying to build cross tool chain using egcs-980302
  1998-03-13 15:04 ` Trying to build cross tool chain using egcs-980302 Peter Barada
@ 1998-03-16 20:25   ` Jim Wilson
  0 siblings, 0 replies; 3+ messages in thread
From: Jim Wilson @ 1998-03-16 20:25 UTC (permalink / raw)
  To: Peter Barada; +Cc: egcs, crosgcc

As yet, we have not had time to fix all of the cross-compiler issues in
EGCS, so it isn't as easy to build a cross compiler as it should be.

There are a number of different problems that you ran into, but most of
them seem to be version conflicts.

	When tyring to build for the RH-4.2, config.guess in egcs-980302
	declares the system to be a i686-pc-linux-gnulibc1, and gdb-4.16
	declares that an unsupported configuration: 

gdb-4.16 is two years old.  Since then, there was a change to the
configuration naming scheme which happens to affect your host.  This
was part of the support needed to handle glibc2 linux systems.  You will
not be able to use the same host name with gdb-4.16 and the current egcs
sources.  This will not be a problem with gdb-4.17 which is expected soon.

I think there is no real advantage to trying to build gdb in the same source
tree as the rest of the stuff.  Just build it separately.

	$ ../gdb-4.16/configure --host=i686-unkown-linux
	Created "Makefile" in /usr/bigdisk/pbarada/src/gdb/objdir
	../../gdb-4.16/bfd/../ltconfig: ../../gdb-4.16/bfd/../ltconfig: No such file or directory
	configure: error: libtool configure failed
	Configure in /usr/bigdisk/pbarada/src/gdb/objdir/bfd failed, exiting.

I am guessing that you use the binutils copy of bfd.  This was relatively
recently modified to use libtool.  libtool requires some scripts in the
toplevel directory which are not distributed with EGCS.  Just copy them
from the binutils toplevel directory into the toplevel EGCS directory.
I think that there are only two scripts involved here, both of which start
with lt.

Jim

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~1998-03-16 20:25 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1998-03-08 20:37 egcs-ss-980308 is available Jeffrey A Law
1998-03-13 15:04 ` Trying to build cross tool chain using egcs-980302 Peter Barada
1998-03-16 20:25   ` Jim Wilson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).