This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Help needed: banishing RTL from the front ends


On Thu, May 27, 2010 at 7:15 AM, Paolo Bonzini <bonzini@gnu.org> wrote:
> On 05/27/2010 06:58 AM, Steven Bosscher wrote:
>>
>> Well, it looks like I do need something like @F because I now only get
>> the define on files in gcc/. Any file with a / in the full name $@
>> does not get a file specific CFLAGS.
>
> Interesting, this simpler testcase worked:
>
> test-a/b = $(warning ok)
>
> all: a/b
> ? ? ? ?: $(test-$<) above line from '$$(test-$$<)' should say ok
> a/b:
> ? ? ? ?: $(test-$@) above line from '$$(test-$$@)' should say ok
>
> Can you add $(warning $@ -> $(CFLAGS-$@)) to the .c.o rule to see if that
> gives a clue?

Well, gives me at least one clue so far: the implicit rule .c.o is
over-ruled by t-i386, which explains why the extra CFLAGS-$file are
not passed to config/i386/i386-c.c.  I'm now restarting the build with
extra front ends included again, to see if there is something equally
obvious "wrong" there.

Ciao!
Steven


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]