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]

compiler switch


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



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