Comment # 22 on bug 936463 from
There seems to be several ways to specify linker:

- Symlink in /usr/lib64/gcc/armv7hl-suse-linux-gnueabi/5/as

- --with-as + --with-ld in the compilation time.

- Change PATH, COMPILER_PATH and/or BINUTILS_ROOT environment variables.

BINUTILS_ROOT looks unuseful. armv7hl-suse-linux-gnueabi-gcc-5 searches in
$BINUTILS_ROOT/lib64/gcc/armv7hl-suse-linux-gnueabi/5/as

COMPILER_PATH seems to be better.
This works (well, still cannot link in Factory due to missing libgcc.a):
COMPILER_PATH=/usr/arm-suse-linux-gnueabi/bin armv7hl-suse-linux-gnueabi-gcc-5
main.c -o main

- /usr/lib64/gcc/*/5/specs or /usr/lib64/gcc/*/5/device-specs

- Maybe with COLLECT_GCC_OPTIONS environment variable.


You are receiving this mail because: