This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Executable Size


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]