This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: debugging gcc/cc1
- From: Johnny Huynh <huynh at ugrad dot cs dot ualberta dot ca>
- To: Mike Stump <mrs at apple dot com>
- Cc: gcc at gcc dot gnu dot org
- Date: Wed, 26 May 2004 15:23:23 -0600 (MDT)
- Subject: Re: debugging gcc/cc1
- References: <A1F9E086-AF57-11D8-ADDF-003065A77310@apple.com>
On Wed, 26 May 2004, Mike Stump wrote:
> gcc -v t.c -c
> gcc -E t.c >t.i
>
> and the mostly likely command under gdb:
>
> run -quiet t.i
>
> Some platforms might have flags you might have to add, -fPIC and the
> testcase might be dependent upon optimization (-O2), but 90% of
> testcases run this simply.
>
I don't quite know what I was doing wrong at
first, but all the info has simplified things for me :)
Thanks,
Johnny