Toolchain setup-env LDFLAGS definition broken?

Nigel Cunningham nigel at suspend2.net
Mon May 12 07:07:36 CEST 2008


Hi.

Further to my email the other day, I changed the definition of LDFLAGS
from

export LDFLAGS="-L${OMTOOL_DIR}/arm/arm-angstrom-linux-gnueabi/lib -Wl,-rpath-link,${OMTOOL_DIR}/arm/arm-angstrom-linux-gnueabi/lib -Wl,-O1"

to

export LDFLAGS="-L${OMTOOL_DIR}/arm/arm-angstrom-linux-gnueabi/lib -rpath-link ${OMTOOL_DIR}/arm/arm-angstrom-linux-gnueabi/lib -O1"

And I can now compile uboot. The help
for /usr/local/openmoko/arm/bin/arm-angstrom-linux-gnueabi-ld makes no
mention of accepting -Wl as an option, and -rpath-link should have a
space, not a comma between the option and its parameter.

I can't understand how this is working for anyone else.

Nigel





More information about the openmoko-kernel mailing list