Laurent said:
Glenn Møller-Holst a écrit :
arm-elf-gcc -S source.c
Maybe before playing with assembler you may check some magical utilities
like: ... man ... info ... ;-)
Hi Laurent
Very funny. PS: I am rather new to gcc and make:
#info arm-elf-gcc
(a lot of non-informative information)
# man arm-elf-gcc
No manual entry for arm-elf-gcc
#
The documentatation is bloated with options:
http://gcc.gnu.org/onlinedocs/gcc-4.2.3/gcc/
- and this just for gcc - what then about arm-elf-gcc?
That was why I thought it was better to ask here.
Where is the best place for option "-S" in the makefile?:
"...
# ELF-file contains debug information, or not
# (possible values for DEBUG are 0 or 1)
# Extra debug flags can be specified in DBFLAGS
DEBUG = 1
#DBFLAGS =
# Optimization setting
# (-Os for small code size, -O2 for speed)
OFLAGS = -Os
# Extra general flags
# For example, compile for ARM / THUMB interworking (EFLAGS =
-mthumb-interwork)
EFLAGS =
# Program code run in ARM or THUMB mode
# Can be [ARM | THUMB]
CODE = ARM
# List C source files here.
CSRCS = main.cpp
# List assembler source files here
ASRCS =
...."
kind regards,
Glenn