This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Executable Size
- To: "Narayana, Venkat A." <NarayVA at nsc-msg01 dot network dot com>, "'ecos-discuss at sources dot redhat dot com'" <ecos-discuss at sources dot redhat dot com>
- Subject: [ECOS] Executable Size
- From: Carlos Camargo <carlos_ivan_camargo at yahoo dot com>
- Date: Thu, 31 May 2001 10:02:29 -0700 (PDT)
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/