This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug other/16724] SGI-IRIX-6.5.18 - file number 1 already allocated


------- Additional Comments From mika dot poikonen at verticom dot fi  2004-07-27 21:31 -------
> In case it wasn't obvious, what Andrew's saying is that --with-gnu-as
> and --with-gnu-ld are boolean flags.  They don't take a filename argument.
> 
> Richard
> 

Yes. Every day you learn something. I've been wondering those flags and how to
use them. Ok.

The script exactly went like this:

export CXX=/usr/freeware/bin/g++
export CFLAGS=-O3
export CXXFLAGS=-O3

$PWD/configure --prefix=/opt/gcc --enable-shared \
--with-ld=/opt/gcc/mips-sgi-irix6.5/bin/gld --with-gnu-ld \
--with-as=/opt/gcc/mips-sgi-irix6.5/bin/gas \
--with-ar=/opt/gcc/mips-sgi-irix6.5/bin/gar \
--with-nm=/opt/gcc/mips-sgi-irix6.5/bin/gnm

Atleast I found one "minor" detail from my configuration. Those gld, gas, gar
and gnm wasn't exist.. until now. Anyway the problem exist if I do NOT run
configure again.

Now I've edited configure to use only ld,as,ar,nm,ranlib-stuff from /opt/gcc...
It failed with different error this time. Something to do with libc and perhaps
with mabi=64. Now I'm trying with this kind of script:

export CC=/usr/freeware/bin/gcc
export CXX=/usr/freeware/bin/g++
export CFLAGS='-O3 -mabi=n32'
export CXXFLAGS='-O3 -mabi=n32'

$PWD/configure --prefix=/opt/gcc --enable-shared \
--with-ld=/opt/gcc/mips-sgi-irix6.5/bin/gld --with-gnu-ld \
--with-as=/opt/gcc/mips-sgi-irix6.5/bin/gas --with-gnu-as \
--with-ar=/opt/gcc/mips-sgi-irix6.5/bin/gar --with-gnu-ar \
--with-nm=/opt/gcc/mips-sgi-irix6.5/bin/gnm --with-gnu-nm \
--disable-multilib --enable-libgcj \
--enable-languages=c,objc,c++,f77,java

If you think, this can be closed -please- be free to do so.

/tmp.

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16724


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]