Re: Variable definition in eval'd function

2008-01-05 Thread Eli Zaretskii
> Date: Thu, 3 Jan 2008 05:57:10 -0700 > From: "Philip Guenther" <[EMAIL PROTECTED]> > Cc: help-make@gnu.org > > You're missing section 3.9, "How `make' Reads a Makefile". It's > explained there how the expansion of variables occurs immediately (as > the makefile is parsed) in some contexts and i

Re: debugging parallel make

2008-01-06 Thread Eli Zaretskii
> From: Paul Smith <[EMAIL PROTECTED]> > Date: Sun, 06 Jan 2008 10:17:49 -0500 > Cc: help-make@gnu.org > > On Sun, 2008-01-06 at 02:05 -0500, Dan McMahill wrote: > > I'm looking for something along the lines of > > > > [slot1] cc -c file1.c > > [slot2] cc -c file2.c > > [slot2] cc -c file3.c > >

Re: IS @IF EXIST wont work in MAKE

2008-01-16 Thread Eli Zaretskii
> Date: Wed, 16 Jan 2008 17:50:30 +0530 > From: "Naik, Gouri" <[EMAIL PROTECTED]> > > I have one more problem > > In my make file when I wrote the bellow line it is not working > > > > "@IF EXIST $(TARGET_PATH)\source.zip del $(TARGET_PATH)\source.zip" > > > > Can you pls tell me what the

Re: Cleansing the environment automatically

2008-01-19 Thread Eli Zaretskii
> Date: Sat, 19 Jan 2008 04:26:49 + > From: Greg Chicares <[EMAIL PROTECTED]> > Cc: David Wuertele <[EMAIL PROTECTED]>, help-make@gnu.org > > On 2008-01-19 03:17Z, Paul Smith wrote: > > On Sat, 2008-01-19 at 01:09 +, David Wuertele wrote: > >> I always try to create a more strict configura

Re: A query about GNU Make development.

2008-01-25 Thread Eli Zaretskii
> From: "Shlomi Ben-Zvi" <[EMAIL PROTECTED]> > Date: Fri, 25 Jan 2008 10:02:35 - > > I am walking through the make-3.81 code and came across the following > statement in hash.c's hash_init() > ht->ht_vec = (void**) CALLOC (struct token *, ht->ht_size); > > This works perfectly fine under MS-V

Re: Problems compiling GNU make on Windows

2008-02-02 Thread Eli Zaretskii
> Date: Fri, 1 Feb 2008 17:36:54 -0800 (PST) > From: Joe Nannery <[EMAIL PROTECTED]> > > I am new to the whole compiling thing. I invoke vcvars32.bat and am using > the nmakefile or build_w32 file included in the directory. everything seems > to be going okay, albeit a few unsafe variable/mism

Re: few simple make syntax questions

2008-02-08 Thread Eli Zaretskii
> From: "Dave Korn" <[EMAIL PROTECTED]> > Date: Fri, 8 Feb 2008 15:12:12 - > Cc: help-make@gnu.org > > > The same thing as "ls *~": match all the files that end in tilde ("~"). > > And to address the issue of /why/: appending tilde to a filename is a unix > convention for indicating a tempo

Re: Finding Circular Dependencies

2008-02-10 Thread Eli Zaretskii
> Date: Mon, 11 Feb 2008 01:35:37 +0100 > From: Alexander Kriegisch <[EMAIL PROTECTED]> > Cc: help-make@gnu.org > > This is an interesting question. I experimented a bit and tried to solve > a more general problem, too: visualising makefile dependencies. I found > a Perl module named Makefile::Gra

Re: Finding Circular Dependencies

2008-02-11 Thread Eli Zaretskii
> From: "Dave Korn" <[EMAIL PROTECTED]> > Cc: > Date: Mon, 11 Feb 2008 18:36:36 - > > On 11 February 2008 04:24, Eli Zaretskii wrote: > > > > > Instead of using Perl, how about adding code to Make itself to output > > the data required

Re: Finding Circular Dependencies

2008-02-12 Thread Eli Zaretskii
> From: Paul Smith <[EMAIL PROTECTED]> > Cc: Dave Korn <[EMAIL PROTECTED]>, [EMAIL PROTECTED], > help-make@gnu.org > Date: Tue, 12 Feb 2008 09:46:34 -0500 > > The thing to remember is that GNU make's dependency > graph is not a single-rooted tree. It's a set of directed acyclic > graphs.

Re: running parallel make jobs and avoiding jumbled/garbled output?

2008-02-22 Thread Eli Zaretskii
> From: Per Jessen <[EMAIL PROTECTED]> > Date: Thu, 21 Feb 2008 11:55:50 +0100 > Y-Perjessen: Thu Feb 21 11:55:50 CET 2008 > > I use "make -jN" quite a lot for parallelizing many jobs (all kinds, not > just compile jobs). The output is obviously jumbled, and it's not > really very useful as such.

Re: running parallel make jobs and avoiding jumbled/garbled output?

2008-02-27 Thread Eli Zaretskii
> From: Per Jessen <[EMAIL PROTECTED]> > Date: Wed, 27 Feb 2008 08:56:55 +0100 > > I've not yet investigated the problem, but when running with -j4, a lot > of the jobs were simply not run or only partially done. I'm not > entirely certain about how to track this down - your thoughts would be > mu

