Re: $(and) and $(or) not working
On Wed, 2007-05-16 at 11:21 -0400, Noel Yap wrote: > I'm using the following: > > yapn:[EMAIL PROTECTED]:~/proj/aoeu> make --version > GNU Make 3.81beta4 I've seen a number of messages stating that people are using 3.81beta4; why are people still using a beta version over a year after the final version was released (3.81 was released on 01 Apr 2006)? Did it get shipped with some distribution or software package? If so you should file a bug and request an update to the released version. Anyway, as others have pointed out, the and and or functions weren't implemented in beta4. PS. Please choose one of bug-make or help-make, but not both. Cheers! -- --- Paul D. Smith <[EMAIL PROTECTED]> Find some GNU make tips at: http://www.gnu.org http://make.paulandlesley.org "Please remain calm...I may be mad, but I am a professional." --Mad Scientist ___ Bug-make mailing list Bug-make@gnu.org http://lists.gnu.org/mailman/listinfo/bug-make
RE: $(and) and $(or) not working
Works for me. 3.81 was released early in 2006 (the release note (http://savannah.gnu.org/forum/forum.php?forum_id=4380) uses non-ISO date format, so I'm unsure how to parse the month and day). You'll want to submit a minimally-sized example makefile with copy-and-pasted output. Like this: [EMAIL PROTECTED]:/tmp$ cat > Makefile $(error $(and 1)) [EMAIL PROTECTED]:/tmp$ make Makefile:1: *** 1. Stop. [EMAIL PROTECTED]:/tmp$ cat > Makefile $(error $(or 1)) [EMAIL PROTECTED]:/tmp$ make Makefile:1: *** 1. Stop. [EMAIL PROTECTED]:/tmp$ 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 [EMAIL PROTECTED]:/tmp$ -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Noel Yap Sent: Wednesday, May 16, 2007 08:22 To: [EMAIL PROTECTED]; bug-make@gnu.org Subject: $(and) and $(or) not working I'm using the following: yapn:[EMAIL PROTECTED]:~/proj/aoeu> make --version GNU Make 3.81beta4 Copyright (C) 2003 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 And the $(and) and $(or) functions always return empty. Has anyone else experienced this? Thanks, Noel ___ Bug-make mailing list Bug-make@gnu.org http://lists.gnu.org/mailman/listinfo/bug-make ___ Bug-make mailing list Bug-make@gnu.org http://lists.gnu.org/mailman/listinfo/bug-make
RE: $(and) and $(or) not working
On 16 May 2007 16:22, Noel Yap wrote: > I'm using the following: > > yapn:[EMAIL PROTECTED]:~/proj/aoeu> make --version > GNU Make 3.81beta4 Note the beta tag. > And the $(and) and $(or) functions always return empty. Has anyone > else experienced this? Probably means they weren't yet implemented at the time the beta was released. To find out for sure, try using the --warn-undefined-variables option; if the built-ins aren't implemented, those will just look like variable references to empty vars. cheers, DaveK -- Can't think of a witty .sigline today ___ Bug-make mailing list Bug-make@gnu.org http://lists.gnu.org/mailman/listinfo/bug-make
$(and) and $(or) not working
I'm using the following: yapn:[EMAIL PROTECTED]:~/proj/aoeu> make --version GNU Make 3.81beta4 Copyright (C) 2003 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 And the $(and) and $(or) functions always return empty. Has anyone else experienced this? Thanks, Noel ___ Bug-make mailing list Bug-make@gnu.org http://lists.gnu.org/mailman/listinfo/bug-make