0

Hello support

I am using rx-elf-gcc 8.3.0.202405 on RX26T.

I want to use 64 bit doubles, and therefore I compile with -m64bit-doubles

-Wall -Winvalid-pch -Wextra -std=c18 -O2 -g -misa=v3 -fpu -mlittle-endian-data -Drx26t=1 -D__RX_LITTLE_ENDIAN__=1 -ffunction-sections -fdata-sections -fshort-enums -fno-builtin -fno-function-cse -fno-caller-saves -m64bit-doubles -mjsr

Compiling goes fine, but linking fails. I receive an “undefined reference to `__extendsfdf2′”

I call the linker (through GCC) with following flags:

-Wl,–as-needed -Wl,–no-undefined -T/work/platform/arch/rx/rx26t/linker.ld -Wl,–warn-common -Wl,–gc-sections -nostartfiles -specs=nano.specs -specs=lnosys.specs -Wl,–start-group -lm -lc -Wl,–end-group

What must I do to make the program link?

Best regards, Frank

Open Source Tools Support 回答済