[ECOS] Executable Size

Carlos Camargo carlos_ivan_camargo@yahoo.com
Thu May 31 10:02:00 GMT 2001


Hi all.

I have a question:

I have arm evaluator 7t, i build ecos:

ecosconfig new e7t
ecosconfig tree
make

The Makefile is:

PKG_INSTALL_DIR = /root/ecos-work/install
XCC = arm-elf-gcc -mcpu=arm7di                        
ifeq ($(XCC),sh-elf-gcc)
#CFLAGS        = -ggdb
else
#CFLAGS        = -g
CFLAGS		= -static
endif

CXXFLAGS      = $(CFLAGS)

EXTRACFLAGS   = -Wall -I$(PKG_INSTALL_DIR)/include
-ffunction-sections -fdata-sections

EXTRACXXFLAGS = $(EXTRACFLAGS) -fno-exceptions
-fno-rtti -fvtable-gc -finit-priority

LDFLAGS       = -nostartfiles -L$(PKG_INSTALL_DIR)/lib
-Wl,--gc-sections
LIBS          = -Ttarget.ld -nostdlib

LD            = $(XCC)
XCXX          = $(XCC)



When i compile the hello world example the executable
size is 1.1M, is this posible??? How i Can erase
drivers for ecos in linux???

Thanks

Carlos Camargo


__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail - only $35 
a year!  http://personal.mail.yahoo.com/



More information about the Ecos-discuss mailing list