--- 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/
|