[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How can I test if the GNU or Sun linker is used?
From: |
Russ Allbery |
Subject: |
Re: How can I test if the GNU or Sun linker is used? |
Date: |
Thu, 06 Aug 2009 19:11:37 -0700 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.3 (gnu/linux) |
Philip Herron <address@hidden> writes:
> All you should really care about is making sure your environment has a
> compatible c compiler or whats needed and autoconf does that for you,
> with the prog_c macro then it inserts into the makefile etc. And you
> just have to make sure your code is compatible. I would discourage
> trying to over-think and separate what compilers, assemblers are being
> used to give warnings, because thats not what you want. You want
> autoconf to figure out your environment for you so you don't have to
> have complicated makefiles and options to build your program.
Usually this sort of problem comes up because one wants to pass flags
like -Bsymbolic -z defs --version-script=library.map to the linker, but
you have to know which linker you're using to know whether you can use
that syntax or -xldscope=symbolic or something else instead.
--
Russ Allbery (address@hidden) <http://www.eyrie.org/~eagle/>
- How can I test if the GNU or Sun linker is used?, Dr. David Kirkby, 2009/08/06
- Re: How can I test if the GNU or Sun linker is used?, Philip Herron, 2009/08/06
- Re: How can I test if the GNU or Sun linker is used?,
Russ Allbery <=
- Re: How can I test if the GNU or Sun linker is used?, Dr. David Kirkby, 2009/08/06
- Re: How can I test if the GNU or Sun linker is used?, Russ Allbery, 2009/08/06
- Re: How can I test if the GNU or Sun linker is used?, Bob Friesenhahn, 2009/08/07
- Re: How can I test if the GNU or Sun linker is used?, Dr. David Kirkby, 2009/08/07
- Re: How can I test if the GNU or Sun linker is used?, Richard Ash, 2009/08/08
- Re: How can I test if the GNU or Sun linker is used?, Dr. David Kirkby, 2009/08/09