Fwd: RE: Building bison?

2003-11-18 Thread Ian Badcoe



Date: Tue, 18 Nov 2003 20:13:33 +
To: Jörg Schaible [EMAIL PROTECTED]
From: Ian Badcoe [EMAIL PROTECTED]
Subject: RE: Building bison?
At 08:38 18/11/2003 +0100, you wrote:
Ian,

please stay on the list for ongoing conversation ...
Yeah, still here...
Sorry!  You meant put my replies on the list, I only just understood 
you.  I had no idea they weren't already.

I never understand why mail-lists don't use themselves as the reply-to 
address...

Ian Badcoe wrote on Monday, November 17, 2003 9:27 PM:
 At 14:40 17/11/2003 +0100, you wrote:
 Ian Badcoe wrote on Monday, November 17, 2003 12:49 PM:
 [snip]
   1.875c behaves nicely to a ./configure and make but it then
 crashes immediately when I give it my input script.

 Just an idea: Since Cygwin compiles as Unix flavour, the original
 source may not be prepared to read files with CRLF. Try to run it
 from a binary mounted folder providing a file with LF endings only.

 If I invoke bison indirectly:
  bash -c /usr/bin/bison MyFile.y ...

 Then it works, so I suspect it's more to do with invocation than CRLF.
What is the value of your CYGWIN enrironment variable?
I don't seem to have one.  Should I have?

I've always just let the install program and scripts do as they wanted and 
it's generally worked fine in the past.

 As a general question, is there generally a lot of difference between
 sources downloaded from GNU and one's acquired via cygwin?
 Or can one mix
 and match freely (bugs due to version differences notwithstanding)?
Changes for a package are normally documented in /usr/doc/Cygwin.
Aha!  I'll look there immediately, thanks.  Given the combination of 
unix-style man pages and GNU-style info pages and windows-style *.hlp 
pages and web-style *.htm pages, that's one location I wasn't even aware 
of.  Many thanks.

Ian B

Regards,
Jörg
--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/
Free transport into the future, while you wait.

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/


Building bison?

2003-11-17 Thread Ian Badcoe
Hi,
This may well verge on FAQ-like issues, but a quick search didn't find it.
	I've been investigating a possible bug in bison, and talking with the folk 
on the bison-bug mail-list.

	Fairly reasonably, their first request was that I build their latest 
version and see if the bug still occurs.  An they gave me a version 
numbered 1.875c (the current cygwin version is 1.975b, so they are pretty 
similar).

	1.875c behaves nicely to a ./configure and make but it then crashes 
immediately when I give it my input script.

	I was wondering whether I should have expected that, or whether packages 
generally get patched when converted to cygwin?  I ask because I seem re 
recall some posts on this list a few months ago, which were about how much 
something needed patching, every time new sources where brought over from 
GNU?

	So, are any special actions required when getting source from other places 
than via the cygwin setup program?

Ian B
Free transport into the future, while you wait.
--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/


Re: Fatal Flex Bug

2003-09-25 Thread Ian Badcoe
Hi,
I only just joined this list so please excuse aberrant behaviour.
I am also in the same situation as Matt, but I have more 
information about it.

First, you can easily work around it by telling devstudio to 
invoke flex through bash:

c:\cygwin\bin\bash -c flex ...

This is with 2.5.31-1, my previous version was 2.5.4-2.

Previous experience with DevStudio has suggested to me that it 
invokes external commands via command.com, so I checked invoking flex 
manually with identical arguments under bash and under command.com.  The 
result is that it always seems to work under bash, but under command.com it 
can give a command-line summary, but not compile my script (I only have the 
one script handy to test it under).  So I think the problem is invocation 
under command.com, not anything about DevStudio per se.

I'm attaching a cygcheck output.

I'm not sure whether flex should invoke under command.com?  e.g. 
is there a difference between invoking an isolated cygwin executable by its 
full path, and invoking one which tries to access other executables, and 
which may not have a PATH set up?

In any case, I have a simple work-around, so this is JFYI.

Ian Badcoe



I want to use flex in Visual Studio, but it won't run. It just says:

flex: fatal internal error, exec failed

It worked before I upgraded Cygwin a few days ago.  I don't know what
version of flex I was using before, but this happens with version 2.5.31.
Thanks!
Matt Gregory




