bug-make
[Top][All Lists]
Advanced

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

Re: @F does not work on an Intel x86 system


From: Paul D. Smith
Subject: Re: @F does not work on an Intel x86 system
Date: Tue, 31 Oct 2000 13:08:55 -0500

%% address@hidden writes:

  ws> @F does not work (Linux Intel x86 only).
  ws> (No problems on other platforms with the same or older make versions)

Again, I find this very hard to believe.  Are you sure you're using GNU
make on those other platforms?  I sincerely doubt it.  Run "make
--version" to be sure.

  ws> $(OBJECTS) : ../$$(@F:.o=.cxx)

This syntax is not and has never been legal in GNU make.

Some other versions of make, like Solaris make, support the $$@
"feature", but GNU make has never done so.

See the GNU make manual section "Incompatibilities and Missing Features"
which explains that this isn't supported in GNU make, and gives a
workaround which should solve your particular problem (although it
doesn't replace every use of $$@).

-- 
-------------------------------------------------------------------------------
 Paul D. Smith <address@hidden>          Find some GNU make tips at:
 http://www.gnu.org                      http://www.paulandlesley.org/gmake/
 "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]