[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: GNU make 3.81beta3 released

From: Paul D. Smith
Subject: Re: GNU make 3.81beta3 released
Date: Wed, 29 Jun 2005 08:51:04 -0400

%% "Earnie Boyd" <address@hidden> writes:

  eb>                     ^ s/p/program/

Whoops; thanks.

  eb> I used the dos2unix method on the .log files.  Now we have 42
  eb> Tests in 24 Categories failed.  Sending Paul the tests/work.

OK, the major (simple) failure here is directories.  The base files have
lines like this:

  make: Entering directory `/src/make-3.81beta3/tests/work'

and the log files have this:

  make: Entering directory `C:/opt/MinGW/src/make-3.81beta3/tests/work'

GNU make gets its path from the getcwd_fs() function (on Windows).  The
base files get their path from this Perl function in

  sub get_this_pwd {
    if ($vos) {
      $delete_command = "delete_file";
      $__pwd = `++(current_dir)`;
    else {
      $delete_command = "rm";
      chop ($__pwd = `pwd`);

    return $__pwd;

If you could find a way, on Windows, to get a more accurate pathname
that would help a lot.

One way, and I don't know if this will work, would be to ask make; maybe
something like this:

    $pwd = `echo 'all:;@echo $(CURDIR)' | $make_path -f-`

Or maybe there's a builtin Perl function that can be used.

There are, of course, other problems besides this.  Some of them might
even be bugs; I'll have to look again.

 Paul D. Smith <address@hidden>          Find some GNU make tips at:            
 "Please remain calm...I may be mad, but I am a professional." --Mad Scientist

reply via email to

[Prev in Thread] Current Thread [Next in Thread]