This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
compiler switch
- To: <ecos-discuss at sources dot redhat dot com>
- Subject: [ECOS] compiler switch
- From: Jörg Rapka <joerg dot rapka at duagon dot com>
- Date: Tue, 14 Nov 2000 18:18:45 +0100
Dear ecos developer
I try to port the flash support to my m68k based board.
I took file "flash_edb7xxx.cdl":
...
make -priority 1 {
flash_erase_block.o: $(REPOSITORY)/$(PACKAGE)/src/flash_erase_block.c
$(CC) -S $(INCLUDE_PATH)
$(CFLAGS) -g0 -mcpu=strongarm -fno-function-sections
$(REPOSITORY)/$(PACKAGE)/src/flash_erase_block.c
echo " .globl flash_erase_block_end" >>flash_erase_block.s
echo "flash_erase_block_end:" >>flash_erase_block.s
$(CC) -c -o flash_erase_block.o flash_erase_block.s
$(AR) rcs $(PREFIX)/lib/libtarget.a flash_erase_block.o
...
There I found the compiler switch "-g0". I scan the gcc documentation, but I
did
not found a description for it. Could you help me or point me to the
documentation?
Best regards, Joerg