As you said is the linking stage. I wanted to use LD instead of CC for linking, but specs cannot be passed to ld and have to be passed to gcc. As I don't know what specs file is used for I used gcc for linking as in the examples.
Anyway until I know something more about specs and other aspects...
Can somebody tell my why this happens?
$(CC) -o $@ $(STARTUP_CODE_FILEPATH) $(OBJ_FILES_FULL) $(LDFLAGS)
works, but
$(CC) $(LDFLAGS) -o $@ $(STARTUP_CODE_FILEPATH) $(OBJ_FILES_FULL)
don't.
If libraries (whith other linker parameters in LDFLAGS) are specified after gpmain.o and code objects...
To DJWillis.
There are still some reminiscences of the old DevKit ARM in your new SDK
CC = arm-elf-gcc
CXX = arm-elf-g++
LD = arm-elf-gcc
AS = arm-elf-as
OBJCOPY = arm-elf-objcopy
is found in gp32_gpsdk.mk file on the root of your released sdk for eabi.
Just found that it would...
Hi. I am new to this forum, and new also to GP32. Although I thought that this machine was already forgotten, I've seen some recent posts showing that its not all true so I am now a little relieved because I will be able to get my development tools ready. Having into account that www.gpeu.com is...