Re: running parallel make jobs and avoiding jumbled/garbled output?

2008-02-29 Thread Eli Zaretskii
> From: Per Jessen <[EMAIL PROTECTED]> > Date: Thu, 28 Feb 2008 20:35:13 +0100 > Y-Perjessen: Thu Feb 28 20:35:13 CET 2008 > > I've been reviewing the dependencies, and I'm pretty certain they're > all explicitly stated. It's not a very complex Makefile, it's just > got a lot of targets. > >

Re: running parallel make jobs and avoiding jumbled/garbled output?

2008-02-29 Thread Eli Zaretskii
> From: Per Jessen <[EMAIL PROTECTED]> > Date: Fri, 29 Feb 2008 11:47:04 +0100 > Y-Perjessen: Fri Feb 29 11:47:04 CET 2008 > > The TARGET.email is usually the one that isn't made. I've checked a > couple of logs, and the dependencies are made (xml, data, html, text), > but not TARGET.email. And

Re: running parallel make jobs and avoiding jumbled/garbled output?

2008-02-29 Thread Eli Zaretskii
> From: Per Jessen <[EMAIL PROTECTED]> > Date: Fri, 29 Feb 2008 15:55:08 +0100 > Y-Perjessen: Fri Feb 29 15:55:08 CET 2008 > > > Also, it looks like Make is considering your targets several times, > > for some reason. For example, the following passage appears several > > times in the output (8 t

Re: running parallel make jobs and avoiding jumbled/garbled output?

2008-02-29 Thread Eli Zaretskii
> From: Per Jessen <[EMAIL PROTECTED]> > Date: Fri, 29 Feb 2008 12:40:58 +0100 > Y-Perjessen: Fri Feb 29 12:40:58 CET 2008 > > I ran it with -d and -j4, but in a terminal which as expected worked > just fine. Output: http://jessen.ch/files/make-d-j4-debug1.gz > > Then I ran under cron - the out

Re: running parallel make jobs and avoiding jumbled/garbled output?

2008-03-01 Thread Eli Zaretskii
> From: Per Jessen <[EMAIL PROTECTED]> > Date: Fri, 29 Feb 2008 18:38:09 +0100 > Y-Perjessen: Fri Feb 29 18:38:09 CET 2008 > > Eli Zaretskii wrote: > > > Can you show a self-contained excerpt from this Makefile, where all > > the dependencies and the corre

Re: running parallel make jobs and avoiding jumbled/garbled output?

2008-03-04 Thread Eli Zaretskii
> From: Per Jessen <[EMAIL PROTECTED]> > Date: Tue, 04 Mar 2008 08:50:31 +0100 > Y-Perjessen: Tue Mar 4 08:50:31 CET 2008 > > Well, I've eliminated the userlist target and simply made 'all' > dependent on all of the 'TARGET.send' targets. userlist was really > superfluous. > > Didn't solve the

Re: MAKEFLAGS var does not show "-j" param ???

2008-03-11 Thread Eli Zaretskii
> From: Paul Smith <[EMAIL PROTECTED]> > Date: Tue, 11 Mar 2008 10:35:25 -0400 > Cc: help-make@gnu.org > > On Tue, 2008-03-11 at 15:26 +0100, Fabrice GIRARDOT wrote: > > It seems that the MAKEFLAGS variable does not always > > show the "-j" option given to make on its command line. > > > I'm usin

Re: Error!!! while using make to build GCC

2008-03-22 Thread Eli Zaretskii
> Date: Sat, 22 Mar 2008 07:55:18 -0700 (PDT) > From: se7en_hills <[EMAIL PROTECTED]> > Cc: > > > I have tried to configure GCC-4.1.2 on my system. I have > windows-xp-sp2 and tried cygwin to build it > After i configure , when i build i get the following messsage > > [EMAIL PROTECTED] /c

Re: link problem

2008-03-28 Thread Eli Zaretskii
> From: Alberto Luaces <[EMAIL PROTECTED]> > Date: Fri, 28 Mar 2008 11:38:11 +0100 > > $ make -p | grep LINK > ... > LINK.o = $(CC) $(LDFLAGS) $(TARGET_ARCH) > LINK.p = $(PC) $(PFLAGS) $(CPPFLAGS) $(LDFLAGS) $(TARGET_ARCH) > LINK.cc = $(CXX) $(CXXFLAGS) $(CPPFLAGS) $(LDFLAGS) $(TARGET_ARCH) > LINK

Re: spaces...

2008-03-30 Thread Eli Zaretskii
> From: omer <[EMAIL PROTECTED]> > Date: Sun, 30 Mar 2008 12:46:53 +0200 > > Hi, > > > I would like to test if a library file exist. To make this, I have used the > > function "wildcard" who return me nothing if the file doesn't exist. My > > problem is when the full path of the file contain a sp

Re: how to reply on digest message?

2008-04-29 Thread Eli Zaretskii
> From: Paul Smith <[EMAIL PROTECTED]> > Date: Tue, 29 Apr 2008 11:17:46 -0400 > Cc: help-make@gnu.org > > If your email client doesn't offer functionality like this then you're > reduced to cutting and pasting etc. Or, you can get a better email > client. Such as Emacs, for example, which has t

Re: switching current working directory inside a makefile

2008-05-29 Thread Eli Zaretskii
> From: Paul Smith <[EMAIL PROTECTED]> > Date: Thu, 29 May 2008 13:07:59 -0400 > Cc: Help-make@gnu.org > > My limited knowledge of Windows leads me to believe that the working > directory is a function of the system (or at least the login) rather > than the process, like it is on UNIX. So, changi

Re: switching current working directory inside a makefile

2008-05-29 Thread Eli Zaretskii
> From: "Dave Korn" <[EMAIL PROTECTED]> > Date: Thu, 29 May 2008 18:28:56 +0100 > Cc: Help-make@gnu.org > > Paul Smith wrote on 29 May 2008 18:08: > > > My limited knowledge of Windows leads me to believe that the working > > directory is a function of the system (or at least the login) rather >

Re: Clock skew detected, how to fix?

2008-06-05 Thread Eli Zaretskii
> Date: Thu, 5 Jun 2008 09:45:30 -0700 (PDT) > From: EricDeb <[EMAIL PROTECTED]> > Cc: > > I then did a "ls --full-time" on three different files: 1. the .o file from > "the future", 2. the text file, 3. the library file from the archiver. In > this case, all of the timestamps are identical down

Re: make 3.81 giving error when PATH conatins ":"

2008-06-13 Thread Eli Zaretskii
> Date: Thu, 12 Jun 2008 23:38:24 -0700 (PDT) > From: CN <[EMAIL PROTECTED]> > Cc: > > If I change my path to normal windows format(e:/cnair/tmp), then make is > giving me problem. > > $ make all > Makefile:4: *** target pattern contains no `%'. Stop. > > Is there any solution which I can buil

Re: making the new make

2008-10-21 Thread Eli Zaretskii
> From: "mark crane" <[EMAIL PROTECTED]> > Date: Tue, 21 Oct 2008 13:36:48 +0100 > > i have rn from a bash shell.. ./configure > > and i am geting the following errors.. can anyone help > > ./configure:: line 14: $\'r': command not found > ./confgiure: line 22 syntax error unexpected token 'elif

Re: making the new make

2008-10-21 Thread Eli Zaretskii
> From: "mark crane" <[EMAIL PROTECTED]> > Date: Tue, 21 Oct 2008 13:52:35 +0100 > > Hi, Well that certainly corrected that; now onto th next problem; > > > after a while configure gives me the following error; > > > configure: error: cannot run /bin/sh config/config.sub Is there a directory

Re: making the new make

2008-10-21 Thread Eli Zaretskii
> From: "mark crane" <[EMAIL PROTECTED]> > Date: Tue, 21 Oct 2008 14:00:52 +0100 > > I had to convert /config.sub to a unix file.. > > Configure is now giving me an error; > > configure: error: cannot guess buil type: you must specify one? There's another script called config.guess, probably it

Re: Operations in order of timestamps

2009-02-07 Thread Eli Zaretskii
> Date: Sat, 7 Feb 2009 00:49:47 -0500 > From: Satyendra Kumar Rai > > I need to a perform a specific operation on a list of files in a given > directory in the order of the timestamps. Can someone please tell me how to > go about this? Use `directory-files-and-attributes' to generate a list o

Re: Convert nmake Makefile to GNU Makefile

2009-03-03 Thread Eli Zaretskii
> Date: Tue, 3 Mar 2009 14:22:01 -0500 > From: "Achugatla, Vijay K. (LNG-CON)" > Cc: help-make@gnu.org > > Is there any option or directive available in GNU make that searches a > directory and gets the names of all the files available in that and then > store that in a variable? You want the $(

Re: define issues

2009-03-16 Thread Eli Zaretskii
> Date: Mon, 16 Mar 2009 16:47:16 -0700 > From: Philip Guenther > Cc: help-make@gnu.org > > To be blunt, $(eval) should be relegated to the "EXPERTS ONLY" section > of the manual...and if you don't understand what I meant by "before vs > during vs afterwards", then you're not an expert and should

Re: define issues

2009-03-17 Thread Eli Zaretskii
> Date: Mon, 16 Mar 2009 23:55:08 -0700 > From: Philip Guenther > Cc: rick.apple...@tno.nl, help-make@gnu.org > > On Mon, Mar 16, 2009 at 9:16 PM, Eli Zaretskii wrote: > ... > > Maybe we should just improve the documentation to better explain what > > $(eval)

Re: How to consider filenames containing "::" character sequence ?

2009-04-24 Thread Eli Zaretskii
> Date: Fri, 24 Apr 2009 01:48:57 -0700 (PDT) > From: Bobsky > Cc: > > EXTRA_DIST=foo::bar.ext > > The problem is that when running the dist target, GNU make returns a message > about a "multiple target schema definition" (the "french" message is > "schémas de cibles multiples"). I think that

Re: How to access make argument? (simple question)

2009-05-14 Thread Eli Zaretskii
> Date: Thu, 14 May 2009 06:35:49 -0700 (PDT) > From: yabo > Cc: > > > Example situation: > From a cmd shell, we run "make all" > > Once in a makefile, is the string "all" (or whatever target you chose) in > some variable that I can access? It's available in the MAKECMDGOALS variable and als

Re: HELP | make file creation

2009-05-24 Thread Eli Zaretskii
> From: "Derek J Roscoe" > Date: Sun, 24 May 2009 13:24:28 -0400 > Cc: > > As instructed in the readme file Which readme file? If you are talking about README.W32 file that comes with the source distribution of GNU Make, then the files NMakefile and config.h.W32 are part of that distribution.

Re: HELP | make file creation

2009-05-25 Thread Eli Zaretskii
> From: "Derek J Roscoe" > Cc: , > > Date: Mon, 25 May 2009 10:13:15 -0400 > > Thank you for your response; as I truly appreciate the help! > > Attached is the package I downloaded. Please never do that in the future! Especially if you appreciate my help. You have just invaded my mailb

Re: HELP | make file creation

2009-05-25 Thread Eli Zaretskii
> From: "Derek J Roscoe" > Date: Mon, 25 May 2009 14:48:24 -0400 > Cc: help-make@gnu.org, help-ut...@gnu.org > > C:\Users\derekroscoe>c:\users\derekroscoe\make\./dosbuild > Building Make for MSDOS Why do you try building the DOS version? You are on Windows, so you should be invoking build_w32.b

Re: Gmake 3.8.1

2009-05-29 Thread Eli Zaretskii
> From: kathy.gen...@exxonmobil.com > Date: Thu, 28 May 2009 13:24:00 -0500 > Cc: dee.l.arn...@exxonmobil.com > > 1. Is this software 64-bit compatible? On Windows or on Posix platforms, such as GNU/Linux? On the latter, it is. On the former, it should be. (But I never tried.) > 2. With Vis

Re: build system rules & algorithms

2009-06-12 Thread Eli Zaretskii
> X-Spam-Status: No, score=-0.9 required=5.0 tests=AWL,BAYES_00, > DNS_FROM_RFC_POST,UNPARSEABLE_RELAY autolearn=no version=3.1.0 > Date: Thu, 11 Jun 2009 22:27:48 -0400 > From: Mike Shal > Cc: help-make@gnu.org > > On 6/11/09, grischka wrote: > > Mike Shal wrote: > > > > > > > For some ha

Re: build system rules & algorithms

2009-06-12 Thread Eli Zaretskii
> Date: Thu, 11 Jun 2009 22:27:48 -0400 > From: Mike Shal > Cc: help-make@gnu.org > > Is there a better way to benchmark it to figure out the bottlenecks? One way would be to compile and link Make with -pg, invoke Make as you always do in this project, and then run gprof on the resulting profile

Re: Fw: "make install" doesn't work with mac os X 10.5

2009-08-08 Thread Eli Zaretskii
> Date: Fri, 7 Aug 2009 13:40:47 -0700 (PDT) > From: Troy Mulder > > test -z "/usr/local/info" || /bin/sh ../config/mkinstalldirs > "/usr/local/info"mkdir -p -- /usr/local/info > mkdir: /usr/local/info: Permission denied > make[2]: *** [install-info-am] Error 1 This error message means you don'

Re: how to disable all checking of prerequisites

2009-11-14 Thread Eli Zaretskii
> From: Paul Smith > Date: Fri, 13 Nov 2009 22:20:32 -0500 > Cc: "help-make@gnu.org" > > I just tried this on my Linux box, by touching 1000 files: > > i=1; while [[ $i -le 1000 ]]; do touch foo$i; : $((++i)); done > > then creating a makefile with nothing in it but a target "foo" listing

Re: A message "make[1]: [neat] Error 1 (ignored)" ?

2009-11-14 Thread Eli Zaretskii
> Date: Sat, 14 Nov 2009 19:35:03 -0500 > From: Aleksey Yakovlev > > When I call make with "clean" target, it does everything right but outputs > many messages like: > > make[1]: [neat] Error 1 (ignored) > > What does this message mean? It means that the command(s) called by that target exited

Re: How to refer to the first target?

2009-11-26 Thread Eli Zaretskii
> Date: Thu, 26 Nov 2009 07:42:33 -0600 > From: Peng Yu > > >        a: command.sh > >                ./command.sh > >        b: command.sh > >                ./command.sh > > > > So, in this case, there is only one target file each time command.sh is > > invoked, and the name of that target will

Re: is this a bug?

2009-12-04 Thread Eli Zaretskii
> From: "Mark Galeck (CW)" > Date: Fri, 4 Dec 2009 11:22:37 -0800 > Accept-Language: en-US > acceptlanguage: en-US > > >If you're then passing that wildcard list to a program, you could very well > >be exceeding the maximum argument length limit of your shell. > > > No, I isolated this so ther

Re: behavior on Win depends on whether \ or / is used??

2009-12-11 Thread Eli Zaretskii
p-make to the list of addressees, because this question was first asked there.) Here's the patch mentioned above that I will install in the development sources: 2009-12-11 Eli Zaretskii * file.c (lookup_file) [HAVE_DOS_PATHS]: Treat '\\' like we do with '/&#

Re: why are all prerequisites timestamps checked, even after one is found to be newer than target??

2009-12-14 Thread Eli Zaretskii
> From: Paul Smith > Date: Mon, 14 Dec 2009 14:08:32 -0500 > Cc: "help-make@gnu.org" > > On Mon, 2009-12-14 at 10:32 -0800, Mark Galeck (CW) wrote: > > I see. I grepped $? and it seems to me there is no way to prevent > > that variable from being populated, so all the timestamps will always > >

Re: why are all prerequisites timestamps checked, even after one is found to be newer than target??

2009-12-15 Thread Eli Zaretskii
> Date: Mon, 14 Dec 2009 11:40:39 -0800 > From: Philip Guenther > Cc: "help-make@gnu.org" > > 1) if you don't use RCS or SCCS, then disable the pattern rules for > checking out files from them with > > %:: %,v > %:: RCS/%,v > %:: RCS/% > %:: s.% > %:: SCCS/s.% Disable how? by rebuilding Make a

