egcs picking up wrong specs

Jim Wilson wilson@cygnus.com
Thu Sep 18 14:35:00 GMT 1997


	egcs failed to compile a part of XFree 3.3.1 because the directory in
	question had a subdirectory named specs. I checked all relevant
	environment vars and none contained '.' .

It is a problem with one of your environment variables.

The problem can be tricky to recognize, because an empty pathname is treated
the same as '.', and there is an implicit empty pathname if you have a colon
at the beginning or end of an environment variable.  For instance if you have
	setenv LIBRARY_PATH "/usr/local/mylibraries:"
they you actually two have directories in LIBRARY_PATH, the first of which
is /usr/local/mylibraries, and the second of which is '.'.

Jim



More information about the Gcc mailing list