This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: silent libf2c build failures, multilib related?
- To: Robert Lipe <robertl at dgii dot com>
- Subject: Re: silent libf2c build failures, multilib related?
- From: Martin Knoblauch <knobi at knobisoft dot de>
- Date: Tue, 29 Sep 1998 00:46:19 +0200
- CC: egcs at cygnus dot com
- Organization: Knobisoft :-), Freising
- References: <199809271645.SAA01168@knobi.knobisoft.de> <19980927224211.B15624@dgii.com> <360FDBF0.F715043A@knobisoft.de> <19980928144920.F28992@dgii.com> <361000AE.66F0F76F@knobisoft.de> <19980928171829.D11976@dgii.com>
- Reply-To: knobi at knobisoft dot de
Robert Lipe wrote:
>
> I've added the group back in the hopes that others can help.
>
> > so, after repeating 'gmake clean-target-libf2c' there was
> > libf2c/libU77/stamp-h left over. I removed that manually and
>
> OK, I have one of those hanging around, too. It seems to be built
> intentionally.
>
> I can't build an Irix cross. The way I read the config files, irix
> should be a multlibbed host, so we should be seeing the same sorts of things
> at a block diagram level....
>
Would a "--disable-multilib" configure flag cause problems?
That is what I use to avoid building the "mabi=64" stuff that
I do not want/need.
> > reissued 'gmake all-target-libf2c'. Same effect as before.
> > BUT - looking at the final command to bild the archive, I found:
> >
> > true CC='/mnts/d9/tmp/egcs-snapobjs/gcc/xgcc
> > -B/mnts/d9/tmp/egcs-snapobjs/gcc/' CFLAGS='-O4 -g'
> > CPPFLAGS='' AR='ar' RANLIB='true' PICFLAG='' RUNTESTFLAGS=''
> > libg2c.a multi-do DO="all libg2c.a"
> >
> > Now, this will of course not generate an archive:-) The
>
> In a mind-numbing display of obfuscation, it actually _is_ part
> of what is displayed.
>
> When I do a 'make all-target-libf2c', I see the following as the fini
> for each of the multlib options. Since -fPIC is my last one, that's the
> one I'm going to show. Notice that the third line is essentially the
> one you're citing.
>
> /play/negcs/gcc/xgcc -B/play/negcs/gcc/ -c -DSkip_f2c_Undefs -I. -I../../../../../egcs/libf2c/libU77 -I../../../../../egcs/libf2c/libU77/../libI77 -I.. -I../../../../../egcs/libf2c/libU77/.. -DHAVE_CONFIG_H -g -O2 -fPIC ../../../../../egcs/libf2c/libU77/datetime_.c
> echo timestamp > ../s-libu77
> true CC='/play/negcs/gcc/xgcc -B/play/negcs/gcc/' CFLAGS='-g -O2 -fPIC' CPPFLAGS='' AR='ar' RANLIB='true' PICFLAG='' RUNTESTFLAGS='' libg2c.a multi-do DO="all libg2c.a"
This is the last line I see in my build.
Martin
--
+---------------------------------+
|Martin Knoblauch |
|---------------------------------|
|http://www.knobisoft.de |
+---------------------------------+
|e-mail: <knobi@knobisoft.de> |
+---------------------------------+