This is the mail archive of the gcc@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]

Re: EGCS PB: Incoherent command line among plateforms


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]