Further I ran into this nmake error on cygwin:

$ nmake

Microsoft (R) Program Maintenance Utility Version 7.10.3077
Copyright (C) Microsoft Corporation.  All rights reserved.

makefile(112) : fatal error U1001: syntax error : illegal character '{' in
macro

Stop.

Looking into the Makefile I see that " ${SHELL}" and ${INSTALL} are causing
this error. 

Do I have to install gmake to build?

Saurabh

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Saurabh
Bhatnagar
Sent: Friday, December 28, 2007 12:50 PM
To: 'Kees Zeelenberg'; gnuwin32-users@lists.sourceforge.net
Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Re: [GnuWin32-Users] Moving from bison 1.0 to
2.3(withFlex2.5.4aandm4 1.4.3)

Hi Kees,

THE ISSUE WAS SETTING UP LIB and INCLUDE PATHS in the environment!

It's solved!
Thanks
Saurabh

Short name works only for Program Files => Program~1.
However there are multiple folder for Microsoft* hence Microsoft~1 doesn't
point to "Microsoft Visual Studio".

Solution:
Installed VS .Net 2003 in another path(without spaces) ;). 

$ cl
Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 13.10.3077 for 80x86
Copyright (C) Microsoft Corporation 1984-2002. All rights reserved.

usage: cl [ option... ] filename... [ /link linkoption... ]

$ which cl
/cygdrive/c/buildapps/Microsoft_Visual Studio_.NET_2003/vc7/bin/cl

However configure still has the same issue.

$ ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... no
checking for style of include used by make... none
checking for gcc... no
checking for cc... no
checking for cc... no
checking for cl... cl
checking for C compiler default output file name... configure: error: C
compiler
 cannot create executables
See `config.log' for more details.


Thanks
Saurabh

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Kees
Zeelenberg
Sent: Friday, December 28, 2007 7:03 AM
To: gnuwin32-users@lists.sourceforge.net
Subject: Re: [GnuWin32-Users] Moving from bison 1.0 to 2.3
(withFlex2.5.4aandm4 1.4.3)

----- Original Message ----- 
From: "Saurabh Bhatnagar" 

> $ /cygdrive/c/Program Files/Microsoft Visual Studio .NET 2003/Vc7/bin/cl
> 
> bash: /cygdrive/c/Program: No such file or directory
> 
Possibly the spaces in the path to cl are the problem. Try the short name.

Kees Zeelenberg

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
GnuWin32-Users mailing list
GnuWin32-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gnuwin32-users


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
GnuWin32-Users mailing list
GnuWin32-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gnuwin32-users


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
GnuWin32-Users mailing list
GnuWin32-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gnuwin32-users

Reply via email to