GET_ENVIRONMENT
Mike Stump
mrs@wrs.com
Tue Mar 24 14:56:00 GMT 1998
gcc -DIN_GCC -DSVR4 -g -DHAVE_CONFIG_H -o collect2 collect2.o tlink.o hash.o \
cplus-dem.o underscore.o version.o choose-temp.o obstack.o alloca.o
Undefined first referenced
symbol in file
GET_ENVIRONMENT collect2.o
ld: fatal: Symbol referencing errors. No output written to collect2
Tue Mar 24 10:44:11 1998 Nick Clifton <nickc@cygnus.com>
* collect2.c (find_a_file): Add debugging.
(find_a_file): Test for win32 style absolute paths if
DIR_SERPARATOR is defined.
(prefix_from_string): Add debugging.
(main): Test for debug command line switch at start of program
execution.
(main): Use GET_ENVIRONMENT rather than getenv().
Did I miss updating something?
More information about the Gcc-bugs
mailing list