Subject: Re: gcc problem
From: [email-masked] (Jon Thackray)

10 Mar 1997 09:15:35 -0800
Approved: [email-masked]
Distribution: cygnus
Message-ID: <[email-masked]>
References: <[email-masked]>
	<[email-masked]>
Original-To: Jim Balter <[email-masked]>
Original-Cc: Jon Thackray <[email-masked]>, [email-masked]
In-Reply-To: <[email-masked]>
Original-Sender: [email-masked]

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
"[email-masked]" with one line of text: "help".