On Tue, Dec 26, 2000 at 11:49:10AM -0800, John Clark wrote:
> Erik Mouw wrote:
> > Don't fiddle too long with the cross compiler stuff. Just download one
> > of the many available precompiled tool chains.
> 
> Where would these many be. Several of the sites that I have visited,
> seem to reference the standard GNU/GCC/etc archives, and generally
> indicate source, and hence a need to build a cross compilation environment.

Please check the list archives, this is really a FAQ. I build one
myself, you can get it at

  http://www.lart.tudelft.nl/lartware/compile-tools/

You can get another one (more complete with all GCC compilers) at

  http://www.handhelds.org/

> I have successfully installed a 'arm-elf' setup, and succuessfully compiled
> a linux-2.4.0-test8, with patches and differences from Russell King, and
> Nicolas Pitre respectively.
> 
> However, my 'real' target is an Intel now known as 'Xscale', and in terms
> of Arm archetecture, v5 is the appropriate level. As it is it seems I should
> have gotten a SA1100/1110 board and set up a working Linux system
> on that platform, rather than trying to cross compile.

You need a cross compiler (or another native ARM platform) to get the
machine to work at all. There is no such thing as a generic ARM kernel
that boots on all ARM platforms.

AFAIK you don't need a compiler that emits v5 instructions; lower
levels will work, but with a little loss of speed.

> At the moment I have a GNU/GCC snapshot
> gcc version 2.97 20001204 (experimental)
> which compiles certain things correctly, and a 'arm-elf' based on
> gcc version 2.95.2 19991024 (release)
> which compiles the kernel, with some slight modifications, on a Linux 2.2.16
> Pentium III class box.

Hmm, the GCC CVS snapshots are not suited for compiling kernels. There
are things that are known to break. The current consensus on the
linux-kernel mailing list is that compiling with GCC snapshots is only
encouraged to get the kernel compatible with the compiler. Maybe
Russell or Phil can comment on the usage of GCC snapshots on ARM?

> At the moment I have not got linux-2.4.0-test12 to compile completely
> with any of my current set of tools.

But does it run? The GCC snapshots are known to break the kernel in
subtle ways.


Erik

-- 
J.A.K. (Erik) Mouw, Information and Communication Theory Group, Department
of Electrical Engineering, Faculty of Information Technology and Systems,
Delft University of Technology, PO BOX 5031,  2600 GA Delft, The Netherlands
Phone: +31-15-2783635  Fax: +31-15-2781843  Email: [EMAIL PROTECTED]
WWW: http://www-ict.its.tudelft.nl/~erik/

_______________________________________________
http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm
Please visit the above address for information on this list.

Reply via email to