From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] question on gcc compile options
Date: Tue, 27 Jul 2010 20:21:43 +0200 [thread overview]
Message-ID: <20100727202143.59c750a1@surf> (raw)
In-Reply-To: <159319.72678.qm@web57206.mail.re3.yahoo.com>
Hello Arun,
On Fri, 16 Jul 2010 00:20:53 -0700 (PDT)
Salvat <slvt1234@yahoo.com> wrote:
> Hello,?? ? ? ?I am using buildroot-2009.02 to build a toolchain for
> mips platform. When I compile my code with the toolchain, I notice
> that there are many options passed to mipsel-linux-gcc; specifically
> the -ffunction-sections option. I would like to turn off that option.
> Can anyone point to me how to control the options sent to gcc.
> thanks,arun
Buildroot 2009.02 is very old, are you able to use a more recent
version, such as 2010.05 ?
Nothing in Buildroot is passing -ffunction-sections. So it is a
particular package that adds this option to the CFLAGS.
In particular, Busybox makes use of this -ffunction-sections. So if you
really don't want this option to be used, you have to look at each
package individually. Do you have any strong reason for not wanting
this option ?
Regards,
Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
prev parent reply other threads:[~2010-07-27 18:21 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-07-16 7:20 [Buildroot] question on gcc compile options Salvat
2010-07-27 18:21 ` Thomas Petazzoni [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=20100727202143.59c750a1@surf \
--to=thomas.petazzoni@free-electrons.com \
--cc=buildroot@busybox.net \
/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