ts-7000
[Top] [All Lists]

[ts-7000] Re: How to tell crosstolls where libraries / headers are?

To:
Subject: [ts-7000] Re: How to tell crosstolls where libraries / headers are?
From: "cingospet" <>
Date: Mon, 04 Jun 2007 23:06:24 -0000
--- In  "djtopper" <> wrote:
Hi-

The solution I used on a Mac laptop was to first create symbolic links to the 
tools.  The 
links are "arm-xxx" where "xxx" is the tool.  I then defined an environment 
variable 
ARMBASE=/opt/crosstool/gcc-3.4.5-glibc-2.3.2/arm-unknown-linux-gnu/arm-
unknown-linux-gnu and then changed path to be PATH=/opt/crosstool/gcc-3.4.5-
glibc-2.3.2/arm-unknown-linux-gnu/bin:$ARMBASE/bin:$ARMBASE:$PATH

A simple hello.c would be compiled as

arm-gcc -I$ARMBASE/usr/local/include -I$ARMBASE/include hello.c

The paths, and tool names, can be passed to any of the configure shell scripts.
Craig
>
> Hi all,
> 
> I've been using Dan Kege's crosstool to compile binaries for my
> TS-7200 board on my Intel laptop.  I've managed to compile a new
> Debian kernel, as well as parts of the alsa audio library.
> 
> Recently, however, I've been running into trouble finding various
> libraries and headers for some other apps.
> 
> Where do I tell crosstools where libraries and headers are?  Is there
> a global variable?  It doesn't seem to find anything in the usual
> places (defined by /etc/ld.so.conf) for example.
> 
> Thanks,
> 
> DT
>




 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/ts-7000/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/ts-7000/join
    (Yahoo! ID required)

<*> To change settings via email:
     
    

<*> To unsubscribe from this group, send an email to:
    

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 

<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU