This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug other/16724] SGI-IRIX-6.5.18 - file number 1 already allocated
- From: "mika dot poikonen at verticom dot fi" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 27 Jul 2004 07:57:25 -0000
- Subject: [Bug other/16724] SGI-IRIX-6.5.18 - file number 1 already allocated
- References: <20040726201440.16724.mika.poikonen@verticom.fi>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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