Subject: Re: cross-compiler to VAX outputs bogus float literals.
To: Todd Whitesel <>
From: Anders Magnusson <>
List: port-vax
Date: 02/05/2000 13:15:32
> I'm utilizing a cross-compiler from various netbsd arch's (i386/arm32 mostly)
> to vax. However, I'm finding that the assembly files have bogus float literals
> in them, presumably because there is code somewhere which assumes the host
> format is VAX_FLOAT_FORMAT. It is also possible that I misconfigured the
> compiler; the vax bits of gnu/dist/gcc/configure in 1.4.2_ALPHA caused some
> sort of error and I changed them to look like all the other arch's.
There is an option somewhere in gcc called "SOFT_FLOAT" or something; that
makes gcc avoid storing floating point numbers as floats and instead
stores them in some other way (strings?). It is neccessary to set this
when a cross-compiler environment for vax is used.

-- Ragge