--- In "dustinharriman"
<> wrote:
>
> 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. ;)
I would guess that to set up a full development environment on the
TS7xx0 would take about as long as it would to figure out the
cross-compiler.... After all, the cross-compiler is just another
compiler. You just tell your system to use it instead of gcc....
>
> 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)?
>
It's easier in the long run. Running a compile natively would
probably take hours as opposed to minutes... Remember that you only
have 32 or 64 MB of ram, so you're running swap over nfs as well as
everything else...
Visit Jim Jackson's page and grab his bash scripts for setting up
the cross-compile environment.
Use the TS toolchain at first before you try rolling your own....
For a brief summary of the issues visit
<http://www.seiner.com/ts7000/index.php/CrossCompileTools>...
Good luck!
--Yan
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/
|