base-foc: contrib compile errors

Martin Stein martin.stein at ...1...
Tue Nov 13 19:30:50 CET 2012


Yes i was also confused,
i found the mentioned solution only through try and error...
I also don't find much informations about 'cc1'.

On 11/13/2012 06:17 PM, Christian Helmuth wrote:
> Hi Martin,
>
> On Tue, Nov 13, 2012 at 01:51:07PM +0100, Martin Stein wrote:
>> A similar problem occurs when building on fiasco:
>>
>> The error
>>
>>   Program bootstrap/bootstrap
>> make[6]: Nothing to be done for `all'.
>>   ... Generating bootstrap.ld
>> cc1: error: missing argument to "-P"
>>
>> is caused by the '-P' in
>>
>> $(LDSCRIPT): $(LDSCRIPT).in $(SRC_DIR)/Makefile $(BOOTSTRAP_LD_dep)
>> 	@$(GEN_MESSAGE)
>> 	$(VERBOSE)cpp -P $(CPPFLAGS) -DLINKADDR=$(DEFAULT_RELOC_$(ARCH)) $< $@;
>>
>> in
>>
>> base-fiasco/contrib/fiasco/snapshot/l4/pkg/bootstrap/server/src/Makefile
>>
>> and can be solved by using '-P="$(CPPFLAGS)"'
> If I read the manpage correctly '-P' does not need arguments. A quick
> test
>
>   touch /tmp/c.c
>   /usr/local/genode-gcc/bin/genode-arm-cpp -P -DFOOBAR /tmp/c.c /tmp/c.E
>
> also worked without problems.
>
> Did I miss something?





More information about the users mailing list