This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: more cross-compiler work...
- From: Per Bothner <per at bothner dot com>
- To: Adam Megacz <gcj at lists dot megacz dot com>
- Cc: java at gcc dot gnu dot org
- Date: Mon, 10 Dec 2001 00:08:40 -0800
- Subject: Re: more cross-compiler work...
- References: <86elm3h85u.fsf@megacz.com>
Adam Megacz wrote:
> This doesn't make sense to me -- different platforms have different
> size types. Since, in theory, you can cross-compile from any platform
> to any other, how would it ever be possible to come up with a single
> value that would work for all cross-compile scenarios?
Not all, but should should be able to do something that works
on all targets (at least any that use 8-bit bytes) if you
use gcc or some other modern compilers, by using stdint.h.
--
--Per Bothner
per@bothner.com http://www.bothner.com/per/