From: "Rafael Ávila de Espíndola" <rafael.espindola@gmail.com>
To: gcc@gcc.gnu.org
Subject: Re: how to compile gcc
Date: Sat, 20 Aug 2005 13:13:00 -0000 [thread overview]
Message-ID: <200508201014.44990.rafael.espindola@gmail.com> (raw)
In-Reply-To: <6767dbc9050819162630a9dfe1@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 580 bytes --]
On Friday 19 August 2005 20:26, Jiang Long wrote:
> Hello,
>
> I 'd like to dig into gcc internals, and would like to compile it with -g.
>
> I can't find any document on how to do that? I tried
>
> make BOOT_CFLAGS=-g CFLAGS=-g,
>
> but it still will add '-O2' later on.
>
> Any documentation on how GCC is compiled? what are the stages of the
> compilation?
yes,
http://gcc.gnu.org/install/configure.html
look at --enable-checking
and
http://gcc.gnu.org/install/build.html
There are more cflags...
The gcc/Makefile.in is also a good reference :)
> Thanks,
>
> -Jiang
Rafael
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
next prev parent reply other threads:[~2005-08-20 13:13 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-08-19 23:26 Jiang Long
2005-08-20 13:13 ` Rafael Ávila de Espíndola [this message]
2005-08-20 13:49 ` drizzle drizzle
2005-08-22 1:36 ` Yao qi
2005-08-22 1:36 ` Yao qi
2005-08-20 16:46 ` Mike Stump
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=200508201014.44990.rafael.espindola@gmail.com \
--to=rafael.espindola@gmail.com \
--cc=gcc@gcc.gnu.org \
/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).