Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

wildcard function

1 view
Skip to first unread message

Matt

unread,
May 17, 2000, 3:00:00 AM5/17/00
to
I am attempting to use the wildcard functions to get a list of
java files. The same make file works fine from a NT system
using the CDK. However, when I run the make from a Sparc
Solaris system the wildcard is not expanding. I tried
recompiling make and walking through the wild card function but
I was having trouble figuring out the glob functions.

Here is the stripped down makefile for testing:

JAVA_FILES:=$(wildcard *.java)

default:
@echo $(JAVA_FILES)

Any ideas???

Thanks


* Sent from RemarQ http://www.remarq.com The Internet's Discussion Network *
The fastest and easiest way to search and participate in Usenet - Free!


Paul D. Smith

unread,
May 17, 2000, 3:00:00 AM5/17/00
to
Please specify what version of GNU make you're using, and what version
of the OS you're using.

Here, I suspect you're using GNU make 3.77 on Solaris 2.6 or above.

There's a known issue with glob expansion in this combination; upgrade
your GNU make.

--
-------------------------------------------------------------------------------
Paul D. Smith <psm...@baynetworks.com> Network Management Development
"Please remain calm...I may be mad, but I am a professional." --Mad Scientist
-------------------------------------------------------------------------------
These are my opinions---Nortel Networks takes no responsibility for them.

Matt

unread,
May 18, 2000, 3:00:00 AM5/18/00
to
You were right. I neglected to mention 3.77 and Solaris 2.6.
Also, for some reason I was under the impression that 3.77 was
the latest version otherwise moving to 3.79 would have been the
first thing I would try.

3.79 solved the problem.

Thanks for setting me straight.

0 new messages