Re: why are all prerequisites timestamps checked, even after one is found to be newer than target??

2009-12-15 Thread Eli Zaretskii
> Date: Tue, 15 Dec 2009 10:25:33 -0800 > From: Philip Guenther > Cc: mgal...@brocade.com, help-make@gnu.org > > On Tue, Dec 15, 2009 at 10:17 AM, Eli Zaretskii wrote: > >> Date: Mon, 14 Dec 2009 11:40:39 -0800 > >> From: Philip Guenther > >> Cc: &quo

Re: behavior on Win depends on whether \ or / is used??

2010-01-02 Thread Eli Zaretskii
Ping! Paul, could you please answer the question I asked in this thread (and Mark repeats a variant of it below)? TIA > From: "Mark Galeck (CW)" > Date: Tue, 15 Dec 2009 10:25:08 -0800 > Accept-Language: en-US > acceptlanguage: en-US > > OK, I understand now Eli's reasons of assigning "failure

Re: Issues with parallel build on Windows

2010-01-04 Thread Eli Zaretskii
> Date: Mon, 4 Jan 2010 01:47:50 -0800 (PST) > From: Sasikala R > Cc: > > Has anyone come across the following kind of error? > > gmake.EXE[2]: *** [4.obj]4522468 Not that I recall. > I don't get this error when we do serial build (with one thread). This > happens only when we build in p

Re: behavior on Win depends on whether \ or / is used??

2010-01-04 Thread Eli Zaretskii
> From: Paul Smith > Cc: help-make@gnu.org, "Mark Galeck (CW)" > Date: Sun, 03 Jan 2010 16:01:42 -0500 > > On Sat, 2010-01-02 at 10:43 +0200, Eli Zaretskii wrote: > > > > > > vpath %.s foobar0 foobar1 > > > %.o: %.s > > >

Re: how to allow multiple empty commands?

2010-02-05 Thread Eli Zaretskii
> From: "Mark Galeck (CW)" > Date: Fri, 5 Feb 2010 00:15:08 -0800 > Accept-Language: en-US > acceptlanguage: en-US > > Yes, I thought so too... very elegant, except... sort does not like a long > list... darn it > > make.exe: Interrupt/Exception caught (code = 0xc0fd, addr = 0x4227d3) Can

Re: why does command echo \\\foobar print \\foobar

2010-02-07 Thread Eli Zaretskii
> From: "Mark Galeck (CW)" > Date: Sun, 7 Feb 2010 06:05:21 -0800 > Accept-Language: en-US > acceptlanguage: en-US > Cc: > > I can see it is not passed to the shell, because the shell does simply echo: > > C:\>echo \\\foobar > \\\foobar That's cmd.exe, but Make will by default invoke sh.exe if

