Thread (1 message) 1 message, 1 author, 2002-03-25

Re: powerpc cross tools question

From: Wolfgang Denk <hidden>
Date: 2002-03-25 22:18:22

In message [ref] you wrote:
The only thing I'm not satisfied with at this point is I still need to make a
link on my target file system with the full path to the CDK lib directory as
on my host...
This is simple to solve; see "Solution 2" on
http://www.denx.de/tips+tricks-en.html#libpath

You can simply add this to the compiler's "spec" file:

...
*link:
-m elf32ppclinux %{G*} %{shared:-shared} %{!shared: %{!static: -R/lib %{rdynamic:-export-dynamic} %{!dynamic-linker:-dynamic-linker /lib/ld.so.1}} %{static:-static}}
ort-dynamic} %{!dynamic-linker:-dynamic-linker /lib/ld.so.1}} %{static:-static}}
...
required patch to glibc may be in there...or someone who knows what the fix
is may chime in here :)
* ** *** Dongggggg *** ** *
If you still need help I would be happy to send you my scripts ( yes, I did
the whole thing in bash scripts...as a exercise mostly...would be just as
easy/easier to modify the denx makefiles.
Don't waste your time on this old stuff any more;  there  will  be  a
replacement soon :-)

Wolfgang Denk

--
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd@denx.de
Quote from the Boss... "I didn't say it was your fault.  I said I was
going to blame it on you."

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help