This has been reported as an enhancement and the change was made
already. It will be available in the next release of GNU make.
--
---
Paul D. Smith <[EMAIL PROTECTED]> Find some GNU make tips at:
, as
well as every bit of correspondence you have had with that company, to
the email address on the page.
If it wouldn't be too much trouble please CC me ([EMAIL PROTECTED]) on that
email as well so I can track this.
Thanks!
--
d to ask the people from whom you got the SOS-10.12.03.zip
software what the problem is.
--
-----------
Paul D. Smith <[EMAIL PROTECTED]> Find some GNU make tips at:
http://www.gnu.org http://make
econd, there is nowhere in GNU make that the text "macro substitution"
(in any case) exists, much less is printed.
Finally, there is no "?:" macro operator in GNU make, so I don't know
what the above construct might be supposed to mean.
--
------
s part of a target or prerequisite name
in GNU make (at least not reliably).
--
-----------
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." --Ma
e a syntax error, when that's not a syntax error?
sn> Do you have any shorter alternative in GNU make other than
sn> "ifdef".
Since you didn't specify exactly what behavior "?:" provides I can't say
for sure, but look up the ?= assignment operator i
n't have one, but it won't help if
you're trying to define a variable to a value if some other variable
doesn't have one.
--
---
Paul D. Smith <[EMAIL PROTECTED]> Find some GNU make tips a
You're correct about the missing reference to hash.obj. This has been
addressed already in the source and will be fixed in the next release.
Thanks!
--
---
Paul D. Smith <[EMAIL PROTECTED]> Find so
hang out there.
--
-------
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
___
.
--
---
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 mai
on
Savannah I would hope that something official would be out in the next
4-6 weeks or so.
But, nothing is certain...
--
-------
Paul D. Smith <[EMAIL PROTECTED]> Find some GNU make tips at:
http://www.gnu
on would be if the kernel builds could be changed to be a
little more robust, say by quoting "=" signs with "\".
Other than that, or allowing you to disable the feature altogether
(which might break something else, I don't know), I don't see any good
alternative
version of GNU make
from CVS your example gives:
$ ./make
hello a a+b c
--
---
Paul D. Smith <[EMAIL PROTECTED]> Find some GNU make tips at:
http://www.gnu.org
ch:
https://savannah.gnu.org/bugs/index.php?func=detailitem&item_id=1536
Or, you can use the make you currently have on your system to build GNU
make, rather than using build.sh.
--
-------
Paul D. Smith <[EMAIL PROTECTED]>
ot
GNU make, to build GNU make.
--
-----------
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,
s /bin/sh.
Try this, as an experiment and send me the output:
$ cd make-3.80/po
$ /bin/sh -x ../config/mkinstalldirs /usr/local/share
--
---
Paul D. Smith <[EMAIL PROTECTED]> Find some GNU make tips at:
ht
on't have to "cd ..", because that happens
automatically when the process ends.
I don't know if whatever shell you're using with your port supports
syntax like this or not.
--
---
Pau
here it
doesn't (I have filed those as bugs in Savannah) and yes, we will do our
best to get those fixed before the release of 3.81.
--
-------
Paul D. Smith <[EMAIL PROTECTED]> Find some GNU make tips at:
d to apply.
I would think you could use something like the subst function to do
this, pretty easily.
--
-----------
Paul D. Smith <[EMAIL PROTECTED]> Find some GNU make tips at:
http://www.gnu.org
andard for make.
The move to C90 function definitions is already complete in CVS, if
that's what you mean. However, the system uses the ansi2knr toolkit so
it hopefully will still build with at least some pre-ISO compilers.
--
---
o that "foo/" and "foo" are
considered the same prerequisite.
You can get your makefile to work like this:
hello : | foo/.
hello :
@echo hello
%/. :
mkdir $*
--
-------
Paul D. Smith
ords in the relative order they had in $(str2).
--
-------
Paul D. Smith <[EMAIL PROTECTED]> Find some GNU make tips at:
http://www.gnu.org http://make.paulandlesley.org
"Please remain calm..
know how to build ..."
for one or more of them).
bk> For example, $(dir) does not strip the trailing slash. Oh, but $(@D)
bk> does...
These are user functions. I'm talking about make's internal
representation of the target name, that it uses to walk the DAG.
--
--
main.c in CVS and will be in the next release.
If you want to test prereleases of GNU make to be sure they work on your
favourite OS, subscribe to this mailing list: prereleases will be
announced here.
--
-----------
Pau
gnu.org site though, if
that's what you mean. Perhaps someone else rebuilt the docs with a
newer version of texinfo or something. Can you give me links to the
documentation you're referring to?
--
---
Paul D.
use
any other special character that would cause make to kick the command to
the slow path?
--
---
Paul D. Smith <[EMAIL PROTECTED]> Find some GNU make tips at:
http://www.gnu.org http://make
and is "test", whether "test" exists on the PATH, or
whether it's a shell script, or anything like that.
--
---
Paul D. Smith <[EMAIL PROTECTED]> Find some GNU make tips at:
http://www.gnu
results of the build are
installed.
Good luck!
--
-------
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
_
g generated by some command that make is running
(some command in your makefile).
So, I'd look through your makefile for "expr" and find one that's used
incorrectly.
--
-------
Paul D. Smith &l
h other projects, I can recover via doing a subsequent
esp> make. In this case, it seems to screw up both the current *and*
esp> the subsequent makes.
Since you didn't say what version of GNU make you're using it's hard to
say.
--
-
t would be nice to
ensure that, for example, adding in "r" to MAKEFLAGS takes effect
properly. Also it's probably good to have MAKEFLAGS parsed every
time it's changed so that the changes take effect immediately.
Probably some others...
--
--
, etc.
--
---
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.&
ld
just use that to build GNU make instead of the build.sh script.
--
-------
Paul D. Smith <[EMAIL PROTECTED]> Find some GNU make tips at:
http://www.gnu.org http://make.paulandlesley.org
&quo
er supposed to exist then you should use the .PHONY
pseudo target to tell make that:
.PHONY: speak
Then, make will behave as you expect both with -n and without it.
--
---
Paul D. Smith <[EMAIL PROTECTED]>
ry editing make.h and change line 391 from this:
#ifdef __STDC__ && __STDC__
to this:
#if __STDC__ && HAVE_STDVARARGS
and see if that helps. If not, be sure to include all the information
asked for above.
--
--------
o install foo.1
ms> echo install foo.2
ms> echo install done
Most likely pmake behaves differently; it may always run all
double-colon scripts, even if there's a satisfied prerequisite
relationship.
Try the above makefile with the touch lines in it: does it run all three
rules even tho
cript doesn't
update "junk" itself, make doesn't consider the two .tex files out of
date (they are still newer than their prerequisite, "junk") so it
doesn't rebuild modules.tex.
If you change your rule so that it updates "junk", all will work as you
ex
e fix will be
available in the next release.
Thanks for your report!
--
-------
Paul D. Smith <[EMAIL PROTECTED]> Find some GNU make tips at:
http://www.gnu.org http://make.paulandlesle
more clear. This change will be
available in the next release of GNU make. Thanks for your report!
--
-------
Paul D. Smith <[EMAIL PROTECTED]> Find some GNU make tips at:
http://www.gnu.org
.
--
---
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-m
e files would constantly
being committed with changes that moved them back and forth in all kinds
of silly ways. We stopped doing that and life has been much happier
since.
--
-------
Paul D. Smith <[EMAIL PROTECTED]&
'm not sure how snapshots like
that would be published. I'll ask the GNU folks.
--
-------
Paul D. Smith <[EMAIL PROTECTED]> Find some GNU make tips at:
http://www.gnu.org h
script for some reason
jg> unknown to me. Perhaps the "purify" code in the report is
jg> removing make.exe ?
Why is the Purify code being invoked? It shouldn't be, unless you asked
for it--which you shouldn't do if you don't have Purify.
jg>
reason for this is because the test script has decided that
your system is running VMS.
If you solve that problem I'm sure things will start working _MUCH_
better.
--
---
Paul D. Smith <[EMAIL PROTECTED]>
ask this question on a list supporting Qt or kdevelop.
Good luck!
--
-------
Paul D. Smith <[EMAIL PROTECTED]> Find some GNU make tips at:
http://www.gnu.org http://make.paulandlesley.org
"
sing the sleep time will help?
--
-------
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
chapter "How to Run 'make'".
--
-------
Paul D. Smith <[EMAIL PROTECTED]> Find some GNU make tips at:
http://www.gnu.org http://make.paulandlesley.org
"Please remain calm..
ough of a reason to make this sort of backward-incompatible
change to its behavior.
Especially since you can do what you want to do with the $(eval ...)
function.
--
---
Paul D. Smith <[EMAIL PROTECTED]>
it any target to
build, so it doesn't know what you want it to do, so it gives up.
--
-------
Paul D. Smith <[EMAIL PROTECTED]> Find some GNU make tips at:
http://www.gnu.org http://ma
$ touch parser.c
$ make
parser.o
Just as expected.
Does my example show the same error as yours, on your system?
--
---
Paul D. Smith <[EMAIL PROTECTED]> Find some GNU make tips at:
http://www.gnu.org
a/*.java lisp/*.lisp)
synctool java lisp syncdir
@touch $@
Now whenever any file is newer than the sentinel file make will see that
something has changed, and the synctool will be run, then the sentinel
will be updated.
--
--------
= nlines;
nlines = readline (ebuf);
+ ebuf->floc.lineno += nlines;
/* If there is nothing left to eval, we're done. */
if (nlines < 0)
--
-----------
Paul D. Smith <[EMAIL PROTECTED]>
Thanks, applied.
--
---
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,
This bug has been fixed in the source. You can find a patch attached to
bug # 1517 in Savannah.
--
---
Paul D. Smith <[EMAIL PROTECTED]> Find some GNU make tips at:
http://www.g
ust use an implicit rule
here in the first place. If you don't use implicit rules you'll have to
be careful to use a dummy target if you want to have a single command
line generate all those files: explicit (and static pattern) rules don't
work like that.
--
---
ou saying that it should perform _ANOTHER_ round of
backslash/newline resolution at some point during the parsing or
expansion of variables? Exactly when? How will this impact backward
compatibility? Or are some functions going to do it and others not?
--
-------
Good stuff; thanks Boris.
--
---
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
use the above behavior is defined by
POSIX and required of every program that calls itself "make".
--
---
Paul D. Smith <[EMAIL PROTECTED]> Find some GNU make tips at:
http://www.gnu.org
look in read.c line 537. The dumping code simply does not
bk> distinguish between normal and order-only prerequisites.
ITYM rule.c.
I have a fix for this already but maybe I haven't checked it in yet.
--
-------
o one behavior in this situation that works "as
expected" in every case.
I'm assuming all the regression tests still pass with your patch
applied? I can't remember whether I added a test for this situation or
not.
--
--------
%% Noel Yap <[EMAIL PROTECTED]> writes:
ny> Paul D. Smith wrote:
>> %% Boris Kolpackov <[EMAIL PROTECTED]> writes:
bk> If you expect it to print
>>
bk> %r: | baz
>>
bk> then look in read.c line 537. The dumping code simply does not
bk&
define:
define subst
echo $> | sed 's/#foo#/$(FOO)/' > $@
endef
for example.
--
-------
Paul D. Smith <[EMAIL PROTECTED]> Find some GNU make tips at:
http://www.gnu.org
ep
env:
@echo Target: environment
touch env
include dep
Note this will run "env" only once, not twice.
--
---
Paul D. Smith <[EMAIL PROTECTED]> Find some GNU make tips at:
h
d shows that it does work as documented:
.PHONY: all showfoo
all: showfoo
$(MAKE) showfoo MAKEFLAGS='FOO=1'
showfoo: ; @echo 'FOO=$(FOO)'
$ make
FOO=
make[1]: Entering directory `/home/psmith'
FOO=1
make[1]: Leaving directory `/home/psmith'
(or four) things I know about, so ... eh?"
dk> I'd just like to point out that it isn't only $shell that is
dk> affected: $error and $warning are also affected. I also notice
dk> that it works fine if you escape the semicolon:
Right. This is a parser bug, pure and
l see if I can think of a way to do it.
Alternatively you could move away from include and just start using
eval... then you don't have to worry about re-exec at all.
--
-----------
Paul D. Smith <[EMAIL PROTECTED]>
ry
makefile:1: Reading makefile
SECOND
FIRST
MAIN
temp$ make
makefile:1: Reading makefile
SECOND
FIRST
MAIN
I still think you may find using $(eval ...) to be overall simpler.
--
---
Paul D. Smith <[EMAIL
%% Jim <[EMAIL PROTECTED]> writes:
j> Paul D. Smith wrote:
>> Yes it is, if you write it correctly.
j> (sorry, this is such an attacking statement...)
Sorry; I didn't mean it like that. I just meant you have to write it in
a very specific way ("correctly"
27; junk.test is touched.
This is a bug in make 3.80; it's been fixed already.
You should try the 3.81beta1 release; it works there.
--
-------
Paul D. Smith <[EMAIL PROTECTED]> Find some GNU make
is change out.
Thanks.
--
-----------
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
suspect it would be
a _LOT_ of work, and would need to use a lot of special features of
whatever LR tool you chose. Something like PCCTS might be better suited :).
--
-------
Paul D. Smith <[EMAIL PROTECTED]>
CON
jp> % echo Please wait ... >CON
jp> % echo >CON
jp> %endif
I don't know where you got this, but it's not a GNU make file.
--
-------
Paul D. Smith <[EMAIL PROTECTED]>
This fix looks correct. Thanks for the patch.
--
---
Paul D. Smith <[EMAIL PROTECTED]> Find some GNU make tips at:
http://www.gnu.org http://make.paulandlesley.org
"Please
matic variables are only defined in the command script.
--
-------
Paul D. Smith <[EMAIL PROTECTED]> Find some GNU make tips at:
http://www.gnu.org http://make.paulandlesley.org
"Please r
This is a long-standing deficiency in the parsing of MAKEFLAGS. It's
something we hope to fix.
--
---
Paul D. Smith <[EMAIL PROTECTED]> Find some GNU make tips at:
http://www.gnu.org
l
Yes, I agree; I didn't realize it but you're right this ends up working
the same way as giving -r on the command line (I guess they only way to
tell the difference would be to add back some suffixes).
--
---
Pa
thing more than give them a cursory examination for obvious issues.
--
-----------
Paul D. Smith <[EMAIL PROTECTED]> Find some GNU make tips at:
http://www.gnu.org http://make.paulandlesley.org
"
gt; $(out_root)/configuration:
bk> configure $@
bk> include $(out_root)/configuration
bk> comments?
Mm. I don't know about this. It seems like it's the wrong way
around... if what you want to have is the default target, why have
people declare everything that _cannot_ be
dj> $P; which faubackup
???
You can set PATH to a value that includes itself in the exact same way
you can set any other variable to a value that includes itself: you use
simply-expanded variables:
PATH := /usr/sbin:$(PATH)
--
-----
lem is with the makefile generated to build the gphoto
application: that's not a problem with make. You'll need to contact the
developers for gphoto and ask them about this issue.
Good luck!
--
-------
Paul D
imes in a makefile, and add
prerequisites to it as often as you like. But, every singe target can
have one and only one set of commands to be run.
--
---
Paul D. Smith <[EMAIL PROTECTED]> Find some GNU make
resolved external Symbol _hash_init
This bug has been fixed and will be available in the next release.
You can find more info here:
http://savannah.gnu.org/bugs/?func=detailitem&item_id=1687
--
-------
Paul D. Smith <
ch> the ./configure script, I assume my system satisfies all requirements,
ch> right?
Yes.
--
-------
Paul D. Smith <[EMAIL PROTECTED]> Find some GNU make tips at:
http://www.gnu.org
ould get
back to it and implement it correctly.
--
-----------
Paul D. Smith <[EMAIL PROTECTED]> Find some GNU make tips at:
http://www.gnu.org http://make.paulandlesley.org
"Please remain calm.
This is a bug in GNU make 3.79.1. It's been fixed in newer versions.
--
---
Paul D. Smith <[EMAIL PROTECTED]> Find some GNU make tips at:
http://www.gnu.org http://make.paulan
Your problem is almost certainly an instance of an eval bug in 3.80.
See this report (and the included patch):
https://savannah.gnu.org/bugs/index.php?func=detailitem&item_id=1517
--
---
Paul D. Smith <
Please choose just one of the make mailing lists to send a particular
email to. Thanks!
--
---
Paul D. Smith <[EMAIL PROTECTED]> Find some GNU make tips at:
http://www.gnu.org
s just a general
rule; for example since $(ALL_BASE) is a constant you don't have to
escape that, if you don't want to, etc.)
--
---
Paul D. Smith <[EMAIL PROTECTED]> Find some GNU make tips at:
htt
t you do get the KEEP.
jvh> 1:no 2:yes
This is correct. See the GNU make manual definition of what ifdef does.
--
---
Paul D. Smith <[EMAIL PROTECTED]> Find some GNU make tips at:
http://www.gnu.org
the CVS archives,
etc.
https://savannah.gnu.org/projects/make/
Have fun!
--
-------
Paul D. Smith <[EMAIL PROTECTED]> Find some GNU make tips at:
http://www.gnu.org http://make.paulandles
_SOURCE=500 -Wall -Werror -g
sn> all: $(PROJ)
sn> $(PROJ): $(OBJS)
sn> $(OBJS): $(SOURCE)
--
---
Paul D. Smith <[EMAIL PROTECTED]> Find some GNU make tips at:
http://www.gnu.org
ied it and it doesn't, or just that
you've looked at the code and it doesn't look different?
If the latter, please give it a try. If the former, please provide a
sample makefile that shows the problem.
--
--------
in fact a bug, or if the first
km> case is merely an unsupported feature, in which case I'd like to
km> request such a feature. On the other hand, perhaps there is a
km> better way to do what I need to do.
Make sure you have GNU make 3.80 or better, and look up the $(eval ...)
f
$(myvar)
--
-------
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 pr
%% Boris Kolpackov <[EMAIL PROTECTED]> writes:
bk> "Paul D. Smith" <[EMAIL PROTECTED]> writes:
>> %% Will Partain <[EMAIL PROTECTED]> writes:
>>
wp> Hi; I don't know if the little Makefile below *ought* to
wp> work or not; i
%% "Paul D. Smith" <[EMAIL PROTECTED]> writes:
pds> I don't see any reason technically that it couldn't be done. The
pds> parser would need to be massaged somewhat. I can't remember
pds> whether the function that parses define/endef also creates
%% Boris Kolpackov <[EMAIL PROTECTED]> writes:
bk> Paul D. Smith <[EMAIL PROTECTED]> writes:
>> I don't see any reason technically that it couldn't be done.
bk> That's what I thought too. Also it would be nice to extend the concept
bk> of target/
anual.
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 prof
d to be fixed.
Please don't give up suggesting ways to clean up the code... it's not
that I'm not interested, but I do have other priorities as well.
Thanks!
--
---
Paul D. Smith <[
this id-utils library
installed even if it did exist (in fact probably nothing but Linux
would), so in order to depend on it we'd need to include it in the
source code distribution... as we're doing.
--
---
P
1501 - 1600 of 2725 matches
Mail list logo