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?