![]() | |||||||||||||
Messages in this thread |
On Sat, Jan 24, 1998 at 01:52:58AM +0000, Alan Cox wrote:
> It is the right way to do it if your cross C pre-processor is decent. If
> your native and cross build compilers generate different output you have a
> MAJOR bug. So cpp should (and I think does) evaluate maths in the targets
> maths format.
at least plain gcc 2.7 doesn't do it when you compile on a 64bit machine for
a 32bit target. I had to change HOST_WIDE_INT not to be of type long, when
I built the crosscompiler for my Mips machine on my Alpha.
Thomas.
--
See, you not only have to be a good coder to create a system like Linux,
you have to be a sneaky bastard too ;-)
[Linus Torvalds in <4rikft$7g5@linux.cs.Helsinki.FI>]
| ||||||||||||
| Last update: 2005-03-22 12:41 [W:0.174 / U:0.290 seconds] ©2003-2008 Jasper Spaans | |||||||||||||