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:33:03 +0000
- Subject: Re: gc-sections enabled on mingw?
- References: <4D133C18.8000104@gmail.com>
On 23/12/2010 12:10, PcX wrote:
> Hi ,all
>
> I used -ffunction-sections -fdata-sections -Wl,--gc-sections on
> MinGW, but the options had little effect. I want to know is the
> "gc-sections" enabled on MinGW?
>
Nope, 'fraid not; only ELF targets support gc-sections so far.
cheers,
DaveK