public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* Broken compiler suite
@ 2003-02-20 16:52 Dominic Amann
  2003-02-20 18:27 ` Fergus Henderson
  0 siblings, 1 reply; 2+ messages in thread
From: Dominic Amann @ 2003-02-20 16:52 UTC (permalink / raw)
  To: gcc

My SuSE 7.3 box, with stock compiler upgraded via ximan-gnome comes up

$ gcc --version
2.95.3

$ rpm -q gcc
gcc-2.95.3-136

any attempt to compile shared libs comes up with

/usr/src/mygcc/gcc/xgcc -B/usr/src/mygcc/gcc/ 
-B/usr/local/gcc3.0.4/i686-pc-linux-gnu/bin/ 
-B/usr/local/gcc3.0.4/i686-pc-linux-gnu/lib/ -isystem 
/usr/local/gcc3.0.4/i686-pc-linux-gnu/include -DPACKAGE=\"zlib\" 
-DVERSION=\"1.1.3\" -DHAVE_UNISTD_H=1 -DHAVE_GETPAGESIZE=1 -DHAVE_MMAP=1 
-DHAVE_MEMCPY=1 -DHAVE_STRERROR=1 -DHAVE_UNISTD_H=1 -I. 
-I../../../gcc-3.0.4/zlib /opt/gnome/include -g -O2 -c 
../../../gcc-3.0.4/zlib/adler32.c  -fPIC -DPIC -o .libs/adler32.o
xgcc: cannot specify -o with -c or -S and multiple compilations

Note that this is even with the xgcc (2nd phase?) compiler. I suspect 
some other part of my tool chain is haywire. Any ideas?	

-- 
Dominic Amann, Linux Based Solutions Ltd., <http://www.lbs.ca/>
	18 Candlewood Cr, Toronto, ON M3J 1G8
	Tel: (416) 638-8649 Fax: (416) 630-1584

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

* Re: Broken compiler suite
  2003-02-20 16:52 Broken compiler suite Dominic Amann
@ 2003-02-20 18:27 ` Fergus Henderson
  0 siblings, 0 replies; 2+ messages in thread
From: Fergus Henderson @ 2003-02-20 18:27 UTC (permalink / raw)
  To: Dominic Amann; +Cc: gcc

On 20-Feb-2003, Dominic Amann <dominic@lbs.ca> wrote:
> /usr/src/mygcc/gcc/xgcc -B/usr/src/mygcc/gcc/ 
> -B/usr/local/gcc3.0.4/i686-pc-linux-gnu/bin/ 
> -B/usr/local/gcc3.0.4/i686-pc-linux-gnu/lib/ -isystem 
> /usr/local/gcc3.0.4/i686-pc-linux-gnu/include -DPACKAGE=\"zlib\" 
> -DVERSION=\"1.1.3\" -DHAVE_UNISTD_H=1 -DHAVE_GETPAGESIZE=1 -DHAVE_MMAP=1 
> -DHAVE_MEMCPY=1 -DHAVE_STRERROR=1 -DHAVE_UNISTD_H=1 -I. 
> -I../../../gcc-3.0.4/zlib /opt/gnome/include -g -O2 -c 
                            ^^^^^^^^^^^^^^^^^^

You are missing a `-I' option here.

-- 
Fergus Henderson <fjh@cs.mu.oz.au>  |  "I have always known that the pursuit
The University of Melbourne         |  of excellence is a lethal habit"
WWW: <http://www.cs.mu.oz.au/~fjh>  |     -- the last words of T. S. Garp.

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

end of thread, other threads:[~2003-02-20 18:18 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-02-20 16:52 Broken compiler suite Dominic Amann
2003-02-20 18:27 ` Fergus Henderson

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