mirror of
git://gcc.gnu.org/git/gcc.git
synced 2024-12-18 04:48:55 +08:00
Support a .exe extension to gcov.
From-SVN: r18806
This commit is contained in:
parent
9db4940cd6
commit
2ea9a96537
@ -1,5 +1,7 @@
|
|||||||
Tue Mar 24 10:44:11 1998 Nick Clifton <nickc@cygnus.com>
|
Tue Mar 24 10:44:11 1998 Nick Clifton <nickc@cygnus.com>
|
||||||
|
|
||||||
|
* Makefile.in (gcov$(exeext)): Support .exe extension to gcov.
|
||||||
|
|
||||||
* collect2.c (find_a_file): Add debugging.
|
* collect2.c (find_a_file): Add debugging.
|
||||||
(find_a_file): Test for win32 style absolute paths if
|
(find_a_file): Test for win32 style absolute paths if
|
||||||
DIR_SERPARATOR is defined.
|
DIR_SERPARATOR is defined.
|
||||||
|
@ -39,7 +39,7 @@ SUBDIRS =@subdirs@
|
|||||||
|
|
||||||
# Selection of languages to be made.
|
# Selection of languages to be made.
|
||||||
# This is overridden by configure.
|
# This is overridden by configure.
|
||||||
LANGUAGES = c proto gcov @all_languages@
|
LANGUAGES = c proto gcov$(exeext) @all_languages@
|
||||||
|
|
||||||
# Selection of languages to be made during stage1 build.
|
# Selection of languages to be made during stage1 build.
|
||||||
# This is overridden by configure.
|
# This is overridden by configure.
|
||||||
@ -1868,7 +1868,9 @@ test-protoize-simple: ./protoize ./unprotoize $(GCC_PASSES)
|
|||||||
|
|
||||||
gcov.o: gcov.c gcov-io.h
|
gcov.o: gcov.c gcov-io.h
|
||||||
|
|
||||||
gcov: gcov.o $(LIBDEPS)
|
# Only one of 'gcov' or 'gcov.exe' is actually built, depending
|
||||||
|
# upon whether $(exeext) is empty or not.
|
||||||
|
gcov$(exeext): gcov.o $(LIBDEPS)
|
||||||
$(CC) $(ALL_CFLAGS) $(LDFLAGS) gcov.o $(LIBS) -o $@
|
$(CC) $(ALL_CFLAGS) $(LDFLAGS) gcov.o $(LIBS) -o $@
|
||||||
#
|
#
|
||||||
# Build the include directory. The stamp files are stmp-* rather than
|
# Build the include directory. The stamp files are stmp-* rather than
|
||||||
|
Loading…
Reference in New Issue
Block a user