This is the mail archive of the gcc-patches@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: gcc_version



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





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