delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1997/03/10/09:15:35

From: jont AT harlequin DOT co DOT uk (Jon Thackray)
Subject: Re: gcc problem
10 Mar 1997 09:15:35 -0800 :
Approved: cygnus DOT gnu-win32 AT cygnus DOT com
Distribution: cygnus
Message-ID: <5612.9703101410.cygnus.gnu-win32@dedekind.cam.harlequin.co.uk>
References: <4107 DOT 9703101210 AT dedekind DOT cam DOT harlequin DOT co DOT uk>
<332413FF DOT 42EE AT netcom DOT com>
Original-To: Jim Balter <jqb AT netcom DOT com>
Original-Cc: Jon Thackray <jont AT harlequin DOT co DOT uk>, gnu-win32 AT cygnus DOT com
In-Reply-To: <332413FF.42EE@netcom.com>
Original-Sender: owner-gnu-win32 AT cygnus DOT com

Jim Balter writes:
 > Jon Thackray wrote:
 > > 
 > > I am running gcc on two similar NT 3.51 machines. In each case, gcc is
 > > invoked by a makefile line something like
 > >         .o.S
 > >         gcc -c $< -o $@
 > 
 > Well, since that isn't right, perhaps you can say what the Makefile
 > actually contains, instead of what it's something like.

Ok, try this.

$(OBJECTDIR)/%.o: %.S
	@echo 'MAKE: $< -> $@'
	@$(MKDIR) $(OBJECTDIR) $(MKDIREND)
	@$(ASM) $(ASMFLAGS)$@ $<

ASM expands into gcc, ASMFLAGS into a load of stuff to do include
directories, and eventually -o .

 > Any chance that one machine has a mount -b and the other doesn't?

How do I determine this?

 > Do ls -l and md5sum on both Makefiles produce the same results?

Yes.
-
For help on using this list, send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019