0

Hello GNU Tools

First thanks for an efficient RX toolchain making a fast and compact executable.

I experience a difference between the 1703 RX toolchain and the previous 1701 when using optimised libraries.

In 1703 the Linux version, the linker cannot find the optimised libraries while the Windows version still can.

In both cases I link using:

…~/toolchains/gcc_4.8.4.201703_gnurx-elf/bin/rx-elf-gcc -Wl,–start-group -Drx111 -mcpu=rx100 -nofpu -mlittle-endian-data -D__RX_LITTLE_ENDIAN__=1 -std=c11 -nostartfiles -Wall -Wextra -Wl,–warn-common -DROMSTART -loptc -loptm -O3 -g -g2  … “all my objects” … -Tlinker.ld -Wl,–end-group -Wl,-Map,<map file name>.map  -o <my elf file>.out

Only in the Linux version linking fails with:

/home/ubuntu/toolchains/gcc_4.8.4.201703_gnurx-elf/bin/../lib/gcc/rx-elf/4.8.4.201703-GNURX/../../../../rx-elf/bin/ld: cannot find -loptc
/home/ubuntu/toolchains/gcc_4.8.4.201703_gnurx-elf/bin/../lib/gcc/rx-elf/4.8.4.201703-GNURX/../../../../rx-elf/bin/ld: cannot find -loptm
collect2: error: ld returned 1 exit status

Or am I doing something wrong?

Best regards

Frank Kjul Larsen

Open Source Tools Support 回答が選択されました