[ECOS] eCos 3.0 beta 1 now available for download

Sergei Gavrikov sg@belvok.com
Thu Feb 26 11:59:00 GMT 2009

On Thu, Feb 26, 2009 at 11:51:06AM +0100, Ilija Kocho wrote:
> Here's my report from testing MAC7100EVB:
> Host environment: Ubuntu 8.10 (64bit) on DELL Vostro 1510 2GB RAM
> I tested "default" package configuration since it includes all MAC7100 
> components.
> 1.
> Kernel compiled with 1 warning which i fixed and I shall send patch on 
> Bugzilla.
> 2.
> Test application compiles (and runs correctly) with following warnings:
> cc1: warning: command line option "-Woverloaded-virtual" is valid for 
> C++/ObjC++ but not for C
> cc1: warning: command line option "-fno-rtti" is valid for C++/ObjC++ 
> but not for C
> I know these compiler flags come from ECOS_GLOBAL_CFLAGS but i need 
> info. how to get rid of them. Can I just remove them from 
> hal_arm_mac7100_mac7100evb.cdl? Btw. they are present in other platforms 
> too (LPC 2xxx, etc.)

Hi Ilija

I do not meet these warnings for LPC2XXX. I digged old post. It was
applied for hal_arm.cdl


1) I get just 2 warnings when I build kernel/tests for LPC2XXX target

/tmp/t$ echo $ECOS_REPOSITORY 

/tmp/t$ which arm-eabi-gcc

/tmp/t$ ecosconfig new olpch2294 kernel;ecosconfig tree&&make -s&&make -s tests
U CYGHWR_HAL_ARM_LPC2XXX, new inferred value LPC2294
headers finished
/opt/ecos/ecos-3.0b1/packages/hal/arm/lpc2xxx/var/v3_0b1/src/hal_diag.c: In function ‘cyg_hal_plf_serial_isr’:
/opt/ecos/ecos-3.0b1/packages/hal/arm/lpc2xxx/var/v3_0b1/src/hal_diag.c:260: warning: pointer targets in passing argument 1 of ‘cyg_hal_is_break’ differ in signedness
build finished
headers finished
build finished
/opt/ecos/ecos-3.0b1/packages/kernel/v3_0b1/tests/intr0.cxx: In function ‘void intr0_main()’:
/opt/ecos/ecos-3.0b1/packages/kernel/v3_0b1/tests/intr0.cxx:201: warning: the address of ‘void vsr0()’ will never be NULL

2) I have no warnings when I compile an application:

/tmp/t$ mkdir foo
/tmp/t$ cd foo
/tmp/t/foo$ echo 'void cyg_start(void){for(;;);}'>foo.c
/tmp/t/foo$ DST=foo SRCS=foo.c /opt/ecos/ecos-3.0b1/examples/build_Makefile ..
/tmp/t/foo$ make -s

because a built Make.params contains the substitutions:

ACTUAL_CFLAGS := $(subst -frtti,,$(ACTUAL_CFLAGS))
ACTUAL_CFLAGS := $(subst -Woverloaded-virtual,,$(ACTUAL_CFLAGS))



Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

More information about the Ecos-discuss mailing list