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: Error running Make with Cygwin tools


--- Linda Seymour <lseymour@eti.com> wrote:
> Hi,

Hi Linda,

> 
> We currently build on 4 platforms, solaris, aix, hpux and nt.  Our NT
> builds currently work using a version of MKSNT which we want to move away
> from.  We have a lot of directory structure in our build and we use imake
> to facilitate the making of our product.  Imake provides rules for building
> makefiles.  One of those rules is MakeMakeSubdirs.  It provides shell code
> to traverse directory structure.  When gmake runs, it requires sh.exe to
> translate the shell code, generated from the MakeMakeSubdirs rule. When we
> run using the sh.exe from the Cygwin b20 binaries, we get the error shown
> below:
> 

If you search the archives you may find where others have ported Imake to
cygwin.


> >gmake Makefiles
> Syntax error: Unterminated quoted string
> i:\gnutools\gmake\gmake: [Makefiles] Error 2 (ignored)
> 

I'm curious as to how you have this directory structure?

> When we run this same gmake Makefiles command using the sh.exe from MKSNT,
> everything works correctly.  
> 

The cygwin make requires the environment variable MAKE_FILE=UNIX to maintain
the posix path structures.  Could this be the problem?

> The same lines get generated on all platforms and execute fine on all our
> unix platforms (solaris, aix, and HPUX). 
> 
> System configuration:
> NT 4.0 with Service Pack 3 or with Service Pack 5
> GNU Make version 3.76.1
> Cygwin B20
> We don't know what version of imake.exe (for NT) that we are running.
> 
> Are you aware of any problems in relationship to using imake and gmake with
> Cygwin
> tools. 
> 
> 
> Also,  uname.exe returns CYGWIN32_NT. I need this to return Window_NT.  Is
> there a
> way to make it do this?
> 

Since this is open source, you can always download the source and rebuild to
get the results you want.  Or rename uname.exe to cygwin-uname.exe and create a
script to call cygwin-uname.exe and use sed to modify the results.

> Thanks

You're welcome,

===
"Earnie Boyd" <mailto:earnie_boyd@yahoo.com>
CYGWIN RELATED HELP:
 DOCUMENTATION: <http://sourceware.cygnus.com/cygwin/docs.html>
       DLLHELP: <http://www.xraylith.wisc.edu/~khan/software/gnu-win32/>
ARCHIVE SEARCH: <http://www.delorie.com/archives/> OR
                <http://www.eGroups.com/list/gnu-win32/>
_____________________________________________________________
Do You Yahoo!?
Free instant messaging and more at http://messenger.yahoo.com

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


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