public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
From: Nathan Sidwell <nathan@codesourcery.com>
To: Martin Kaul <mkaul@leuze.de>
Cc: gcc-help@gcc.gnu.org
Subject: Re: gcc option -fvtable-gc missed
Date: Mon, 22 Nov 2004 15:20:00 -0000	[thread overview]
Message-ID: <41A2038F.3060605@codesourcery.com> (raw)
In-Reply-To: <41A1B4B1.6020807@leuze.de>

Martin Kaul wrote:
> Hi,
> 
> I want to use the GCC for developing an embedded system.
> 
> Searched for gcc and smart linking I found the gcc options 
> -ffunction-sections -fdata-sections -fvtable-gc and the ld options 
> --gc-sections. The description of these options are exactly what I want 
> (avoid the linking of unused functions and methods).
> 
> Now, when using gcc 3.4.2 it seems that the option -fvtable-gc is no 
> longer supported. With the gcc 3.3.4 this option is supported.
My recollection is that it was taken out of 3.4, as it has failed
to do anything since at least 3.0.  It was not possible to make it function
without significant work.

> What was the reason to remove this option? The background is that I plan 
> to downgrade to gcc 3.3.4 (or patch this option back to 3.4.2) when the 
> reason don't affect my plattform. My target is sh-elf.

Before you decide, convince yourself that -fvtable-gc does something useful
on 3.3

nathan


-- 
Nathan Sidwell    ::   http://www.codesourcery.com   ::     CodeSourcery LLC
nathan@codesourcery.com    ::     http://www.planetfall.pwp.blueyonder.co.uk

      reply	other threads:[~2004-11-22 15:20 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-11-22  9:43 Martin Kaul
2004-11-22 15:20 ` Nathan Sidwell [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=41A2038F.3060605@codesourcery.com \
    --to=nathan@codesourcery.com \
    --cc=gcc-help@gcc.gnu.org \
    --cc=mkaul@leuze.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).