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


Reply via email to