public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* B20.1: problem with make and multiple absolute targets
@ 1999-08-17 10:38 David Wilson
  1999-08-17 10:57 ` Glenn Spell
  1999-08-31 23:49 ` David Wilson
  0 siblings, 2 replies; 6+ messages in thread
From: David Wilson @ 1999-08-17 10:38 UTC (permalink / raw)
  To: cygwin; +Cc: David.Wilson

We have found a problem with B20.1 make (GNU 3.75 port) for which we can find 
no workaround. The problem arises when one has a multiple target dependency 
and some of the file names start with '/'. This is in UNIX mode.

Here is a simple Makefile that exhibits the problem:

	all: file1 /file2

	file1 /file2:
		echo $@

If the '/' is removed from the front of file2 in both cases, the result is as 
expected. No problem is found with GNU make 3.75 built on Solaris.

The output from make -p seems to indicate that the space + '/' results in 
names being paired. So, with

	/file1 /file2 /file3 /file4:
		echo $@

you get references to

	/file1 /file2:
		echo $@

	/file3 /file4:
		echo $@

in the make -p output.

I see evidence of GMU make 3.77 ports for the Cygnus environment. Where can 
one get these from? For our purposes make only needs to operate in UNIX mode, 
and //c/... type names are not required.

David Wilson                          David.Wilson@MessagingDirect.com
MessagingDirect Ltd.                             Tel: +44 181 332 9091
http://www.messagingdirect.com                   Fax: +44 181 332 9019



--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: B20.1: problem with make and multiple absolute targets
  1999-08-17 10:38 B20.1: problem with make and multiple absolute targets David Wilson
@ 1999-08-17 10:57 ` Glenn Spell
  1999-08-21 16:15   ` Michael Hirmke
  1999-08-31 23:49   ` Glenn Spell
  1999-08-31 23:49 ` David Wilson
  1 sibling, 2 replies; 6+ messages in thread
From: Glenn Spell @ 1999-08-17 10:57 UTC (permalink / raw)
  To: cygwin

On 17 Aug 1999 around  6:37PM (+0100) David Wilson wrote:

> I see evidence of GMU make 3.77 ports for the Cygnus environment.

On Cygwin, make 3.77 builds out of the box. The install will
not work because of the .exe extention.

> Where can one get these from?

ftp.gnu.org/pub/make/ and all GNU mirrors.

-- 
 )      Glenn Spell <glenn@gs.fay.nc.us>      )   _       _____
 )   Fayetteville, North Carolina, U. S. A.   )_ (__\____o /_/_ |
 )  _  _  _  _  _  _  _  _  _  _  _  _  _  _  )   >-----._/_/__]>
 )- blue skies - happy trails - sweet dreams -)             `0  |

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: B20.1: problem with make and multiple absolute targets
  1999-08-17 10:57 ` Glenn Spell
@ 1999-08-21 16:15   ` Michael Hirmke
  1999-08-31 23:49     ` Michael Hirmke
  1999-08-31 23:49   ` Glenn Spell
  1 sibling, 1 reply; 6+ messages in thread
From: Michael Hirmke @ 1999-08-21 16:15 UTC (permalink / raw)
  To: cygwin

Hi Glenn,

>On 17 Aug 1999 around  6:37PM (+0100) David Wilson wrote:
>
>> I see evidence of GMU make 3.77 ports for the Cygnus environment.
>
>On Cygwin, make 3.77 builds out of the box. The install will
>not work because of the .exe extention.

It will work, if you've downloaded the install plugin.
You can get it

     - on ftp.franken.de
     - in /pub/win32/develop/gnuwin32/cygwin/porters/Humblet_Pierre_A/
     - as install-cygwin-b20-sh

Bye.
Michael.
--
Michael Hirmke           | Telefon +49 (911) 557999
Georg-Strobel-Strasse 81 | FAX     +49 (911) 557664
90489 Nuernberg          | E-Mail  mailto:mh@mike.franken.de
                         | WWW     http://aquarius.franken.de/

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: B20.1: problem with make and multiple absolute targets
  1999-08-17 10:57 ` Glenn Spell
  1999-08-21 16:15   ` Michael Hirmke
@ 1999-08-31 23:49   ` Glenn Spell
  1 sibling, 0 replies; 6+ messages in thread