Cygwin Win95/NT Configuration Diagnostics
Current System Time: Thu Sep 25 11:08:34 2003

Windows XP Professional Ver 5.1 Build 2600 Service Pack 1

Path:   C:\cygwin\usr\local\bin
C:\cygwin\bin
C:\cygwin\bin
C:\cygwin\usr\local\bin
C:\cygwin\bin
C:\cygwin\bin
c:\program Files\Tcl\bin
c:\WINDOWS\system32
c:\WINDOWS
c:\WINDOWS\system32\WBEM
c:\Program Files\Microsoft SQL Server\80\Tools\Binn\
C:\cygwin\usr\X11R6\bin

Output from C:\cygwin\bin\id.exe (nontsec)
UID: 1015(ian) GID: 513(None)
513(None)

Output from C:\cygwin\bin\id.exe (ntsec)
UID: 1015(ian) GID: 513(None)
513(None) 544(Administrators)
545(Users)1007(Debugger Users)

SysDir: C:\WINDOWS\System32
WinDir: C:\WINDOWS

HOME = `C:\cygwin\home\ian'
MAKE_MODE = `unix'
PWD = `/home/ian'
USER = `ian'

ALLUSERSPROFILE = `C:\Documents and Settings\All Users'
APPDATA = `C:\Documents and Settings\ian\Application Data'
CLIENTNAME = `Console'
COMMONPROGRAMFILES = `C:\Program Files\Common Files'
COMPUTERNAME = `XP-410'
COMSPEC = `C:\WINDOWS\system32\cmd.exe'
CVSROOT = `:ext:[EMAIL PROTECTED]:/cvsroot/livingathome'
CVS_RSH = `ssh'
HOMEDRIVE = `C:'
HOMEPATH = `\Documents and Settings\ian'
LOGONSERVER = `\\XP-410'
MANPATH = `:/usr/ssl/man:/usr/ssl/man'
NUMBER_OF_PROCESSORS = `1'
OLDPWD = `/home/ian'
OS = `Windows_NT'
PATHEXT = `.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.tcl'
PROCESSOR_ARCHITECTURE = `x86'
PROCESSOR_IDENTIFIER = `x86 Family 6 Model 11 Stepping 1, GenuineIntel'
PROCESSOR_LEVEL = `6'
PROCESSOR_REVISION = `0b01'
PROGRAMFILES = `C:\Program Files'
PROMPT = `$P$G'
PS1 = `\[\033]0;\w\007
[EMAIL PROTECTED] \[\033[33m\w\033[0m\]
$ '
SESSIONNAME = `Console'
SHLVL = `1'
SYSTEMDRIVE = `C:'
SYSTEMROOT = `C:\WINDOWS'
TEMP = `c:\DOCUME~1\ian\LOCALS~1\Temp'
TERM = `cygwin'
TEXMF = `{/usr/share/lilypond/1.8.2,{/usr/share/lilypond/1.8.2,/usr/share/texmf}}'
TMP = `c:\DOCUME~1\ian\LOCALS~1\Temp'
USERDOMAIN = `XP-410'
USERNAME = `ian'
USERPROFILE = `C:\Documents and Settings\ian'
WINDIR = `C:\WINDOWS'
_ = `/usr/bin/cygcheck'

HKEY_CURRENT_USER\Software\Cygnus Solutions
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\Program Options
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2
  (default) = `/cygdrive'
  cygdrive flags = 0x0022
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/
  (default) = `C:\cygwin'
  flags = 0x000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/bin
  (default) = `C:\cygwin/bin'
  flags = 0x000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/lib
  (default) = `C:\cygwin/lib'
  flags = 0x000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/X11R6/lib/X11/fonts
  (default) = `C:\cygwin\usr\X11R6\lib\X11\fonts'
  flags = 0x000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\Program Options

a:  fd   N/AN/A
c:  hd  NTFS   15923Mb  80% CP CS UN PA FC C
d:  cd  CDFS   0Mb -2147483548%CS  Audio CD
y:  net NTFS8220Mb  55% CP CS UN PA FC C
z:  net NTFS8220Mb  55% CP CS UN PA FC C

C:\cygwin