[En-Nut-Discussion] New build process

Harald Kipp harald.kipp at egnite.de
Fri Sep 17 16:16:20 CEST 2004


Regarding dev/Makefile

--- snip ---
Revision 1.17  2004/09/16 11:54:48  olereinhardt
Added hd44780_bus.c again as someone removed it??? Any reasons?
--- snap ---

Being under pressure, I missed to document this, sorry.
Unfortunately HEAD is now broken again for ICCAVR.

Ole, I'm aware that you are not able to test the code with
ICCAVR. My suggestion is to use

   #ifdef __GNUC__

to exclude code generation for ICCAVR. Actually the Configurator
offers better ways, but as long as we support the old way of
building inside the source tree without using the Configurator,
I do not see any other solution. What do you think?

Harald



iccavr -c  -I../include -Ic:\icc\include -e -DATMEGA -D_MCU_enhanced 
-DETHERNUT2 -D__HARVARD_ARCH__ -l -Mavr_enhanced hd44780_bus.c
!E hd44780_bus.c(87): syntax error; found `void' expecting `;'
!E hd44780_bus.c(93): syntax error; found `volatile' expecting `('
!E hd44780_bus.c(93): missing string constant in asm
!E hd44780_bus.c(93): syntax error; found `volatile' expecting `)'
!E hd44780_bus.c(93): syntax error; found `(' expecting `;'
!W hd44780_bus.c(93):[warning] expression with no effect elided
!E hd44780_bus.c(93): syntax error; found `)' expecting `;'
!E hd44780_bus.c(93): illegal statement termination
!E hd44780_bus.c(93): skipping `)'
!E hd44780_bus.c(93): syntax error; found `volatile' expecting `('
!E hd44780_bus.c(93): missing string constant in asm
!E hd44780_bus.c(93): syntax error; found `volatile' expecting `)'
!E hd44780_bus.c(93): syntax error; found `(' expecting `;'
!W hd44780_bus.c(93):[warning] expression with no effect elided
!E hd44780_bus.c(93): syntax error; found `)' expecting `;'
!E hd44780_bus.c(93): illegal statement termination
!E hd44780_bus.c(93): skipping `)'
!E hd44780_bus.c(94): syntax error; found `volatile' expecting `('
!E hd44780_bus.c(94): missing string constant in asm
!E hd44780_bus.c(94): syntax error; found `volatile' expecting `)'
!E hd44780_bus.c(94): syntax error; found `(' expecting `;'
!W hd44780_bus.c(94):[warning] expression with no effect elided
!E hd44780_bus.c(94): syntax error; found `)' expecting `;'
!E hd44780_bus.c(94): too many errors
make: *** [hd44780_bus.o] Error 1

iccavr -c  -I../include -Ic:\icc\include -e -DATMEGA -D_MCU_enhanced 
-DETHERNUT2 -D__HARVARD_ARCH__ -l -Mavr_enhanced sja1000.c
!E sja1000.c(738): syntax error; found `ifc_sja1000' expecting `;'
!E sja1000.c(739): undeclared identifier `CAN_IF_2B'
!E sja1000.c(740): syntax error; found `CAN_SPEED_500K' expecting `}'
!E sja1000.c(740): skipping `CAN_SPEED_500K' `,'
!E sja1000.c(741): initializer must be constant
!E sja1000.c(741): syntax error; found `{' expecting `;'
!E sja1000.c(741): skipping `{'
!E sja1000.c(741): unrecognized declaration
!E sja1000.c(741): unrecognized declaration
!E sja1000.c(741): unrecognized declaration
!E sja1000.c(741): unrecognized declaration
!E sja1000.c(741): unrecognized declaration
!E sja1000.c(741): unrecognized declaration
!E sja1000.c(741): unrecognized declaration
!E sja1000.c(741): unrecognized declaration
!E sja1000.c(742): unrecognized declaration
!E sja1000.c(743): unrecognized declaration
!E sja1000.c(743): unrecognized declaration
!E sja1000.c(743): unrecognized declaration
!E sja1000.c(743): unrecognized declaration
!E sja1000.c(743): too many errors
make: *** [sja1000.o] Error 1




More information about the En-Nut-Discussion mailing list