[arm-gnu] assembler code plus source listing
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[arm-gnu] assembler code plus source listing
- To: arm-gnu@xxxxxxxxxxxxxxxx
- Subject: [arm-gnu] assembler code plus source listing
- From: m s <woella.sie@xxxxxxxxx>
- Date: Wed, 8 Jun 2011 12:49:55 +0200
i'm trying to get assembler code AND the original c code as comment in these
asm files out of the compiler
which flag should i use for
CC_FLAGS
AS_FLAGS
at the time i'm doing this this way:
CC_FLAGS=-S -g -Wa,-alh,-L -I$(MAKEDIR)\pesy\inc -I$(MAKEDIR)\pst\inc
-I$(MAKEDIR)\$(INC) \
-DNEC -DNEC_GHS $(DEF_DEBUG) -D__interrupt=
AS=$(CC)
AS_FLAGS=-c -g -ah
SOURCE=core_test.c
$(INTDIR)\core_test.o : $(SOURCE) "$(INTDIR)"
-@erase $*.s 2>nul
$(CC) $(CC_FLAGS) $(CC_WITH_ASM) -o $*.s $(SOURCE)
$(AS) $(AS_FLAGS) -o $*.o $*.s
where shoudl i put the missing flags out of -a[cdghlns]
and which of them should i use
thanks for help