debugging gcc/cc1
Johnny Huynh
huynh@ugrad.cs.ualberta.ca
Wed May 26 21:23:00 GMT 2004
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
More information about the Gcc
mailing list