This is the mail archive of the
mailing list for the GCC project.
Re: Linker API Proposal
- From: Jim Wilson <wilson at specifixinc dot com>
- To: "Kirkegaard, Knud J" <knud dot j dot kirkegaard at intel dot com>
- Cc: "Sehr, David C" <david dot c dot sehr at intel dot com>, "Winalski, Paul"<paul dot winalski at intel dot com>, gcc at gcc dot gnu dot org
- Date: Sun, 06 Jun 2004 21:45:22 -0700
- Subject: Re: Linker API Proposal
- References: <B8E391BBE9FE384DAA4C5C003888BE6FAD77C3@scsmsx401.amr.corp.intel.com>
Kirkegaard, Knud J wrote:
We understand that gcc is considering adding link-time compilation
features and an API to allow the linker to interact with the compiler
and related tools.
Not anytime soon. There are political problems that prevent us from
doing this. FSF policy forbids writing information to files and reading
it back in later, as that might allow someone to subvert the GPL and use
proprietary compiler code with GPL'ed gcc code, or vice versa.
Many of us expect that we will need this feature eventually to stay
competitive with other compilers, but for now, policy forbids it.
You might want to look at LLVM which uses gcc as a front end to a
compiler that does do link-time optimizations.
Jim Wilson, GNU Tools Support, http://www.SpecifixInc.com