----- Mail original -----
> De: "Kevin Fowler" <[email protected]>
> À: [email protected]
> Envoyé: Mercredi 27 Juin 2012 17:39:08
> Objet: Re: help with thread lib - x86/BSD
> 

> 
> 
> From what I can tell, the specs file is "built-in" to gcc. Yes I can
> look at it with -dumpspecs, and I can override it with, e.g.,
> -specs=myspecs, but then I am back to having to modify Configure
> script (and config to point to a new unique platform. I don't think
> gcc automatically loads a specs file from some known location - it
> uses what is built into it or what is specified with the -specs
> option. Maybe there is another way?
>

# savec original specs
gcc -dumpspecs > myspecsbackup

# switch to new specs , beware ccache do not have a way to see that change
cat mynewspecs > `dirname $(gcc --print-libgcc-file-name)`/specs

# restore original specs
cat myspecsbackup > `dirname $(gcc --print-libgcc-file-name)`/specs

Gilles
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [email protected]
Automated List Manager                           [email protected]

Reply via email to