From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carlos Camargo To: Jonathan Larmour Cc: "'ecos-discuss@sources.redhat.com'" Subject: Re: [ECOS] Executable Size Date: Thu, 31 May 2001 10:45:00 -0000 Message-id: <20010531174541.55072.qmail@web14001.mail.yahoo.com> References: <3B167C20.860EA645@redhat.com> X-SW-Source: 2001-05/msg00569.html Hi.. Jonathan thanks for your answer.. When i compile the twothreads example: arm-elf-gcc -mcpu=arm7di -c -o twothreads.o -g -Wall -I/root/ecos-work/install/include -ffunction-sections -fdata-sections twothreads.c arm-elf-gcc -mcpu=arm7di -nostartfiles -L/root/ecos-work/install/lib -Wl,--gc-sections -o twothreads twothreads.o -Ttarget.ld -nostdlib and i execute arm-elf-size twothreads: text data bss dec hex filename 45880 1956 23544 71380 116d4 twothreads When i Buils whitout "-g" option arm-elf-gcc -mcpu=arm7di -c -o twothreads.o -static -Wall -I/root/ecos-work/install/include -ffunction-sections -fdata-sections twothreads.c arm-elf-gcc -mcpu=arm7di -nostartfiles -L/root/ecos-work/install/lib -Wl,--gc-sections -o twothreads twothreads.o -Ttarget.ld -nostdlib text data bss dec hex filename 45880 1956 23544 71380 116d4 twothreads But, i don`t understand this information, when i use man size don´t provide information about this format Thanks Carlos Camargo __________________________________________________ Do You Yahoo!? Get personalized email addresses from Yahoo! Mail - only $35 a year! http://personal.mail.yahoo.com/