public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* egcs1.0.2 + libg++ cross build failure
@ 1998-03-31  5:29 Neal Becker
  1998-04-01 17:05 ` Jim Wilson
  1998-04-02  3:41 ` Joel Sherrill
  0 siblings, 2 replies; 5+ messages in thread
From: Neal Becker @ 1998-03-31  5:29 UTC (permalink / raw)
  To: egcs

I am trying to build egcs-1.0.2 + libg++-2.8.1 patch as cross with
host i686-pc-linux-gnu target m68k-unknown-coff.

I am building with newlib-1.8.0.

Problem 1) Headers aren't found.  Yes I've read the FAQ.  Headers
can't possibly be found, because you have to install the compiler
first, then you can install newlib.  My solution: I added
--with-headers=<path_to_newlib>/newlib/libc/include.  *Luckily* the
needed headers are all in this directory.

Problem 2) Configuring in m68k-unknown-coff/librx
creating cache ./config.cache
checking for gcc... /usr/local/src/m68k/egcs-1.0.2/gcc/xgcc -B/usr/local/src/m68k/egcs-1.0.2/gcc/
checking whether the C compiler (/usr/local/src/m68k/egcs-1.0.2/gcc/xgcc -B/usr/local/src/m68k/egcs-1.0.2/gcc/ -g -O2 ) works... no
configure: error: installation or configuration problem: C compiler
cannot create executables.

My solution: Go ahead and make -k install LANGUAGES="c c++".  Then
build and install newlib.  Then go back and build in egcs+libg++ again 
(now that crt0 is installed this last error will hopefully go away).


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

end of thread, other threads:[~1998-04-03 21:52 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1998-03-31  5:29 egcs1.0.2 + libg++ cross build failure Neal Becker
1998-04-01 17:05 ` Jim Wilson
1998-04-02  8:32   ` David Edelsohn
1998-04-03 21:52     ` Jim Wilson
1998-04-02  3:41 ` Joel Sherrill

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).