gcc_version
Jeffrey A Law
law@cygnus.com
Wed Jun 24 19:56:00 GMT 1998
I think we've got some logic problems with this new code.
I do something like:
/puke/law/egcs.cygnus.com/egcs/configure
topsrcdir is set to /puke/law/egcs.cygnus.com/egcs/..
The trailing ".." is wrong. The net result is we do not find
gcc/version.c and cc1, cc1plus, etc end up installed into the
"UNKNOWN" directory because we didn't find gcc/version.c
Worse yet the compiler is looking in "egcs-2.91.42" instead of
"UNKNOWN".
So, first I think we need to fix the toplevel configure to find the
right topsrcdir.
Second, gcc should be using the version # passed down from the toplevel
configure instead of setting its own version #. This will avoid
inconsistencies. (see version/mainversion in Makefile.in).
jeff
More information about the Gcc-patches
mailing list