[En-Nut-Discussion] branches/devnut_m3n: Wrong comment character

Uwe Bonnes bon at elektron.ikp.physik.tu-darmstadt.de
Thu Jul 14 22:47:49 CEST 2011


It seems that // is no valid comment character in a Makefile, at least with
recent gcc/yagarto.

Nay comments?
-- 
Uwe Bonnes                bon at elektron.ikp.physik.tu-darmstadt.de

Institut fuer Kernphysik  Schlossgartenstrasse 9  64289 Darmstadt
--------- Tel. 06151 162516 -------- Fax. 06151 164321 ----------
Index: nut/Makevars.cm3-gcc
===================================================================
--- nut/Makevars.cm3-gcc	(Revision 3518)
+++ nut/Makevars.cm3-gcc	(Arbeitskopie)
@@ -43,7 +43,7 @@
 TRGT       = arm-none-eabi-

 MCFLAGS    = -mcpu=$(MCU) -mthumb -mlittle-endian -D__CORTEX__

 

-// CXXFLAGS_OPT = -Os -fno-delete-null-pointer-checks -fno-exceptions -fno-rtti 

+# CXXFLAGS_OPT = -Os -fno-delete-null-pointer-checks -fno-exceptions -fno-rtti 

 LDFLAGS   = $(MCFLAGS) -g -nostartfiles -T$(LDSCRIPT) -Wl,-Map=$(PROJ).map,--cref,--no-warn-mismatch -L$(LIBDIR)

 

 CFLAGS_MCU   = $(MCFLAGS) -ffunction-sections -fdata-sections -fomit-frame-pointer -mfix-cortex-m3-ldrd


More information about the En-Nut-Discussion mailing list