I'm trying to create a tool chain for an old arm926ej NAS. The firmware is using EABI4.
I just get segfault with any executable I build with gcc-arm-linux-gnueabi.
I tried just adding CFLAGS=-Wa,-meabi=4 to the COMMON_CONFIG, but that also affects the host compiler so it didn't go very far at all.
I found CFLAGS_FOR_TARGET would change some things, but not all.
Do you have a systematic way to add CFLAGS to pass to all the cross tools?
I'm trying to create a tool chain for an old arm926ej NAS. The firmware is using EABI4. I just get segfault with any executable I build with gcc-arm-linux-gnueabi.
I tried just adding
CFLAGS=-Wa,-meabi=4
to the COMMON_CONFIG, but that also affects the host compiler so it didn't go very far at all.I found CFLAGS_FOR_TARGET would change some things, but not all.
Do you have a systematic way to add CFLAGS to pass to all the cross tools?