base-foc: contrib compile errors

Christian Helmuth christian.helmuth at ...1...
Tue Nov 13 18:17:55 CET 2012


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?
-- 
Christian Helmuth
Genode Labs

http://www.genode-labs.com/ · http://genode.org/
https://twitter.com/GenodeLabs · /ˈdʒiː.nəʊd/

Genode Labs GmbH · Amtsgericht Dresden · HRB 28424 · Sitz Dresden
Geschäftsführer: Dr.-Ing. Norman Feske, Christian Helmuth




More information about the users mailing list