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
Hi,
I am trying to add a unified parameter to egcs to handle the
compilation of threaded code (now it is either -mthreads or
-pthread or -pthreads depending on the plateform).
Alexander Oliva suggested the -fthreads name for the flag, but it
seems that the -fXXX flags are really specials in gcc and not
handled by the spec file but by interal functions...
So:
1. is there a way of having a -fthreads flag load the %{fthreads:}
sections of the specs file ?
2. if not does any of those flag name please you:
-threads
-mt
-mthreads
Eric Nicolas.
--
------------------------------------------------------------------
-------> Linux : Why use Windows when doors are opened ? <--------
------------------------------------------------------------------
Eric NICOLAS Tel Pro :01.40.14.01.39
nicolas@bnp-eng.remcomp.com OU enicolas@createur.org
Personal web site: http://193.55.36.92/enicolas/
SWORD home page: http://www.sword-software.com/
------------------------------------------------------------------