This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: gcc_version
- To: manfred at s-direktnet dot de, Manfred dot Hollstein at ks dot sel dot alcatel dot de
- Subject: Re: gcc_version
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Wed, 24 Jun 1998 20:52:33 -0600
- cc: egcs-patches at cygnus dot com
- Reply-To: law at cygnus dot com
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