This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: gc-sections enabled on mingw?
- From: Dave Korn <dave dot korn dot cygwin at gmail dot com>
- To: PcX <xunxun1982 at gmail dot com>
- Cc: binutils at sourceware dot org
- Date: Thu, 23 Dec 2010 13:44:13 +0000
- Subject: Re: gc-sections enabled on mingw?
- References: <4D133C18.8000104@gmail.com> <4D135031.6030106@gmail.com> <4D134B8E.4030108@gmail.com>
On 23/12/2010 13:15, PcX wrote:
> Thank you.
> By the way, which target can I know some link options enabled on? I
> can't find it in the ld help. Is there some links?
I'm afraid it's a bit underdocumented as far as the generic options go.
Most of them work most places where they would make any sense, is a general
rule of thumb. And gc-sections is the main exception that people tend to run
into. Maybe we should add a note for that one, at any rate.
cheers,
DaveK