From: Glenn Spell @ 1999-08-31 23:49 UTC (permalink / raw)
  To: cygwin

On 17 Aug 1999 around  6:37PM (+0100) David Wilson wrote:

> I see evidence of GMU make 3.77 ports for the Cygnus environment.

On Cygwin, make 3.77 builds out of the box. The install will
not work because of the .exe extention.

> Where can one get these from?

ftp.gnu.org/pub/make/ and all GNU mirrors.

-- 
 )      Glenn Spell <glenn@gs.fay.nc.us>      )   _       _____
 )   Fayetteville, North Carolina, U. S. A.   )_ (__\____o /_/_ |
 )  _  _  _  _  _  _  _  _  _  _  _  _  _  _  )   >-----._/_/__]>
 )- blue skies - happy trails - sweet dreams -)             `0  |

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: B20.1: problem with make and multiple absolute targets
  1999-08-21 16:15   ` Michael Hirmke
@ 1999-08-31 23:49     ` Michael Hirmke
  0 siblings, 0 replies; 6+ messages in thread
From: Michael Hirmke @ 1999-08-31 23:49 UTC (permalink / raw)
  To: cygwin

Hi Glenn,

>On 17 Aug 1999 around  6:37PM (+0100) David Wilson wrote:
>
>> I see evidence of GMU make 3.77 ports for the Cygnus environment.
>
>On Cygwin, make 3.77 builds out of the box. The install will
>not work because of the .exe extention.

It will work, if you've downloaded the install plugin.
You can get it

     - on ftp.franken.de
     - in /pub/win32/develop/gnuwin32/cygwin/porters/Humblet_Pierre_A/
     - as install-cygwin-b20-sh

Bye.
Michael.
--
Michael Hirmke           | Telefon +49 (911) 557999
Georg-Strobel-Strasse 81 | FAX     +49 (911) 557664
90489 Nuernberg          | E-Mail  mailto:mh@mike.franken.de
                         | WWW     http://aquarius.franken.de/

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

^ permalink raw reply	[flat|nested] 6+ messages in thread

* B20.1: problem with make and multiple absolute targets
  1999-08-17 10:38 B20.1: problem with make and multiple absolute targets David Wilson
  1999-08-17 10:57 ` Glenn Spell
@ 1999-08-31 23:49 ` David Wilson
  1 sibling, 0 replies; 6+ messages in thread
From: David Wilson @ 1999-08-31 23:49 UTC (permalink / raw)
  To: cygwin; +Cc: David.Wilson

We have found a problem with B20.1 make (GNU 3.75 port) for which we can find 
no workaround. The problem arises when one has a multiple target dependency 
and some of the file names start with '/'. This is in UNIX mode.

Here is a simple Makefile that exhibits the problem:

	all: file1 /file2

	file1 /file2:
		echo $@

If the '/' is removed from the front of file2 in both cases, the result is as 
expected. No problem is found with GNU make 3.75 built on Solaris.

The output from make -p seems to indicate that the space + '/' results in 
names being paired. So, with

	/file1 /file2 /file3 /file4:
		echo $@

you get references to

	/file1 /file2:
		echo $@

	/file3 /file4:
		echo $@

in the make -p output.

I see evidence of GMU make 3.77 ports for the Cygnus environment. Where can 
one get these from? For our purposes make only needs to operate in UNIX mode, 
and //c/... type names are not required.

David Wilson                          David.Wilson@MessagingDirect.com
MessagingDirect Ltd.                             Tel: +44 181 332 9091
http://www.messagingdirect.com                   Fax: +44 181 332 9019



--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~1999-08-31 23:49 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-08-17 10:38 B20.1: problem with make and multiple absolute targets David Wilson
1999-08-17 10:57 ` Glenn Spell
1999-08-21 16:15   ` Michael Hirmke
1999-08-31 23:49     ` Michael Hirmke
1999-08-31 23:49   ` Glenn Spell
1999-08-31 23:49 ` David Wilson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).