This is the mail archive of the libstdc++@sourceware.cygnus.com mailing list for the libstdc++ project.


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

Re: Cross-compiling is broken. Help me fix it.


Benjamin Kosnik <bkoz@cygnus.com> writes:

[...]

| More importantly, mknumeric_limits does a pretty complete job of probing
| the (host?) floating point environment as part of it's creation of
| <limits>. I don't think this will work for things that are cross compiles
| (because a) sim might not be built and b) sim probably can't handle the
| fp-env probe (?? has anybody tried it? Gaby how likely is this to work?)

Currently, mknumeric_limits does not support cross-compiling. Because
for trapping and most floating point characteristics, we're testing
the running machine.

| So really, the probable solution is to pre-generate a default "32bit"
| <limits> file and use that for cross-compiles. . . . weak, but I don't see
| any other way.

Yes. I think that is what the compiler used to do.

-- Gaby

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