URL: <http://savannah.gnu.org/bugs/?33274>
Summary: Make no longer handles archive prereq's that include multiple files within the ( )'s Project: make Submitted by: None Submitted on: Tue 10 May 2011 02:47:40 PM UTC Severity: 3 - Normal Item Group: Bug Status: None Privacy: Public Assigned to: None Open/Closed: Open Discussion Lock: Any Component Version: 3.82 Operating System: POSIX-Based Fixed Release: None Triage Status: None _______________________________________________________ Details: The documentation for GNU make version 3.82 states: foolib(hack.o kludge.o) is equivalent to: foolib(hack.o) foolib(kludge.o) That was true for earlier versions, but not for 3.82, which doesn't seem to parse the first version properly. Demonstrating this requires no files, just a bit of a shell session which is included below. Thanks, CHRiS $ make --version GNU Make 3.82 Built for i686-pc-linux-gnu Copyright (C) 2010 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. $ uname -sro Linux 2.6.32-31-generic-pae GNU/Linux $ touch g.c $ touch f.c $ make "mylib.a(f.o g.o)" make: *** No rule to make target `mylib.a(f.o g.o)'. Stop. $ make "mylib.a(f.o)" "mylib.a(g.o)" cc -c -o f.o f.c ar rv mylib.a f.o ar: creating mylib.a a - f.o cc -c -o g.o g.c ar rv mylib.a g.o a - g.o rm f.o g.o $ /usr/bin/make --version GNU Make 3.81 Copyright (C) 2006 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. This program built for i486-pc-linux-gnu $ /usr/bin/make "mylib.a(f.o g.o)" cc -c -o f.o f.c cc -c -o g.o g.c ar rv mylib.a f.o r - f.o rm f.o g.o _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?33274> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/ _______________________________________________ Bug-make mailing list Bug-make@gnu.org https://lists.gnu.org/mailman/listinfo/bug-make