public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* "mygcc/libexec/gcc/i686-pc-linux-gnu/4.0.2/cc1"  != "mygcc/gcc/cc1"
@ 2006-05-13 23:15 sean yang
  0 siblings, 0 replies; only message in thread
From: sean yang @ 2006-05-13 23:15 UTC (permalink / raw)
  To: gcc; +Cc: gcc-help

I added a pass in GCC and successfully built it to binary following the 
building procedure (./configure, make, make install). I found 
"mygcc/libexec/gcc/i686-pc-linux-gnu/4.0.2/cc1"  is different from 
"mygcc/gcc/cc1", as shown below.
----------------------------------------------------------------------
mygcc>ls -l libexec/gcc/i686-pc-linux-gnu/4.0.2/cc1
-rwxr-xr-x    1 user   other    10985929 May 12 22:12 
libexec/gcc/i686-pc-linux-gnu/4.0.2/cc1
mygcc>ls -l gcc/cc1
-rwxr-xr-x    1 user   other    10986625 May 12 22:17 gcc/cc1
--------------------------------------------------------------------------

When I compiled a test code i.e, ">mygcc/gcc/cc1 $HOME/test.c", everything 
works fine as I expected--i.e., the modification of the pass itself is good.

But when I tested the same code with the compiler driver (gcc), i.e., 
">mygcc/bin/gcc $HOME/test.c", as the driver uses 
mygcc/libexec/gcc/i686-pc-linux-gnu/4.0.2/cc1 as the compiler, it does not 
behave as I wanted (i.e, the pass I added is not executed). I wonder what 
caused the problem, and how I can fix it.

Thanks a lot,
Sean

_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today - it's FREE! 
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-05-13 23:15 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-05-13 23:15 "mygcc/libexec/gcc/i686-pc-linux-gnu/4.0.2/cc1" != "mygcc/gcc/cc1" sean yang

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).