This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: gcc problem


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@cygnus.com" with one line of text: "help".


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]