ts-7000
[Top] [All Lists]

Re: [ts-7000] Re: are TS crosstool toolchains really non-relocatable?

To:
Subject: Re: [ts-7000] Re: are TS crosstool toolchains really non-relocatable?
From: "Robert P. J. Day" <>
Date: Tue, 27 Jul 2010 12:20:38 -0400 (EDT)
  regarding toolchain relocatability:

On Tue, 27 Jul 2010, naturalwatt wrote:

... snip ...
> I think the paths used by gcc for include directories and library
> search paths are hardcoded into gcc.
>
> For example:
>
> gcc -v:
>
> Reading specs 
> from/opt/crosstool/gcc-3.3.4-glibc-2.3.2/arm-unknown-linux-gnu/lib/gcc-lib/arm-unknown-linux-gnu/3.3.
> 4/specs
> Configured 
> with:/Users/martin/linux/crosstool-0.42/build/arm-unknown-linux-gnu/gcc-3.3.4-glibc-2.3.2/gcc-3.3.4/co
> nfigure --target=arm-unknown-linux-gnu --host=powerpc-host_apple-darwin9.0.0
> --prefix=/opt/crosstool/gcc-3.3.4-glibc-2.3.2/arm-unknown-linux-gnu--with-headers=/opt/crosstool/gcc-3.3.4-glibc-2.3.2/arm-unknown-linux-gnu/arm-unknown-linux-gnu/i
> nclude--with-local-prefix=/opt/crosstool/gcc-3.3.4-glibc-2.3.2/arm-unknown-linux-gnu/arm-unknown-linux-
> gnu --disable-nls --enable-threads=posix --enable-symvers=gnu 
> --enable-__cxa_atexit
> --enable-languages=c,c++ --enable-shared --enable-c99 --enable-long-long
> Thread model: posix
> gcc version 3.3.4
>
> So that's what you'll break if you relocate things.
>
> Martin

  i'm not convinced, for the simple reason that i could cross-compile
a trivial "hi, world" program with the toolchain installed elsewhere
as long as i had the search path set properly.  if what you say is
true, wouldn't that have been impossible?

rday


-- 

========================================================================
Robert P. J. Day                               Waterloo, Ontario, CANADA

        Top-notch, inexpensive online Linux/OSS/kernel courses
                        http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================


------------------------------------

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