Re: why does command echo \\\foobar print \\foobar

2010-02-07 Thread Eli Zaretskii
> From: Paul Smith > Date: Sun, 07 Feb 2010 09:41:01 -0500 > Cc: "help-make@gnu.org" > > Since an escaped character is just that character, "\f" is just "f", and > the expected result is "\foobar". But on Windows, `\' is a directory separator character, so if "\f" would result in just "f", the

Re: why does command echo \\\foobar print \\foobar

2010-02-07 Thread Eli Zaretskii
> From: "Mark Galeck (CW)" > CC: "make-h...@gnu.org" > Date: Sun, 7 Feb 2010 10:00:48 -0800 > Accept-Language: en-US > acceptlanguage: en-US > > No, I make sure I am using cmd.exe, the full makefile is: > > SHELL=cmd.exe > > foobar: > echo \\\foobar This works for me: I see

Re: why doesn't vpath %.c subdir// work?

2010-02-15 Thread Eli Zaretskii
> From: "Mark Galeck (CW)" > Date: Mon, 15 Feb 2010 00:48:36 -0800 > Accept-Language: en-US > acceptlanguage: en-US > > >Don't double-slashes have some magical meaning in paths in Windows? > > No - double-backslash does, but not double-forward. Actually, Windows treats both flavors or slashes t

Re: why doesn't vpath %.c subdir// work?

2010-02-15 Thread Eli Zaretskii
> From: "Mark Galeck (CW)" > Date: Mon, 15 Feb 2010 11:03:52 -0800 > Accept-Language: en-US > acceptlanguage: en-US > > >Actually, Windows treats both flavors or slashes the same, so whatever > magic happens with \\foo\bar will also happen with //foo/bar. Try it. > (If you try this from the cmd

Re: why doesn't vpath %.c subdir// work?

2010-02-15 Thread Eli Zaretskii
> From: "Mark Galeck (CW)" > Date: Mon, 15 Feb 2010 12:03:45 -0800 > Accept-Language: en-US > acceptlanguage: en-US > > ?? "cmd" is part of Windows. Eli, let's not degenerate into flame > war here or who is right or wrong, does not matter. This isn't about a flame war, it's about facts. "Windo

Re: Parallel make: "Waiting for unfinished jobs" message

2010-03-29 Thread Eli Zaretskii
> Date: Mon, 29 Mar 2010 18:05:42 +0530 > From: hi > > While building parallel build, I observe following message... > > make: *** /u/user1/bld/com: No such file or directory. Stop. > make: *** [com.install] Error 2 > make: *** Waiting for unfinished jobs > > I understood that 'com' direct

Re: How to handle files with ':' in the file name?

2010-07-16 Thread Eli Zaretskii
> Date: Thu, 15 Jul 2010 18:48:39 -0500 > From: Peng Yu > > I want to have filenames with ':' in Makefile. Simply adding '\' > before ':' doesn't work. I have grepped the manual by ':'. But there > are two many ':'s, I can't see where it mentiones how ':' is escaped. > Could you please let me kno

Re: confuesion about parallel execution features

2010-07-31 Thread Eli Zaretskii
> Date: Sat, 31 Jul 2010 15:30:22 +0800 > From: EdwardXu > > I'm trying to using parallel execution futures on my 4 cores computer(-j4 > option). In my opinion, GNU make only can processes different objects > parallelly, for example: > all: a.o b.o c.o d.o e.o f.o > a.o: > (CC) a.c > b.o: >

Re: Re: the character ‘%’

2010-08-21 Thread Eli Zaretskii
> Date: Sat, 21 Aug 2010 14:13:11 +0430 > From: ali hagigat > > Each explanation has some components. An explanation is written IF AND > ONLY IF its components have been written and explained FIRST. > > The document starts talking about RCS, SCCS files in 3.7 suddenly > without even mentioning t

Re: Re: Re: the character ‘%’

2010-08-21 Thread Eli Zaretskii
> Date: Sun, 22 Aug 2010 09:39:18 +0430 > From: ali hagigat > > Can you write the link for Savannah, you mentioned? > I found : > http://lists.gnu.org/mailman/listinfo/bug-make > > I can register in the mailing list, is that what you mean by Savannah? No. I meant this: http://savannah.gn

Re: when a variable is not global

2010-08-21 Thread Eli Zaretskii
> Date: Sat, 21 Aug 2010 23:28:08 -0700 > From: Philip Guenther > Cc: help-make@gnu.org > > On Sat, Aug 21, 2010 at 11:13 PM, ali hagigat wrote: > > Can anyone write an example of a variable defined in a target-specific > > context? > > To quote the info pages that you've been critiquing: > >

Re: GNU make doesn't use windows cmd.exe shell

2010-08-24 Thread Eli Zaretskii
> Date: Mon, 23 Aug 2010 10:20:11 +0200 > From: Sebastian WAGNER > > I have a problem with the latest GNU make version 3.81-2 running on a > Windows XP system (using cygwin) and hope that you can help me. > > I used a very old make version before and wanted to upgrade. Now it seems > that make r

Re: recipe!!

2010-09-12 Thread Eli Zaretskii
> Date: Tue, 7 Sep 2010 20:10:58 +0200 > From: Sam Ravnborg > Cc: help-make@gnu.org, ali hagigat > > It would be nice if Ali could clone himself and let one of the clones > proof read his mail before he sent them out :-( Did you consider the possibility that this is due to Ali trying to express

Re: recipe!!

2010-09-13 Thread Eli Zaretskii
> From: Paul Smith > Cc: Sam Ravnborg , help-make@gnu.org > Date: Mon, 13 Sep 2010 09:47:09 -0400 > > On Mon, 2010-09-13 at 08:46 +0200, Eli Zaretskii wrote: > > Did you consider the possibility that this is due to Ali trying to > > express himself in a langua

Re: The path found by directory search!

2010-09-19 Thread Eli Zaretskii
> Date: Mon, 20 Sep 2010 07:51:51 +0430 > From: ali hagigat > > 4.4.3 How Directory Searches are Performed > 4. After processing the prerequisites, the target may or may not need > to be rebuilt: > a. If the target does not need to be rebuilt, the path to the file > found during directory > searc

Re: directory search fails!

2010-09-22 Thread Eli Zaretskii
> Date: Tue, 21 Sep 2010 22:48:22 -0700 > From: Philip Guenther > Cc: help-make@gnu.org > > Why should the vpath for one target (preq1) apply to a different > target (di2/preq2)? Because of the excerpt from the manual which started the thread which led to this one? See http://lists.gnu.org/

Re: directory search fails!

2010-09-22 Thread Eli Zaretskii
> Date: Wed, 22 Sep 2010 10:48:00 +0330 > From: ali hagigat > > 4.4.3 How Directory Searches are Performed > The algorithm make uses to decide whether to keep or abandon a path > found via directory search is as follows: > 1. If a target file does not exist at the path specified in the > makefile

Re: directory search fails!

2010-09-22 Thread Eli Zaretskii
> From: Paul Smith > Cc: ali hagigat , help-make@gnu.org > Date: Wed, 22 Sep 2010 07:06:12 -0400 > > > This means that if the Makefile uses a target named "target1", which > > is found by directory search at /foo/bar/baz/target1, then Make will > > use "/foo/bar/baz/target1" in all places where t

Re: directory search fails!

2010-09-22 Thread Eli Zaretskii
> From: Paul Smith > Cc: Philip Guenther , help-make@gnu.org, > hagigat...@gmail.com > Date: Wed, 22 Sep 2010 07:37:34 -0400 > > > a. If the target does not need to be rebuilt, the path to the file > >found during directory search is used for any prerequisite > >lists which

Re: directory search fails!

2010-09-23 Thread Eli Zaretskii
> From: Paul Smith > Date: Wed, 22 Sep 2010 17:56:34 -0400 > Cc: help-make@gnu.org > > On Wed, 2010-09-22 at 11:52 -0800, ali hagigat wrote: > > b. If the target does need to be rebuilt (is out-of-date), the > > pathname found during > > directory search is thrown away, and the target is rebuilt

Re: directory search fails!

2010-09-25 Thread Eli Zaretskii
> Date: Sat, 25 Sep 2010 08:52:19 +0330 > From: ali hagigat > > The source of confusion in the section, "4.4.3 How Directory Searches > are Performed", is that at the items 1 and 4, it talks about 'target' > but these two targets are different. When reading search algorithm, at > item 1, one ima

Re: Help-make Digest, Vol 94, Issue 23

2010-09-25 Thread Eli Zaretskii
> Date: Sat, 25 Sep 2010 09:21:02 +0330 > From: ali hagigat > > My question is about, the section, 4.4.3 How Directory Searches are Performed: > Please correct me if I am wrong: > In Item 4.b: > "If the target does need to be rebuilt (is out-of-date), the pathname > found during directory search

Re: directory search fails!

2010-09-25 Thread Eli Zaretskii
> Date: Sat, 25 Sep 2010 12:23:40 +0330 > From: ali hagigat > > "prerequisite lists which contain this target" There's no such phrase in the modified description I proposed. Please read it, it could be the solution to this confusion. ___ Help-make ma

Re: directory search fails!

2010-09-25 Thread Eli Zaretskii
> Date: Sat, 25 Sep 2010 12:29:53 +0330 > From: ali hagigat > > I can not say any thing about your new wording as I think I have not > yet understood the directory search algorithm completely. The new wording I proposed includes a complete description of the directory search algorithm. I hope y

Re: Help-make Digest, Vol 94, Issue 23

2010-09-25 Thread Eli Zaretskii
> Date: Sat, 25 Sep 2010 13:06:01 +0330 > From: ali hagigat > > In the manual, part, 4.b when it says : > "the target is rebuilt using the file name specified in the makefile." > The word , target , may refer to preq1 or all5!! and for both the > pathname is thrown away. In the modified descript

Re: directory search fails!

2010-09-25 Thread Eli Zaretskii
> Date: Sat, 25 Sep 2010 14:34:53 +0330 > From: ali hagigat > > Your description seems better than the manual in my opinion. You > deleted the word, 'target' in Step 4. > Could you make a pdf file only one paragraph, "4.4.3 How Directory > Searches are Performed", > with your style, to compare it

Re: directory search fails!

2010-09-26 Thread Eli Zaretskii
> From: Paul Smith > Cc: help-make@gnu.org > Date: Sun, 26 Sep 2010 09:26:57 -0400 > > The concern I have about this is that it describes directory search as > an operation that happens on prerequisites, but that's not how make > works. Make does the directory search on targets. That's true, bu

Re: directory search fails!

2010-09-26 Thread Eli Zaretskii
> From: Paul Smith > Cc: help-make@gnu.org > Date: Sun, 26 Sep 2010 16:21:49 -0400 > > > and (b) the details of the algorithm are really important only when > > the target is a prerequisite of some other target. > > Obviously this depends on what you define to be "the details", but I > don't thi

Re: directory search fails!

2010-09-27 Thread Eli Zaretskii
> From: Paul Smith > Date: Mon, 27 Sep 2010 09:02:11 -0400 > Cc: help-make@gnu.org > Reply-To: psm...@gnu.org > > > Besides you wrote locate is a verb equivalent to "to find", why you > > did not use 'find' instead of 'locate'? > > For the same reason I didn't use any of the other synonyms of "f

Re: directory search fails!

2010-09-28 Thread Eli Zaretskii
> From: Paul Smith > Reply-To: psm...@gnu.org > Cc: hagigat...@gmail.com, help-make@gnu.org > Date: Tue, 28 Sep 2010 09:41:45 -0400 > > > No, he has a point here. Using different, though synonym, words for > > the same entity runs the risk of confusing the reader. > > This isn't an entity, it's

Re: directory search fails!

2010-09-28 Thread Eli Zaretskii
> From: David Ferguson > CC: "help-make@gnu.org" , "hagigat...@gmail.com" > > Date: Tue, 28 Sep 2010 10:14:01 -0700 > > FWIW, and yes I may be biased by familiarity, but I've believed that the > current wording in the manual has been more helpful than any revision > suggested to date by

Re: How to pass a group of COMPILER OPTIONS using GNU Make Command Line under WINDOWS

2010-10-08 Thread Eli Zaretskii
> From: Partha None > Date: Fri, 8 Oct 2010 02:04:06 + > Cc: > > === > ALL: >cd DBC_Boot_Build && $(MAKE) BYPASS_ANCGEN=$(BYPASS_ANCGEN) > MAKEBENCH=$(MAKEBENCH) > COMPILE_OPTIONS_FROM_MAKE='$(COMPILE_OPTIONS_FRO

Re: How to pass a group of COMPILER OPTIONS using GNU Make Command Line under WINDOWS

2010-10-08 Thread Eli Zaretskii
> From: Duane Campbell > Date: Thu, 7 Oct 2010 22:01:53 -0700 > > Note: There is no standard way to quote a " character in windows. > Windows opted to have applications parse the command line - hence no standard. > It is up to the programs and the libraries they use. That's true. However, with

Re: Determining if host is 64bit

2010-10-08 Thread Eli Zaretskii
> From: pocma...@gmail.com (Paulo J. Matos) > Date: Fri, 08 Oct 2010 10:42:07 +0100 > > One of the parameters the configure is supposed to receive is > --enable-64bit for 64 bit hosts. However, I am not able to determine if > the host is 64bit. I would need this to work in mingw and linuxes. Any >

Re: Determining if host is 64bit

2010-10-08 Thread Eli Zaretskii
> Date: Fri, 8 Oct 2010 08:40:19 -0400 > From: David Boyce > Cc: help-make@gnu.org > > For the record, in the Unix world there's mostly no such thing as a > "64-bit host", or at least the definition is slippery. For instance > Solaris goes both ways; it comes with both 32- and 64-bit versions of

Re: Link called only if all other actions are completed

2010-10-08 Thread Eli Zaretskii
> Date: Fri, 08 Oct 2010 18:24:00 +0200 > From: Erik Rull > > make -j5 all_targets > > What happens: all .o's get compiled and only then the linking elements get > executed one after another (and not simultaneously!). None of the targets > share .o files. > > What I would expect: after all .o

Re: phony target!

2010-10-12 Thread Eli Zaretskii
> Date: Tue, 12 Oct 2010 15:24:36 +0330 > From: ali hagigat > > -- > 4.5 Phony Targets > ...The phony target will cease to work if anything ever does create a > file named ‘clean’ in this directorySince it knows that phony > targets do not name actual files

Re: intermediate files

2010-10-21 Thread Eli Zaretskii
> From: Noel David Torres Taño > Date: Thu, 21 Oct 2010 10:36:42 +0100 > > Are you really looking for help or just trying to get us upset with you? Why > don't you try and contract a personal professor? > > I recognize that answers to some of the questions you have asked are not > evident, but

Re: intermediate files

2010-10-24 Thread Eli Zaretskii
> Date: Sun, 24 Oct 2010 02:19:50 -0800 > From: ali hagigat > > The first difference is what happens if the intermediate file does not > exist. If an ordinary > file b does not exist, and make considers a target that depends on b, > it invariably creates b > and then updates the target from b. Bu

Re: Exact paths vs canonical paths

2010-10-25 Thread Eli Zaretskii
> From: Angel Tsankov > Date: Mon, 25 Oct 2010 11:16:05 +0300 > > > How can I get $@ to expand to the exact path of the target rather than > to a canonical path, e.g. > > ./a.out: a.o > @echo $@ # Prints a.out instead of ./a.out Use $(@F) or $(notdir $@) ?

Re: Exact paths vs canonical paths

2010-10-25 Thread Eli Zaretskii
> Date: Mon, 25 Oct 2010 12:18:39 +0300 > From: Angel Tsankov > Newsgroups: gmane.comp.gnu.make.general > CC: help-make@gnu.org > > >> ./a.out: a.o > >>@echo $@ # Prints a.out instead of ./a.out > > > > Use $(@F) or $(notdir $@) ? > > How is this supposed to expand to ./a.out rather than to

Re: .LOW_RESOLUTION_TIME

2010-11-09 Thread Eli Zaretskii
> Date: Tue, 9 Nov 2010 14:26:40 +0330 > From: ali hagigat > > cp -p src dst > > Since ‘cp -p’ discards the subsecond part of ‘src’’s time stamp, ‘dst’ > is typically slightly older than ‘src’ even when it is up to date. > The .LOW_RESOLUTION_TIME line causes make to consider ‘dst’ to be up > to

Re: .LOW_RESOLUTION_TIME

2010-11-10 Thread Eli Zaretskii
> Date: Wed, 10 Nov 2010 08:52:05 +0330 > From: ali hagigat > > Sorry but one sentence of the document does not make sense related to > Eli's example as it is saying: > > "The high resolution file time stamps of many modern file systems > lessen the chance of make incorrectly concluding that a f

Re: .LOW_RESOLUTION_TIME

2010-11-10 Thread Eli Zaretskii
> Date: Wed, 10 Nov 2010 15:45:19 +0330 > From: ali hagigat > Cc: help-make@gnu.org > > Time-stamp is checked before updating a file. In the last example you > mentioned, when a file is updated(this file is prerequisite of an > ultimate target), it shows that make has made its final decision to >

  1   2   3   >