Compatibility problem: Cygwin make and makefile filename case

Mike Ayers x99969@yahoo.com
Mon Nov 27 09:58:00 GMT 2000


     Just a thought, but you could instruct Cygwin users to execute the
following from their bash shell:

$ if [ -f MAKEFILE ] ; then mv MAKEFILE makefile ; fi

     I just tested this with `DIR /X ` on NT and found that it would
change the base DOS filename!  Not a perfect solution, but a viable
one...


     $.02,

/|/|ike

> From: Frank Ellert [ mailto:fe@koma.free.de ]
> 
> Earnie Boyd <earnie_boyd@yahoo.com> writes:
> 
> >So, if I had a Cygwin compatible unarchiver would it name 
> the file makefile
> >instead of MAKEFILE?  Most likely, yes.  The real issue here 
> is the means by
> >which you unarchive the file.
> 
> Yes, you're right and I'm wrong.  I used an old DOS unarchiver that
> didn't know LFNs and so always named the file "MAKEFILE", independend
> of wether the file was archived as "Makefile" or "makefile".  The
most
> recent MS-Windows port of my archiver names the file correctly.  I'm
> sorry!
> 
> But the patch is still useful since it adds some kind of DOS
> compatibility to Cygwin make.  ;-)
> 
> Frank
> -- 
> "Wer den Swing in sich hat, kann nicht mehr im Gleichschritt
> marschieren." Coco Schumann, Jazzer, Überlebender des KZ
> Theresienstadt
> 
> --
> Want to unsubscribe from this list?
> Send a message to cygwin-unsubscribe@sourceware.cygnus.com
> 

__________________________________________________
Do You Yahoo!?
Yahoo! Shopping - Thousands of Stores. Millions of Products.
http://shopping.yahoo.com/

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



More information about the Cygwin mailing list