Skip to contentSkip to conversation

Regarding the SEARCH_DIR() option in .lds file

U-Boot-Users Dheeraj Kaushik 2 participants 2 messages Jun 5, 2003

lore
Share & tools
lore
#0 lore raw

Dear Friends,
I am new to bootloaders and related stuff,please bear
with me if i am asking a very simple question.
I am using MBX860 board,while going through the board
directory ie. for my boarch.I saw following lines in the u-boot.lds file.
SEARCH_DIR(/lib); SEARCH_DIR(/usr/lib); SEARCH_DIR(/usr/local/lib); SEARCH_DIR(/usr/local/powerpc-any-elf/lib);
well i am using the Embedded Linux Development Kit
from
www.denx.de with installation path as /opt/eldk.I
want to know that here in this .lds file(in SEARCH_DIR()) do i need to mention the path for the /lib,/include for the cross tools that i am using on my platform.
Thanks in advance.
Best Regards

Dheeraj Kaushik

__________________________________
Do you Yahoo!?
Yahoo! Calendar - Free online calendar with sync to Outlook(TM).
http://calendar.yahoo.com

#1 lore raw

Hello,

Quoted 3 lines · in message <[email protected]> you wrote:

I am new to bootloaders and related stuff,please bear
with me if i am asking a very simple question.

It is a non-trivial question.

Quoted 6 lines

I am using MBX860 board,while going through the board
directory ie. for my boarch.I saw following lines in the u-boot.lds file.
SEARCH_DIR(/lib); SEARCH_DIR(/usr/lib); SEARCH_DIR(/usr/local/lib); SEARCH_DIR(/usr/local/powerpc-any-elf/lib);

Please see the documentation (info pages) for the GNU ld for detailed explanations.

Quoted 4 lines

www.denx.de with installation path as /opt/eldk.I
want to know that here in this .lds file(in SEARCH_DIR()) do i need to mention the path for the /lib,/include for the cross tools that i am using on

You don't have to. You can simply ignore this stuff.

Best regards,

Wolfgang Denk

Signature · 4 lines
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd at denx.de
Anyone who doesn't believe in miracles is not a realist.
                                                   - David Ben Gurion