This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Cross-compiler between machines with different floating pointformat



On Sun, 27 Aug 2000, Geoff Keating wrote:
> We don't have an emulator for the VMS floating-point format, so the
> compiler can't do any arithmetic at compile time on such values.  All
> VMS ports (which is I believe only VAX and Alpha at this point) are
> affected.

Er, the DEC VAX format emulation has been available for years and it
works fine.

I think what you are seeing is the result of a desire to choose
between VAX and IEEE numbers by a run-time compiler switch.  Because
of the way some of the preprocesor macros are defined, it would not be
possible to switch the emulator format at run time without
considerable work.  You can easily build a compiler targeting VAX
format or a different one targeting IEEE format, but not one that does
both at the same time.  This first came up in connection with the
Convex port, which has a switch to choose between the two formats, as
does alpha-vms.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]