f2c configure fix
craig@jcb-sc.com
craig@jcb-sc.com
Sun Feb 28 18:15:00 GMT 1999
>However, I am leery about the current setup in libf2c/configure.in. The
>problem is that proj.h includes either config.j or hconfig.j and then
>system.j. Your use of tm.h seems more correct since this is a test on
>the "target" arch for building multilibbed stuff. I'm not convinced
>that the autoconf test including proj.h which then gets
>config.j/hconfig.j is valid for a cross compiler when building target
>libraries. This has nothing to do with your problem though.
If tm.h should be included before config.h in a module like
gcc/fold-const.c, then it presumably should be in gcc/f/proj.h.
(Where config.h and tm.h would be wrapped by config.j and tm.j,
but that shouldn't matter here.)
But fold-const.c doesn't do that. Maybe it should, or maybe it's
not a good template (not the precise one I used or anything, just
an example here) for all of the host-machine code in g77?
tq vm, (burley)
More information about the Gcc-patches
mailing list