From 8b2e7755472a3e26904af7980f18ab7baab478df Mon Sep 17 00:00:00 2001 From: Jacob Nevins Date: Fri, 13 Feb 2004 00:40:45 +0000 Subject: [PATCH] Makefile.cyg now generates a link map. [originally from svn r3861] --- mkfiles.pl | 1 + 1 file changed, 1 insertion(+) diff --git a/mkfiles.pl b/mkfiles.pl index 87c2dba9..37207ded 100755 --- a/mkfiles.pl +++ b/mkfiles.pl @@ -336,6 +336,7 @@ foreach $p (&prognames("GC")) { my $mw = $type eq "G" ? " -mwindows" : ""; $libstr = &objects($p, undef, undef, "-lX"); print &splitline("\t\$(CC)" . $mw . " \$(LDFLAGS) -o \$@ " . + "-Wl,-Map,$prog.map " . $objstr . " $libstr", 69), "\n\n"; } foreach $d (&deps("X.o", "X.res.o", "", "/")) {