This is the mail archive of the egcs@egcs.cygnus.com mailing list for the EGCS project. See the EGCS home page for more information.


[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index] [Subject Index] [Author Index] [Thread Index]

Re: problems with egcs-1.1.1 & i386-pc-sco3.2v5.0.4



[ Tale of mixing flags to different compiler largely deleted ] 

> After a great deal of searching, I found that it was coming from my
> environment. CFLAGS was set in our development environment, and this
> was put in the built Makefile by configure.

Native /bin/cc (but not UDK cc) will read /etc/default/cc for additional
flags.  GCC will not read this file.  So if you have SCO compiler
specific flags that you always want set that you don't want in your
Makefiles (boooooo) you can put them in /etc/default/cc.

[ Rants about 'out of band' compiler flags suppressed. ] 

> I also noticed that the Makefile fragments mh-frag and mt-frag come from
> m[ht]-x86pic which have ``-fpic'' in them. The manual entry for the
> SCO compiler (and the warnings) indicate that this is obsolete. It is

Can you find any time that flag comes into play when you're building
with the native compiler?  If you're following instructions, I don't
think it will.  I'm interested in hearing if I'm wrong.


I *think* the only time you could make this happen would be if you did
a --disable-multilib --enable-shared and didn't do a 'make bootstrap'
but instead tried to do a make with /bin/cc.  This is so far off
the documented path (and so unlikely to work) that it's not very
interesting.


RJL