you can compile on the TS-7300 over NFS. It will take 20x longer than a cross
compile (at least it did on my machine).
If you don't need anything fancy. You can download a pre-built cross compiler.
I think TS must have one on its site. Then copy it
to /opt/crosstool/gcc-3.4.0-glibc-2.3.2/i686-unknown-linux-gnu/ (or wherever)
Put it in your path.
then you can cross-compile.
Its not too hard.
You can probably get it up and running faster than a single compile on the TS
board.
-Curtis.
On October 2, 2006 10:45 pm, dustinharriman wrote:
> --- In Curtis Monroe <> wrote:
> >
> > This site has a script that downloads, compiles and install a
> cross-compiler
> > for you:
> >
> > http://kegel.com/crosstool
> >
> > TS uses this one.
>
> Thank you Curtis!
>
> OK, stupid followup question I can't resist asking:
>
> Instead of getting into the complications of learning to
> cross-compile, why wouldn't I instead just natively compile the kernel
> in the TS-7300 itself, using the gcc, glibc, etc. that TS included in
> their pre-installed debian image? Of course, the ARM CPU is much
> slower than my PC's, but I can get decent disk IO if I compile in an
> NFS share from my linux PC. So hopefully it will only take like half
> a day. ;)
>
> In other words, is the cross-compiler stuff below somehow necessary,
> or just an alternative route to compiling natively that yields faster
> compile times (thereby making it preferred)?
>
> Cheers,
> Dustin
>
> My Blog: http://ca.blog.360.yahoo.com/dustinharriman
> RSS Feed:
> http://ca.blog.360.yahoo.com/rss-RkGSoVA1brWtXrVH9Gr5CzgVujwwGg--?cq=1
>
> "Freedom is not the capacity to do whatever we please; freedom is the
> capacity to make intelligent choices" -Francis Moore Lappe
>
>
>
>
>
>
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/
|