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 07:57 -------
(In reply to comment #2)

> You say you're using binutils, but the -g message means that gcc was
> configured to use the MIPSpro assemblers instead.  So what configure
> line did you use?  You'll need at least --with-gnu-as and --with-gnu-ld.
> 
> Richard
> 

Yes! I'm using binutils. =) I used to modify configure to force to use tools
I want to (in this case /usr/local/bin/gas, gld, gar, gnm) and also check
Makefiles for that.

Also which ar as ld nm gives /usr/local/bin/.. as answer (g.. are linked against
..)

When I get back home, I'll check to you the script, I used to use to run configure.

Anyway It starts like this:
export CC=/usr/freeware/bin/gcc
export CXX=/usr/freeware/bin/g++
export CFLAGS=-O3
export CXXFLAGS=-O3

$PWD/configure --prefix=/usr/local --enable-shared \
               --with-gnu-ld=/usr/local/bin/gld \
               --with-gnu-as=/usr/local/gas \
               --with-gnu-ar=/usr/local/bin/gar

Rest I don't remember.

I've chosen to edit those configure & Makefile-scripts, because I do a lot of
same job with HP-UX and it tries every time to use /bin/.. even I don't want to.
It's kind of habit.. =)

/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]