This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: EGCS PB: Incoherent command line among plateforms
- To: Eric Nicolas <nicolas at bnp-eng dot remcomp dot com>
- Subject: Re: EGCS PB: Incoherent command line among plateforms
- From: Alexandre Oliva <oliva at dcc dot unicamp dot br>
- Date: 17 Dec 1998 17:33:26 -0200
- Cc: EGCS Mailing List <egcs at egcs dot cygnus dot com>
- References: <36791860.81F190F7@bnp-eng.remcomp.com>
On Dec 17, 1998, Eric Nicolas <nicolas@bnp-eng.remcomp.com> wrote:
> But the flag is DIFFERENT FOR EACH PLATEFORM !!!!!
> On Linux: -pthread
> On Ibm AIX: -mthreads
> On Solaris: -pthreads
> I am missing something (a unified flag), or do you think this
> will be fixed in further releases ???
There's no such unified flag, since not even thread interfaces are as
portable as you might want.
It would be nice if egcs could take care of providing a unified flag,
though. It should be quite simple to do that, by hacking the default
specs for each platform. Take a look at gcc/config/ directories, and
feel free to contribute back any patches to get us closer to a unified
threads flag.
Meanwhile, you can work around these variations using GNU autoconf.
--
Alexandre Oliva http://www.dcc.unicamp.br/~oliva aoliva@{acm.org}
oliva@{dcc.unicamp.br,gnu.org,egcs.cygnus.com,samba.org}
Universidade Estadual de Campinas, SP, Brasil