Re: g++ doesn't work

2007-05-03 Thread Darrell Blake

I've removed the gnude and mingw directories from my path and now I'm
no longer getting the error message stating that there are multiple
dlls in my path. This hasn't fixed the problem, though. g++ (and gcc)
still don't work. I've even tried uninstalling and reinstalling
cygwin, to no avail.

I've attached a new cygcheck -svr output file.

Darrell

Cygwin Configuration Diagnostics
Current System Time: Thu May 03 09:39:25 2007

Windows XP Professional Ver 5.1 Build 2600 Service Pack 2

Path:   C:\cygwin\usr\local\bin
C:\cygwin\bin
C:\cygwin\bin
C:\cygwin\usr\X11R6\bin
c:\siemens\SMTK\bin
c:\Program Files\PC Connectivity Solution\
c:\Program Files\ARM\RVCT_BREWv1_2\bin
c:\WINDOWS\system32
c:\WINDOWS
c:\j2sdk1.4.2_08\bin
c:\apache-ant-1.5.3-1\bin
c:\distutil
c:\Program Files\Perforce
c:\Program Files\VoiceAge\Common
c:\Program Files\Common Files\GTK\2.0\bin
c:\Program Files\Intel\DMIX
c:\WINDOWS\System32\Wbem
c:\Nokia\Tools\Nokia_Developers_Suite_for_J2ME_3_0\bin
c:\Nokia\Update_Manager\bin
c:\Program Files\Common Files\Autodesk Shared\
c:\Program Files\backburner 2\
c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\bin
c:\gnud\bin
c:\WINDOWS\system32\WindowsPowerShell\v1.0
c:\mingw\bi

Output from C:\cygwin\bin\id.exe (nontsec)
UID: 12126(DarrellB)GID: 10545(mkgroup-l-d)
0(root) 544(Administrators) 545(Users)
10545(mkgroup-l-d)

Output from C:\cygwin\bin\id.exe (ntsec)
UID: 12126(DarrellB)GID: 10545(mkgroup-l-d)
0(root) 544(Administrators) 545(Users)
10545(mkgroup-l-d)

SysDir: C:\WINDOWS\system32
WinDir: C:\WINDOWS

USER = 'DarrellB'
PWD = '/home'
HOME = '/home'
MAKE_MODE = 'unix'

HOMEPATH = '\Documents and Settings\DarrellB'
MANPATH = '/usr/local/man:/usr/share/man:/usr/man:'
APPDATA = 'C:\Documents and Settings\DarrellB\Application Data'
HOSTNAME = 'ALEXC'
VS71COMNTOOLS = 'C:\Program Files\Microsoft Visual Studio .NET 
2003\Common7\Tools\'
TERM = 'cygwin'
PROCESSOR_IDENTIFIER = 'x86 Family 15 Model 4 Stepping 1, GenuineIntel'
BTILDIR = 'C:\PROGRA~1\BREWTO~1.0'
ARMINC = 'C:\Program Files\ARM\RVCT_BREWv1_2\INCLUDE'
WINDIR = 'C:\WINDOWS'
ARMHOME = 'C:\Program Files\ARM\RVCT_BREWv1_2'
OLDPWD = '/etc/skel'
USERDOMAIN = 'DISTDEVS'
OS = 'Windows_NT'
ALLUSERSPROFILE = 'C:\Documents and Settings\All Users'
ARMCONF = 'C:\Program Files\ARM\RVCT_BREWv1_2\BIN'
TEMP = '/cygdrive/c/DOCUME~1/DarrellB/LOCALS~1/Temp'
COMMONPROGRAMFILES = 'C:\Program Files\Common Files'
BREWTOOLSDIR = 'C:\PROGRA~1\BREWTO~1.0'
ARMLIB = 'C:\Program Files\ARM\RVCT_BREWv1_2\LIB'
LIB = 'C:\Program Files\Microsoft Visual Studio .NET 2003\SDK\v1.1\Lib\'
BREWSDK314EN = 'C:\PROGRA~1\BREW31~1.4\sdk'
BREWSDKTOOLSDIR = 'C:\PROGRA~1\BREWSD~1.1'
USERNAME = 'DarrellB'
BREWDIR = 'C:\Program Files\BREW 3.1.4\sdk'
PROCESSOR_LEVEL = '15'
FP_NO_HOST_CHECK = 'NO'
SYSTEMDRIVE = 'C:'
JAVA_HOME = 'C:\j2sdk1.4.2_08'
USERPROFILE = 'C:\Documents and Settings\DarrellB'
PS1 = '\[\e]0;[EMAIL PROTECTED] \[\e[33m\]\w\[\e[0m\]\n\$ '
LOGONSERVER = '\\SERVER'
BTILDIR300 = 'C:\PROGRA~1\BREWTO~1.0'
PROCESSOR_ARCHITECTURE = 'x86'
!C: = 'C:\cygwin\bin'
SHLVL = '1'
BREWTOOLSDIR300 = 'C:\PROGRA~1\BREWTO~1.0'
USERDNSDOMAIN = 'DISTDEVS.LAN'
PATHEXT = '.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.PSC1'
ARMDLL = 'C:\Program Files\ARM\RVCT_BREWv1_2\BIN'
HOMEDRIVE = 'C:'
PROMPT = '$P$G'
MAX_INSTALL_DIR = 'C:\3dsmax7'
COMSPEC = 'C:\WINDOWS\system32\cmd.exe'
TMP = '/cygdrive/c/DOCUME~1/DarrellB/LOCALS~1/Temp'
SYSTEMROOT = 'C:\WINDOWS'
PRINTER = '\\SERVER\Brother HL-1450'
CVS_RSH = '/bin/ssh'
PROCESSOR_REVISION = '0401'
BREWADDINS = 'C:\PROGRA~1\BREWSD~1.1\VSAddins'
INFOPATH = '/usr/local/info:/usr/share/info:/usr/info:'
PROGRAMFILES = 'C:\Program Files'
SBSSERVER = 'SERVER'
NUMBER_OF_PROCESSORS = '2'
INCLUDE = 'C:\Program Files\Microsoft Visual Studio .NET 2003\SDK\v1.1\include\'
SESSIONNAME = 'Console'
COMPUTERNAME = 'ALEXC'
_ = '/usr/bin/cygcheck.exe'
POSIXLY_CORRECT = '1'

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\Program Options

Re: g++ doesn't work

2007-05-03 Thread Thorsten Kampe
* Darrell Blake (Thu, 3 May 2007 09:42:52 +0100)
 I've removed the gnude and mingw directories from my path and now I'm
 no longer getting the error message stating that there are multiple
 dlls in my path. This hasn't fixed the problem, though. g++ (and gcc)
 still don't work. I've even tried uninstalling and reinstalling
 cygwin, to no avail.
 
 I've attached a new cygcheck -svr output file.

Your registry entries are still screwed:

HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0
\mounts
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0
\mounts\00
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0
\mounts\01
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0
\mounts\02
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0
\mounts\03
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0
\mounts\04
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0
\mounts\05
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0
\mounts\06
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0
\mounts\07
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0
\mounts\08
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0
\mounts\09
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0
\mounts\0A
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0
\mounts\0B
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0
\mounts\0C
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0
\mounts\0D
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0
\mounts\0E
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0
\mounts\0F
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0
\mounts\10
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0
\mounts\11
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0
\mounts\12
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0
\mounts\13
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0
\mounts\14
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0
\mounts\15
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0
\mounts\16
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0
\mounts\17
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0
\mounts\18
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0
\mounts\19
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0
\mounts\1A
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0
\mounts\1B
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0
\mounts\1C
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0
\mounts\1D


--
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: Setup.exe Problems on Vista

2007-05-03 Thread Dave Korn
On 02 May 2007 14:13, Aaron Gray wrote:

  Just on the offchance, do you have any of these installed?
 
 Windows Defender
 
 AFAIK Windows Defender is built in to Vista.
 
 Aaron

  Been known to cause problems before:

http://cygwin.com/ml/cygwin/2007-01/msg00742.html

although it's not relevant in this particular case, since it relates in
particular to defender's monitoring of system servics, but that's a generic
list of dodgy apps that covers all possibilities.

cheers,
  DaveK
-- 
Can't think of a witty .sigline today


--
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: g++ doesn't work

2007-05-03 Thread Dave Korn
On 03 May 2007 12:19, Thorsten Kampe wrote:

 * Darrell Blake (Thu, 3 May 2007 09:42:52 +0100)
 I've removed the gnude and mingw directories from my path and now I'm
 no longer getting the error message stating that there are multiple
 dlls in my path. This hasn't fixed the problem, though. g++ (and gcc)
 still don't work. I've even tried uninstalling and reinstalling cygwin, to
 no avail. 
 
 I've attached a new cygcheck -svr output file.
 
 Your registry entries are still screwed:
 
 HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup
 HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0


  Ahhh, sweet sweet nostalgia

  However, despite teh magnificence that once was b15, the presence of these
old keys should not be causing any problems with a modern dll.

  Darrell, are you running any of these apps (that have been shown to cause
problems with cygwin in the past)?


Sonic Solutions burning software containing DLA component

Norton/MacAffee/Symantec antivirus or antispyware

Logitech webcam software with Logitech process monitor service

Kerio, Agnitum or ZoneAlarm Personal Firewall

Iolo System Mechanic/AntiVirus/Firewall

LanDesk

Windows Defender 

Embassy Trust Suite fingerprint reader software wxvault.dll


   cheers,
  DaveK
-- 
Can't think of a witty .sigline today


--
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: g++ doesn't work

2007-05-03 Thread Darrell Blake

  Darrell, are you running any of these apps (that have been shown to cause
problems with cygwin in the past)?


Nope, I'm not running any of those.

Just in case I deleted the cygnus registry key folder and reinstalled
cygwin to see if it would make a different but it didn't.

I've attached a new cygcheck -svr output for your perusal =o)

Darrell

Cygwin Configuration Diagnostics
Current System Time: Thu May 03 12:37:05 2007

Windows XP Professional Ver 5.1 Build 2600 Service Pack 2

Path:   C:\cygwin\usr\local\bin
C:\cygwin\bin
C:\cygwin\bin
C:\cygwin\usr\X11R6\bin
c:\siemens\SMTK\bin
c:\Program Files\PC Connectivity Solution\
c:\Program Files\ARM\RVCT_BREWv1_2\bin
c:\WINDOWS\system32
c:\WINDOWS
c:\j2sdk1.4.2_08\bin
c:\apache-ant-1.5.3-1\bin
c:\distutil
c:\Program Files\Perforce
c:\Program Files\VoiceAge\Common
c:\Program Files\Common Files\GTK\2.0\bin
c:\Program Files\Intel\DMIX
c:\WINDOWS\System32\Wbem
c:\Nokia\Tools\Nokia_Developers_Suite_for_J2ME_3_0\bin
c:\Nokia\Update_Manager\bin
c:\Program Files\Common Files\Autodesk Shared\
c:\Program Files\backburner 2\
c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\bin
c:\gnud\bin
c:\WINDOWS\system32\WindowsPowerShell\v1.0
c:\mingw\bi

Output from C:\cygwin\bin\id.exe (nontsec)
UID: 12126(DarrellB)GID: 10545(mkgroup-l-d)
0(root) 544(Administrators) 545(Users)
10545(mkgroup-l-d)

Output from C:\cygwin\bin\id.exe (ntsec)
UID: 12126(DarrellB)GID: 10545(mkgroup-l-d)
0(root) 544(Administrators) 545(Users)
10545(mkgroup-l-d)

SysDir: C:\WINDOWS\system32
WinDir: C:\WINDOWS

USER = 'DarrellB'
PWD = '/home'
HOME = '/home'
MAKE_MODE = 'unix'

HOMEPATH = '\Documents and Settings\DarrellB'
MANPATH = '/usr/local/man:/usr/share/man:/usr/man:'
APPDATA = 'C:\Documents and Settings\DarrellB\Application Data'
HOSTNAME = 'ALEXC'
VS71COMNTOOLS = 'C:\Program Files\Microsoft Visual Studio .NET 
2003\Common7\Tools\'
TERM = 'cygwin'
PROCESSOR_IDENTIFIER = 'x86 Family 15 Model 4 Stepping 1, GenuineIntel'
BTILDIR = 'C:\PROGRA~1\BREWTO~1.0'
ARMINC = 'C:\Program Files\ARM\RVCT_BREWv1_2\INCLUDE'
WINDIR = 'C:\WINDOWS'
ARMHOME = 'C:\Program Files\ARM\RVCT_BREWv1_2'
OLDPWD = '/usr/bin'
USERDOMAIN = 'DISTDEVS'
OS = 'Windows_NT'
ALLUSERSPROFILE = 'C:\Documents and Settings\All Users'
ARMCONF = 'C:\Program Files\ARM\RVCT_BREWv1_2\BIN'
TEMP = '/cygdrive/c/DOCUME~1/DarrellB/LOCALS~1/Temp'
COMMONPROGRAMFILES = 'C:\Program Files\Common Files'
BREWTOOLSDIR = 'C:\PROGRA~1\BREWTO~1.0'
ARMLIB = 'C:\Program Files\ARM\RVCT_BREWv1_2\LIB'
LIB = 'C:\Program Files\Microsoft Visual Studio .NET 2003\SDK\v1.1\Lib\'
BREWSDK314EN = 'C:\PROGRA~1\BREW31~1.4\sdk'
BREWSDKTOOLSDIR = 'C:\PROGRA~1\BREWSD~1.1'
USERNAME = 'DarrellB'
BREWDIR = 'C:\Program Files\BREW 3.1.4\sdk'
PROCESSOR_LEVEL = '15'
FP_NO_HOST_CHECK = 'NO'
SYSTEMDRIVE = 'C:'
JAVA_HOME = 'C:\j2sdk1.4.2_08'
USERPROFILE = 'C:\Documents and Settings\DarrellB'
PS1 = '\[\e]0;[EMAIL PROTECTED] \[\e[33m\]\w\[\e[0m\]\n\$ '
LOGONSERVER = '\\SERVER'
BTILDIR300 = 'C:\PROGRA~1\BREWTO~1.0'
PROCESSOR_ARCHITECTURE = 'x86'
!C: = 'C:\cygwin\bin'
SHLVL = '1'
BREWTOOLSDIR300 = 'C:\PROGRA~1\BREWTO~1.0'
USERDNSDOMAIN = 'DISTDEVS.LAN'
PATHEXT = '.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.PSC1'
ARMDLL = 'C:\Program Files\ARM\RVCT_BREWv1_2\BIN'
HOMEDRIVE = 'C:'
PROMPT = '$P$G'
MAX_INSTALL_DIR = 'C:\3dsmax7'
COMSPEC = 'C:\WINDOWS\system32\cmd.exe'
TMP = '/cygdrive/c/DOCUME~1/DarrellB/LOCALS~1/Temp'
SYSTEMROOT = 'C:\WINDOWS'
PRINTER = '\\SERVER\Brother HL-1450'
CVS_RSH = '/bin/ssh'
PROCESSOR_REVISION = '0401'
BREWADDINS = 'C:\PROGRA~1\BREWSD~1.1\VSAddins'
INFOPATH = '/usr/local/info:/usr/share/info:/usr/info:'
PROGRAMFILES = 'C:\Program Files'
SBSSERVER = 'SERVER'
NUMBER_OF_PROCESSORS = '2'
INCLUDE = 'C:\Program Files\Microsoft Visual Studio .NET 2003\SDK\v1.1\include\'
SESSIONNAME = 'Console'
COMPUTERNAME = 'ALEXC'
_ = '/usr/bin/cygcheck.exe'
POSIXLY_CORRECT = '1'

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\Program Options

a:  fd 

RE: g++ doesn't work

2007-05-03 Thread Dave Korn
On 03 May 2007 12:42, Darrell Blake wrote:

   Darrell, are you running any of these apps (that have been shown to cause
 problems with cygwin in the past)?
 
 Nope, I'm not running any of those.
 
 Just in case I deleted the cygnus registry key folder and reinstalled
 cygwin to see if it would make a different but it didn't.
 
 I've attached a new cygcheck -svr output for your perusal =o)


  Nothing leaps out at me.

  What happens if you add the -v option to your compiler commandline? 

cheers,
  DaveK
-- 
Can't think of a witty .sigline today


--
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: g++ doesn't work

2007-05-03 Thread Darrell Blake

On 5/3/07, Dave Korn [EMAIL PROTECTED] wrote:

  What happens if you add the -v option to your compiler commandline?


Already tried that. Nothing immediately obvious seemed apparent.
Here's the ouput:

$ g++ test.cpp -v -o test
Reading specs from /usr/lib/gcc/i686-pc-cygwin/3.4.4/specs
Configured with: /usr/build/package/orig/test.respin/gcc-3.4.4-3/configure --ver
bose --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --libdir=/usr/lib --libe
xecdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info --enable-langu
ages=c,ada,c++,d,f77,pascal,java,objc --enable-nls --without-included-gettext --
enable-version-specific-runtime-libs --without-x --enable-libgcj --disable-java-
awt --with-system-zlib --enable-interpreter --disable-libgcj-debug --enable-thre
ads=posix --enable-java-gc=boehm --disable-win32-registry --enable-sjlj-exceptio
ns --enable-hash-synchronization --enable-libstdcxx-debug
Thread model: posix
gcc version 3.4.4 (cygming special, gdc 0.12, using dmd 0.125)
/usr/lib/gcc/i686-pc-cygwin/3.4.4/cc1plus.exe -quiet -v -D__CYGWIN32__ -D__CYGW
IN__ -Dunix -D__unix__ -D__unix -idirafter /usr/lib/gcc/i686-pc-cygwin/3.4.4/../
../../../include/w32api -idirafter /usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../..
/i686-pc-cygwin/lib/../../include/w32api test.cpp -quiet -dumpbase test.cpp -mtu
ne=pentiumpro -auxbase test -version -o /cygdrive/c/DOCUME~1/DarrellB/LOCALS~1/T
emp/ccNfcB8s.s

--
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: g++ doesn't work

2007-05-03 Thread Dave Korn
On 03 May 2007 12:58, Darrell Blake wrote:

 On 5/3/07, Dave Korn [EMAIL PROTECTED] wrote:
^^^

  Please take care not to do that Darrell,
http://cygwin.com/acronyms#PCYMTNQREAIYR - I get enough spam as it is!


   What happens if you add the -v option to your compiler commandline?
 
 Already tried that. Nothing immediately obvious seemed apparent.
 Here's the ouput:

  [snipped]

  That's truncated, there should be tonnes more output than that, and what I
think it shows is that the executable is failing in very early startup.  I
wonder if it's possible there's a missing dependency?  What does

cygcheck /usr/lib/gcc/i686-pc-cygwin/3.4.4/cc1plus.exe

show?



cheers,
  DaveK
-- 
Can't think of a witty .sigline today


--
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: g++ doesn't work

2007-05-03 Thread Boffin, Stephane \(GE Infra, Aviation, Non-GE\)
Hello all,
 
When you log into cygwin using a shell the username used is the windows
user name. I have a setup where I would like 10 users from 10 diffrent
PC  to have one username and 10 other using 10 other pc have an other. 
 
This is because I only want to manage 2 user name in the passwd file. 
 
Is this possible ?
And if yes how do I do that
THANKS

--
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/



Cygwin username

2007-05-03 Thread Boffin, Stephane \(GE Infra, Aviation, Non-GE\)

Hello all,
 
When you log into cygwin using a shell the username used is the windows
user name. I have a setup where I would like 10 users from 10 diffrent
PC  to have one username and 10 other using 10 other pc have an other. 
 
This is because I only want to manage 2 user name in the passwd file. 
 
Is this possible ?
And if yes how do I do that
THANKS

--
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/



Some Batch-Scripting-Problems under Windows

2007-05-03 Thread Daniel Spannbauer
Hello,

we've build a Program for Cygwin to load some Firmware in some Hardware
which is produced by us.
The Firmwware is called file.tld. At the moment the USer has to open
Cygwin, jumpd to the Path of the file.tld (for example: C:\Dokumente und
Einstellungen\test\Eigene Dateien\tload) an run the program by tload -l
/dev/ttyS0 file.tld.

This is very uncomfortable.
Now I try to write a simple Batch-Script to do this automaticly, so you
have just to douible-klick  on file.tld an the  Firmware is loaded over
a predefined serial Line.

The batch-Script looks as follows:

LINE=/dev/ttyS0
c:\Programme\cygwin\bin\bash -c /bin/tload.exe -l %LINE% %1%

But this won't work couse %1% is still C:\Dokumente und
Einstellungen\test\Eigene Dateien\tload\file.tld which isn't a cygwin-Path.
So I cahnged the script as follows:

LINE=/dev/ttyS0
c:\Programme\cygwin\bin\bash -c /bin/tload.exe -l %LINE% '/bin/cygpath
-a -i %1%' 
But this also don't work. couse %1% has Double-Quots () at first and
last place.

I think it is just a quoting-Problem.

Any Ideas out there?

Regards

Daniel

-- 
Daniel Spannbauer Systembetreuung
marco Systemanalyse und Entwicklung GmbH  Tel   +49 8333 9233-27 Fax -11
Auf der Wies 8, D 87727 Babenhausen   Mobil +49 171 4033220
http://www.marco.de/  Email [EMAIL PROTECTED]
Geschäftsführer Martin Reuter HRB 68255 Amtsgericht München


--
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: g++ doesn't work

2007-05-03 Thread Darrell Blake

On 5/3/07, Dave Korn [EMAIL PROTECTED] wrote:

What does

cygcheck /usr/lib/gcc/i686-pc-cygwin/3.4.4/cc1plus.exe

show?



It shows this:

$ cygcheck /usr/lib/gcc/i686-pc-cygwin/3.4.4/cc1plus.exe
C:/cygwin/lib/gcc/i686-pc-cygwin/3.4.4/cc1plus.exe
 C:\cygwin\bin\cygwin1.dll
   C:\WINDOWS\system32\ADVAPI32.DLL
 C:\WINDOWS\system32\ntdll.dll
 C:\WINDOWS\system32\KERNEL32.dll
 C:\WINDOWS\system32\RPCRT4.dll
 C:\WINDOWS\system32\cygiconv-2.dll
 C:\cygwin\bin\cygintl-3.dll

Darrell

--
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: Successfull Build of gcc on Cygwin WinXp SP2

2007-05-03 Thread Aaron Gray

Aaron Gray wrote:


I tried doing 'make check' but it needed autogen which does not build on
Cygwin apparently :(


That's just the fixincludes dir.  It's not important.  This is why the
instructions tell you to run make -k check.


Okay I will try that.


Oh 'make check' is the test suite, did not realize that. I thought it was a 
separate CVS branch/download.


Anyway its been running ten hours now and got to struct-layout-1.

Any clue as to how long it will run for ?

Aaron


--
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: g++ doesn't work

2007-05-03 Thread Dave Korn
On 03 May 2007 13:23, Darrell Blake wrote:

 On 5/3/07, Dave Korn dave.korn@ STOP IT  wrote:

  If you're going to keep doing that, you're on your own.

cheers,
  DaveK
-- 
Can't think of a witty .sigline today


--
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: g++ doesn't work

2007-05-03 Thread Darrell Blake

  If you're going to keep doing that, you're on your own.


Oh, crap. Sorry =o( I didn't realise I'd left it on.

Darrell

--
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: Successfull Build of gcc on Cygwin WinXp SP2

2007-05-03 Thread Charles Wilson

Aaron Gray wrote:


Any clue as to how long it will run for ?


Depends on how many languages you enabled.  In my case:

c,c++,fortran,objc

Bootstrapping the compilers took about 6 hours, and the testsuite took 
about 60.


--
Chuck




--
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: Successfull Build of gcc on Cygwin WinXp SP2

2007-05-03 Thread Aaron Gray
Has anyone already run the testsuite on GCC-4.3-20070427/Cygwin latest 
snapshot ?


Got the following so far :-

Running /usr/src/gcc-4.3-20070427/gcc/testsuite/gcc.dg/dg.exp ...
FAIL: gcc.dg/20021014-1.c (test for excess errors)
WARNING: gcc.dg/20021014-1.c compilation failed to produce executable
FAIL: gcc.dg/Wstrict-overflow-11.c (test for excess errors)
FAIL: gcc.dg/builtins-20.c (test for excess errors)
FAIL: gcc.dg/builtins-59.c scan-tree-dump __builtin_cexpi
FAIL: gcc.dg/builtins-59.c scan-tree-dump-not sincos
FAIL: gcc.dg/builtins- 61.c scan-tree-dump cexpi
FAIL: gcc.dg/builtins-61.c scan-tree-dump sin
FAIL: gcc.dg/builtins-61.c scan-tree-dump cos
FAIL: gcc.dg/builtins-61.c scan-tree-dump return 0.0
FAIL: gcc.dg/builtins-62.c scan-tree-dump-times cexpi 3

Anyone know how long this make check will take approximately ?

Running about 12 hours so far.

Aaron


--
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: Successfull Build of gcc on Cygwin WinXp SP2

2007-05-03 Thread Aaron Gray

Any clue as to how long it will run for ?


Depends on how many languages you enabled.  In my case:

c,c++,fortran,objc

Bootstrapping the compilers took about 6 hours, and the testsuite took 
about 60.


Okay, I have just done c, and c++.

Have you got testsuite results, have you put them online at all ?

Aaron


--
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: Cygwin username

2007-05-03 Thread Igor Peshansky
Please do not commandeer an unrelated thread for a new topic.  Changing
the subject is not enough -- you have to post a new message altogether if
you want to break the thread.

On Thu, 3 May 2007, Boffin, Stephane (GE Infra, Aviation, Non-GE) wrote:

 Hello all,

 When you log into cygwin using a shell the username used is the windows
 user name. I have a setup where I would like 10 users from 10 diffrent
 PC  to have one username and 10 other using 10 other pc have an other.

 This is because I only want to manage 2 user name in the passwd file.

 Is this possible ?
 And if yes how do I do that

I don't believe it's possible.  First off, entries in /etc/passwd contain
an SID that identifies the associated Windows user, so you'd need to have
one entry per Windows user anyway, or they will be unrecognized by Cygwin.

You can have multiple entries in /etc/passwd with the same username, but
when Cygwin looks up a username, it stops at the first one, so anyone
trying to log in with that username will be treated as the first matching
user (and will need to enter the password for that user).

On the other hand, you can use the mkpasswd tool to manage your
/etc/passwd file instead of doing it by hand.
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED] | [EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_Igor Peshansky, Ph.D. (name changed!)
 |,4-  ) )-,_. ,\ (  `'-'   old name: Igor Pechtchanski
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

Freedom is just another word for nothing left to lose...  -- Janis Joplin

--
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: Successfull Build of gcc on Cygwin WinXp SP2

2007-05-03 Thread Dave Korn
On 03 May 2007 01:18, Aaron Gray wrote:

 Aaron Gray wrote:
 
 I tried doing 'make check' but it needed autogen which does not build on
 Cygwin apparently :(
 
 That's just the fixincludes dir.  It's not important.  This is why the
 instructions tell you to run make -k check.
 
 Okay I will try that.
 
 Oh 'make check' is the test suite, did not realize that. I thought it was a
 separate CVS branch/download.
 
 Anyway its been running ten hours now and got to struct-layout-1.
 
 Any clue as to how long it will run for ?

  Depends on your machine.  Can easily be a couple of days.  :-O

cheers,
  DaveK
-- 
Can't think of a witty .sigline today


--
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: Successfull Build of gcc on Cygwin WinXp SP2

2007-05-03 Thread Dave Korn
On 03 May 2007 02:43, Aaron Gray wrote:

 Any clue as to how long it will run for ?
 
 Depends on how many languages you enabled.  In my case:
 
 c,c++,fortran,objc
 
 Bootstrapping the compilers took about 6 hours, and the testsuite took
 about 60.
 
 Okay, I have just done c, and c++.
 
 Have you got testsuite results, have you put them online at all ?


  Various people run the testsuite on cygwin every now and again; check the
gcc-testresults@ mailinglist archive. 



cheers,
  DaveK
-- 
Can't think of a witty .sigline today


--
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: g++ doesn't work

2007-05-03 Thread Dave Korn
On 03 May 2007 14:26, Darrell Blake wrote:

   If you're going to keep doing that, you're on your own.
 
 Oh, crap. Sorry =o( I didn't realise I'd left it on.
 
 Darrell

  Heh.  Right, where were we:  Oh yeah.

 cygcheck /usr/lib/gcc/i686-pc-cygwin/3.4.4/cc1plus.exe
 
 show?
 
 
 It shows this:
 
 $ cygcheck /usr/lib/gcc/i686-pc-cygwin/3.4.4/cc1plus.exe
 C:/cygwin/lib/gcc/i686-pc-cygwin/3.4.4/cc1plus.exe
   C:\cygwin\bin\cygwin1.dll
 C:\WINDOWS\system32\ADVAPI32.DLL
   C:\WINDOWS\system32\ntdll.dll
   C:\WINDOWS\system32\KERNEL32.dll
   C:\WINDOWS\system32\RPCRT4.dll
   C:\WINDOWS\system32\cygiconv-2.dll
^^
   , bad

   C:\cygwin\bin\cygintl-3.dll


  There definitely shouldn't be any cygwin dlls in the windows\system32 subdir
(or indeed anywhere else except under your cygwin tree).  Try moving them out
of the way and see if that helps.


cheers,
  DaveK
-- 
Can't think of a witty .sigline today


--
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: Cygwin username

2007-05-03 Thread Boffin, Stephane \(GE Infra, Aviation, Non-GE\)
I do not want to use the mkpasswd because I have 500 user on the network
and only 6 - 10 will be using Cygwin.
I tried to put only on entry in the /etc/passwd and cygwin uses this
user name but I do not know if this is a bug or a feature.
I would of expected cygwin to send a authentication error ...???


-Original Message-
From: Igor Peshansky [mailto:[EMAIL PROTECTED] 
Sent: 3 mai 2007 10:18
To: Boffin, Stephane (GE Infra, Aviation, Non-GE)
Cc: cygwin@cygwin.com
Subject: Re: Cygwin username

Please do not commandeer an unrelated thread for a new topic.  Changing
the subject is not enough -- you have to post a new message altogether
if you want to break the thread.

On Thu, 3 May 2007, Boffin, Stephane (GE Infra, Aviation, Non-GE) wrote:

 Hello all,

 When you log into cygwin using a shell the username used is the 
 windows user name. I have a setup where I would like 10 users from 10 
 diffrent PC  to have one username and 10 other using 10 other pc have
an other.

 This is because I only want to manage 2 user name in the passwd file.

 Is this possible ?
 And if yes how do I do that

I don't believe it's possible.  First off, entries in /etc/passwd
contain an SID that identifies the associated Windows user, so you'd
need to have one entry per Windows user anyway, or they will be
unrecognized by Cygwin.

You can have multiple entries in /etc/passwd with the same username, but
when Cygwin looks up a username, it stops at the first one, so anyone
trying to log in with that username will be treated as the first
matching user (and will need to enter the password for that user).

On the other hand, you can use the mkpasswd tool to manage your
/etc/passwd file instead of doing it by hand.
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED] |
[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_Igor Peshansky, Ph.D. (name
changed!)
 |,4-  ) )-,_. ,\ (  `'-'   old name: Igor Pechtchanski
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

Freedom is just another word for nothing left to lose...  -- Janis
Joplin

--
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: Some Batch-Scripting-Problems under Windows

2007-05-03 Thread Igor Peshansky
On Thu, 3 May 2007, Daniel Spannbauer wrote:

 Hello,

 we've build a Program for Cygwin to load some Firmware in some Hardware
 which is produced by us.
 The Firmwware is called file.tld. At the moment the USer has to open
 Cygwin, jumpd to the Path of the file.tld (for example: C:\Dokumente und
 Einstellungen\test\Eigene Dateien\tload) an run the program by tload -l
 /dev/ttyS0 file.tld.

 This is very uncomfortable.
 Now I try to write a simple Batch-Script to do this automaticly, so you
 have just to douible-klick  on file.tld an the  Firmware is loaded over
 a predefined serial Line.

 The batch-Script looks as follows:

 LINE=/dev/ttyS0
 c:\Programme\cygwin\bin\bash -c /bin/tload.exe -l %LINE% %1%

 But this won't work couse %1% is still C:\Dokumente und
 Einstellungen\test\Eigene Dateien\tload\file.tld which isn't a cygwin-Path.

That's not even valid batch syntax.  You want

set LINE=/dev/ttyS0
c:\Programme\cygwin\bin\bash -c /bin/tload.exe -l %LINE% %1

 So I cahnged the script as follows:

 LINE=/dev/ttyS0
 c:\Programme\cygwin\bin\bash -c /bin/tload.exe -l %LINE% '/bin/cygpath -a -i 
 %1%' 

 But this also don't work. couse %1% has Double-Quots () at first and
 last place.

 I think it is just a quoting-Problem.
 Any Ideas out there?

Yes.  Use single quotes.  For example, the below should work:

set LINE=/dev/ttyS0
c:\cygwin\bin\bash -c '/bin/tload.exe -l %LINE% `/bin/cygpath -a -i %1`'

(you need to quote the output of cygpath as well, as that may contain
spaces).
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED] | [EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_Igor Peshansky, Ph.D. (name changed!)
 |,4-  ) )-,_. ,\ (  `'-'   old name: Igor Pechtchanski
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

Freedom is just another word for nothing left to lose...  -- Janis Joplin

--
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: Cygwin username

2007-05-03 Thread Igor Peshansky
Ugh, top-posting...  Reformatted.

On Thu, 3 May 2007, Boffin, Stephane (GE Infra, Aviation, Non-GE) wrote:

 -Original Message-
 From: Igor Peshansky [mailto:[EMAIL PROTECTED]
 Sent: 3 mai 2007 10:18
 To: Boffin, Stephane (GE Infra, Aviation, Non-GE)
 Cc: [EMAIL PROTECTED]

http://cygwin.com/acronyms/#PCYMTNQREAIYR.  Thanks.

 Subject: Re: Cygwin username

  On Thu, 3 May 2007, Boffin, Stephane (GE Infra, Aviation, Non-GE) wrote:
 
   Hello all,
  
   When you log into cygwin using a shell the username used is the
   windows user name. I have a setup where I would like 10 users from
   10 diffrent PC to have one username and 10 other using 10 other pc
   have an other.
  
   This is because I only want to manage 2 user name in the passwd file.
  
   Is this possible ?
   And if yes how do I do that
 
  I don't believe it's possible.  First off, entries in /etc/passwd
  contain an SID that identifies the associated Windows user, so you'd
  need to have one entry per Windows user anyway, or they will be
  unrecognized by Cygwin.
 
  You can have multiple entries in /etc/passwd with the same username, but
  when Cygwin looks up a username, it stops at the first one, so anyone
  trying to log in with that username will be treated as the first
  matching user (and will need to enter the password for that user).
 
  On the other hand, you can use the mkpasswd tool to manage your
  /etc/passwd file instead of doing it by hand.
  Igor

 I do not want to use the mkpasswd because I have 500 user on the network
 and only 6 - 10 will be using Cygwin.

Then take a look at the -u option to mkpasswd, and write a script to
only grab the users you want.  Similarly for mkgroup (with -g).

 I tried to put only on entry in the /etc/passwd and cygwin uses this
 user name but I do not know if this is a bug or a feature.
 I would of expected cygwin to send a authentication error ...???

Huh?  You'll need to expand on this.  What do you mean by cygwin uses
this user name?
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED] | [EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_Igor Peshansky, Ph.D. (name changed!)
 |,4-  ) )-,_. ,\ (  `'-'   old name: Igor Pechtchanski
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

Freedom is just another word for nothing left to lose...  -- Janis Joplin

--
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: Cygwin username

2007-05-03 Thread Boffin, Stephane \(GE Infra, Aviation, Non-GE\)
My windows username is boffin in the /etc/passwd I have 1 entry
makinohd:unused_by_nt/2000/xp:14966:10545:nhm1zjt,U-GEAECANADA\nhm1zjt,S
-1-5-21-2066620035-1092103790-1905203885-4966:/home:/bin/bash

When I get into the bash shell the user that is there is makinohd. (If I
do a whoami makinohd is returned)

 

-Original Message-
From: Igor Peshansky [mailto:[EMAIL PROTECTED] 
Sent: 3 mai 2007 10:33
To: Boffin, Stephane (GE Infra, Aviation, Non-GE)
Cc: cygwin@cygwin.com
Subject: RE: Cygwin username

Ugh, top-posting...  Reformatted.

On Thu, 3 May 2007, Boffin, Stephane (GE Infra, Aviation, Non-GE) wrote:

 -Original Message-
 From: Igor Peshansky [mailto:[EMAIL PROTECTED]
 Sent: 3 mai 2007 10:18
 To: Boffin, Stephane (GE Infra, Aviation, Non-GE)
 Cc: [EMAIL PROTECTED]

http://cygwin.com/acronyms/#PCYMTNQREAIYR.  Thanks.

 Subject: Re: Cygwin username

  On Thu, 3 May 2007, Boffin, Stephane (GE Infra, Aviation, Non-GE)
wrote:
 
   Hello all,
  
   When you log into cygwin using a shell the username used is the 
   windows user name. I have a setup where I would like 10 users from

   10 diffrent PC to have one username and 10 other using 10 other pc

   have an other.
  
   This is because I only want to manage 2 user name in the passwd
file.
  
   Is this possible ?
   And if yes how do I do that
 
  I don't believe it's possible.  First off, entries in /etc/passwd 
  contain an SID that identifies the associated Windows user, so you'd

  need to have one entry per Windows user anyway, or they will be 
  unrecognized by Cygwin.
 
  You can have multiple entries in /etc/passwd with the same username,

  but when Cygwin looks up a username, it stops at the first one, so 
  anyone trying to log in with that username will be treated as the 
  first matching user (and will need to enter the password for that
user).
 
  On the other hand, you can use the mkpasswd tool to manage your 
  /etc/passwd file instead of doing it by hand.
  Igor

 I do not want to use the mkpasswd because I have 500 user on the 
 network and only 6 - 10 will be using Cygwin.

Then take a look at the -u option to mkpasswd, and write a script to
only grab the users you want.  Similarly for mkgroup (with -g).

 I tried to put only on entry in the /etc/passwd and cygwin uses this 
 user name but I do not know if this is a bug or a feature.
 I would of expected cygwin to send a authentication error ...???

Huh?  You'll need to expand on this.  What do you mean by cygwin uses
this user name?
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED] |
[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_Igor Peshansky, Ph.D. (name
changed!)
 |,4-  ) )-,_. ,\ (  `'-'   old name: Igor Pechtchanski
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

Freedom is just another word for nothing left to lose...  -- Janis
Joplin

--
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: g++ doesn't work

2007-05-03 Thread Darrell Blake

On 5/3/07, Dave Korn [EMAIL PROTECTED]).com wrote:


  There definitely shouldn't be any cygwin dlls in the windows\system32 subdir
(or indeed anywhere else except under your cygwin tree).  Try moving them out
of the way and see if that helps.


Brilliant, that's sorted it.

Cheers,

Darrell

--
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: Successfull Build of gcc on Cygwin WinXp SP2

2007-05-03 Thread Aaron Gray

 Various people run the testsuite on cygwin every now and again; check the
gcc-testresults@ mailinglist archive.


Yes, Tim has allready run it :-

   http://gcc.gnu.org/ml/gcc-testresults/2007-04/msg01540.html

Aaron


--
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: Successfull Build of gcc on Cygwin WinXp SP2

2007-05-03 Thread Brian Dessent
Aaron Gray wrote:

 Oh 'make check' is the test suite, did not realize that. I thought it was a
 separate CVS branch/download.
 
 Anyway its been running ten hours now and got to struct-layout-1.
 
 Any clue as to how long it will run for ?

The last time I built 4.3 (couple of months ago) with all languages
including ada and java, it took about 21 hours to bootstrap and 33 hours
to run the testsuite.  Yes, it just takes forever.  Dejagnu forks a ton,
and Cygwin is slow at that.

However, I have been working on ways of speeding up the dejagnu part. 
If you copy /usr/bin to a ramdrive, things really take off.  Also,
removing everything but /usr/bin and %windir%\system32 from $PATH seems
to help a little as it prevents stat()-ing around in vein all over the
place when spawning.

Brian

--
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: Successfull Build of gcc on Cygwin WinXp SP2

2007-05-03 Thread Dave Korn
On 03 May 2007 03:41, Aaron Gray wrote:

  Various people run the testsuite on cygwin every now and again; check the
 gcc-testresults@ mailinglist archive.
 
 Yes, Tim has allready run it :-
 
 http://gcc.gnu.org/ml/gcc-testresults/2007-04/msg01540.html
 

  I haven't done one for weeks now

http://gcc.gnu.org/ml/gcc-testresults/2007-04/msg00108.html


cheers,
  DaveK
-- 
Can't think of a witty .sigline today


--
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: Some Batch-Scripting-Problems under Windows

2007-05-03 Thread Daniel Spannbauer
Hello Igor,
first of all Thanks for the answer.

Igor Peshansky wrote:
 On Thu, 3 May 2007, Daniel Spannbauer wrote:

   
 Hello,

 we've build a Program for Cygwin to load some Firmware in some Hardware
 which is produced by us.
 The Firmwware is called file.tld. At the moment the USer has to open
 Cygwin, jumpd to the Path of the file.tld (for example: C:\Dokumente und
 Einstellungen\test\Eigene Dateien\tload) an run the program by tload -l
 /dev/ttyS0 file.tld.

 This is very uncomfortable.
 Now I try to write a simple Batch-Script to do this automaticly, so you
 have just to douible-klick  on file.tld an the  Firmware is loaded over
 a predefined serial Line.

 The batch-Script looks as follows:

 LINE=/dev/ttyS0
 c:\Programme\cygwin\bin\bash -c /bin/tload.exe -l %LINE% %1%

 But this won't work couse %1% is still C:\Dokumente und
 Einstellungen\test\Eigene Dateien\tload\file.tld which isn't a cygwin-Path.
 

 That's not even valid batch syntax.  You want

 set LINE=/dev/ttyS0
 c:\Programme\cygwin\bin\bash -c /bin/tload.exe -l %LINE% %1

   
Thats clear, I simply don't wrote it.


 So I cahnged the script as follows:

 LINE=/dev/ttyS0
 c:\Programme\cygwin\bin\bash -c /bin/tload.exe -l %LINE% '/bin/cygpath -a 
 -i %1%' 

 But this also don't work. couse %1% has Double-Quots () at first and
 last place.

 I think it is just a quoting-Problem.
 Any Ideas out there?
 

 Yes.  Use single quotes.  For example, the below should work:

 set LINE=/dev/ttyS0
 c:\cygwin\bin\bash -c '/bin/tload.exe -l %LINE% `/bin/cygpath -a -i %1`'

 (you need to quote the output of cygpath as well, as that may contain
 spaces).

   
Ok, that works. But the Output of cygpath is /cygdrive/c/Dokumente und
Einstellungen/test/Eigene Dateien/tload/file.tld.
Seems that our Program, tload.exe, has a Problemwith Blanks in the
File-Name :(

Regards

Daniel



-- 
Daniel Spannbauer Systembetreuung
marco Systemanalyse und Entwicklung GmbH  Tel   +49 8333 9233-27 Fax -11
Auf der Wies 8, D 87727 Babenhausen   Mobil +49 171 4033220
http://www.marco.de/  Email [EMAIL PROTECTED]
Geschäftsführer Martin Reuter HRB 68255 Amtsgericht München


--
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: Some Batch-Scripting-Problems under Windows

2007-05-03 Thread Igor Peshansky
On Thu, 3 May 2007, Daniel Spannbauer wrote:

 Hello Igor,
 first of all Thanks for the answer.

 Igor Peshansky wrote:
  On Thu, 3 May 2007, Daniel Spannbauer wrote:
 
  Hello,
 
  we've build a Program for Cygwin to load some Firmware in some Hardware
  which is produced by us.
  The Firmwware is called file.tld. At the moment the USer has to open
  Cygwin, jumpd to the Path of the file.tld (for example: C:\Dokumente und
  Einstellungen\test\Eigene Dateien\tload) an run the program by tload -l
  /dev/ttyS0 file.tld.
 
  This is very uncomfortable.
  Now I try to write a simple Batch-Script to do this automaticly, so you
  have just to douible-klick  on file.tld an the  Firmware is loaded over
  a predefined serial Line.
 
  The batch-Script looks as follows:
 
  LINE=/dev/ttyS0
  c:\Programme\cygwin\bin\bash -c /bin/tload.exe -l %LINE% %1%
 
  But this won't work couse %1% is still C:\Dokumente und
  Einstellungen\test\Eigene Dateien\tload\file.tld which isn't a 
  cygwin-Path.
 
  That's not even valid batch syntax.  You want
 
  set LINE=/dev/ttyS0
  c:\Programme\cygwin\bin\bash -c /bin/tload.exe -l %LINE% %1

 Thats clear, I simply don't wrote it.

  So I cahnged the script as follows:
 
  LINE=/dev/ttyS0
  c:\Programme\cygwin\bin\bash -c /bin/tload.exe -l %LINE% '/bin/cygpath -a 
  -i %1%' 
 
  But this also don't work. couse %1% has Double-Quots () at first and
  last place.
 
  I think it is just a quoting-Problem.
  Any Ideas out there?
 
  Yes.  Use single quotes.  For example, the below should work:
 
  set LINE=/dev/ttyS0
  c:\cygwin\bin\bash -c '/bin/tload.exe -l %LINE% `/bin/cygpath -a -i %1`'
 
  (you need to quote the output of cygpath as well, as that may contain
  spaces).

 Ok, that works. But the Output of cygpath is /cygdrive/c/Dokumente und
 Einstellungen/test/Eigene Dateien/tload/file.tld.
 Seems that our Program, tload.exe, has a Problemwith Blanks in the
 File-Name :(

Well, the above code runs /bin/tload, not your tload.  FWIW, /bin/tload is
a machine load visualizer from the procps package.

If you didn't forget to put double quotes around the invocation of
cygpath, your program should get the whole filename as one argument in
argv.  If even in that case your tload does not not like spaces in
filenames, that's probably a bug in your code.
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED] | [EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_Igor Peshansky, Ph.D. (name changed!)
 |,4-  ) )-,_. ,\ (  `'-'   old name: Igor Pechtchanski
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

Freedom is just another word for nothing left to lose...  -- Janis Joplin

--
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/



CD doesn't work in script

2007-05-03 Thread SCHLING

Hi all,

I have successfully installed Cygwin on XP SP2, and would like to run a
script which includes a change directory command (cd \etc.)

All the other lines of the script work except the one with cd. The same line
works when input by hand.

Searching on the net I found that line endings could be critical (Lf instead
of CrLf) and ran the script through d2u. Still no success.

Curiously, if the script tries a cd with a non-existing directory, I get a
warning. Otherwise, the script runs withouth any problems, but the active
directory does not change.

Don't know what to do next...

Any help appreciated

Robert
-- 
View this message in context: 
http://www.nabble.com/CD-doesn%27t-work-in-script-tf3687263.html#a10307440
Sent from the Cygwin Users mailing list archive at Nabble.com.


--
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: CD doesn't work in script

2007-05-03 Thread Dave Korn
On 03 May 2007 17:18, SCHLING wrote:

 Hi all,
 
 I have successfully installed Cygwin on XP SP2, and would like to run a
 script which includes a change directory command (cd \etc.)
 
 All the other lines of the script work except the one with cd. The same line
 works when input by hand.
 
 Searching on the net I found that line endings could be critical (Lf instead
 of CrLf) and ran the script through d2u. Still no success.
 
 Curiously, if the script tries a cd with a non-existing directory, I get a
 warning. Otherwise, the script runs withouth any problems, but the active
 directory does not change.
 
 Don't know what to do next...

  How about showing us the actual code you're trying to execute, and telling
us the actual error that happens.  Doesn't work gives us no clue at all -
for all we can tell, the problem could be anything from the power being off to
a missing shell

  However, I can see one possibility: if what you wrote is actually cd \etc,
the way you have it above, you've got the wrong kind of slashes.  Backslashes
escape special characters, forward slashes are dir separators, so cd /etc
means change into the 'etc' subdir in the root directory, and cd \etc means
cd into the 'etc' subdir of whereever you are right now, because the \ just
means to treat the next char (i.e. 'e') literally...



cheers,
  DaveK
-- 
Can't think of a witty .sigline today


--
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: CD doesn't work in script

2007-05-03 Thread Igor Peshansky
On Thu, 3 May 2007, SCHLING wrote:

 Hi all,

 I have successfully installed Cygwin on XP SP2, and would like to run a
 script which includes a change directory command (cd \etc.)

 All the other lines of the script work except the one with cd. The same
 line works when input by hand.

 Searching on the net I found that line endings could be critical (Lf
 instead of CrLf) and ran the script through d2u. Still no success.

 Curiously, if the script tries a cd with a non-existing directory, I get
 a warning. Otherwise, the script runs withouth any problems, but the
 active directory does not change.

 Don't know what to do next...

The first thing to do is to try the same script on Linux -- I suspect this
is not a Cygwin-specific problem.

One WAG is that the cd does happen, but in a subprocess (e.g.,
parenthesized command, or part of a pipe), so that the main bash process
does not see the change in directory.  If that is the case, see a bash
scripting guide for possible fixes (this is the same problem as setting
environment variables in subprocesses).  Again, this is not
Cygwin-specific.
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED] | [EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_Igor Peshansky, Ph.D. (name changed!)
 |,4-  ) )-,_. ,\ (  `'-'   old name: Igor Pechtchanski
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

Freedom is just another word for nothing left to lose...  -- Janis Joplin

--
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: CD doesn't work in script

2007-05-03 Thread Buchbinder, Barry \(NIH/NIAID\) [E]
SCHLING wrote on Thursday, May 03, 2007 12:18 PM:
 
 I have successfully installed Cygwin on XP SP2, and would like to run
 a script which includes a change directory command (cd \etc.) 
 
 All the other lines of the script work except the one with cd. The
 same line works when input by hand. 
 
 Searching on the net I found that line endings could be critical (Lf
 instead of CrLf) and ran the script through d2u. Still no success. 
 
 Curiously, if the script tries a cd with a non-existing directory, I
 get a warning. Otherwise, the script runs without any problems, but
 the active directory does not change.  
 
 Don't know what to do next...
 
 Any help appreciated
 
 Robert

A script that starts with a #!/bin/sh or the like runs in a sub-shell,
i.e., its own process.  (I'm assuming that what you are doing.)  A cd
in the script changes the working directory of the sub-shell, not its
parent, the shell from which the sub-shell was launched.  When the
script exits, one finds oneself in the original directory because the
command (parent) shell has not done a cd.

What it seems you want to do is to *source* the script.  In bash you can
do it at least two ways:
$ . script
$ source script

For convenience, you can set up a alias so that you don't have to
remember to type . or source.
alias script='. /path/script'
Y do not need to include the path if the names of the alias and script
are different.

--
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: CD doesn't work in script

2007-05-03 Thread John Morrison
 SCHLING wrote on Thursday, May 03, 2007 12:18 PM:

 I have successfully installed Cygwin on XP SP2, and would like to run
 a script which includes a change directory command (cd \etc.)

Could it be as simple as not escaping the 'e'?

Try cd /etc
rather than cd \etc

J.


--
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/



How can I uninstall Cygwin? -- Where must I enter umount for this purpose?

2007-05-03 Thread Ghuoargh

Dear Cygwin people!

A few days ago I have downloaded Cygwin from cygwin.com and installed it  
on my computer.
However, since then some other programs did not function properly any more  
and it may be that Cygwin is responsible for this.

Therefore I want to uninstall Cygwin.
I read on the pages of cygwin.com, that in order to do this I need to  
enter the command umount (several times) somewhere and uninstall by this  
procedure all mount points which are listed when I enter mount alone  
(this procedure is correct, or?).
However, neither the Windows Command Prompt / Command Line Interface / ...  
(the one in the start menu with white text on black background) nor the  
Cygwin Bash Shell recognize these two commands.

So, where do I have to enter mount and umount?
Is there an easier way to uninstall Cygwin completely -- I have not used  
it so far (apart from trying to uninstall it via the Cygwin Bash Shell)?


Yours faithfully,
Ghu Oargh


--
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: CD doesn't work in script

2007-05-03 Thread Dave Korn
On 03 May 2007 18:38, John Morrison wrote:

 SCHLING wrote on Thursday, May 03, 2007 12:18 PM:
 
 I have successfully installed Cygwin on XP SP2, and would like to run
 a script which includes a change directory command (cd \etc.)
 
 Could it be as simple as not escaping the 'e'?
 
 Try cd /etc
 rather than cd \etc
 
 J.

  http://cygwin.com/acronyms#YSHFRTT!

cheers,
  DaveK
-- 
Can't think of a witty .sigline today


--
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: How can I uninstall Cygwin? -- Where must I enter umount for this purpose?

2007-05-03 Thread Dave Korn
On 03 May 2007 18:41, Ghuoargh wrote:

 Dear Cygwin people!
 
 A few days ago I have downloaded Cygwin from cygwin.com and installed it
 on my computer.
 However, since then some other programs did not function properly any more
 and it may be that Cygwin is responsible for this.

  Nope.  It's more likely that something else on your computer is breaking 
cygwin and the other programs.  Do you have any of the following installed?

Sonic Solutions burning software containing DLA component
Norton/MacAffee/Symantec antivirus or antispyware
Logitech webcam software with Logitech process monitor service
Kerio, Agnitum or ZoneAlarm Personal Firewall
Iolo System Mechanic/AntiVirus/Firewall
LanDesk
Windows Defender 
Embassy Trust Suite fingerprint reader software wxvault.dll



 I read on the pages of cygwin.com, that in order to do this I need to
 enter the command umount (several times) somewhere and uninstall by this
 procedure all mount points which are listed when I enter mount alone
 (this procedure is correct, or?).
 However, neither the Windows Command Prompt / Command Line Interface / ...
 (the one in the start menu with white text on black background) nor the
 Cygwin Bash Shell recognize these two commands.
 So, where do I have to enter mount and umount?

  In the cygwin bash shell.  If those commands don't work, something must have 
gone very wrong with the install process.  Does /bin/mount and /bin/umount work 
better?



cheers,
  DaveK
-- 
Can't think of a witty .sigline today


--
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: newlib?: pow function can produce incorrect results.

2007-05-03 Thread Lev Bishop

On 5/2/07, Cary R.  wrote:


 Other potentially controversial special cases (may or may not be
 handled correctly by newlib -- I didn't check) are:
 atan2(+-0,-0)=+-pi
 atan2(+-0,+0)=+-0

newlib and my version of glibc return +0 for all these cases.


Hmm *my* version of glibc gets all 4 cases right:

[EMAIL PROTECTED]:~ cat atan2.c
#include stdio.h
#include math.h
int main()
{
 double zero, mzero;
 zero = 0.0;
 mzero= -1.0*0;

 printf(Using +0=%f -0=%f\n,zero,mzero);
 printf(atan2(+0,+0)=%f\n,atan2(zero,zero));
 printf(atan2(-0,+0)=%f\n,atan2(mzero,zero));
 printf(atan2(+0,-0)=%f\n,atan2(zero,mzero));
 printf(atan2(-0,-0)=%f\n,atan2(mzero,mzero));
 return 0;
}
[EMAIL PROTECTED]:~ gcc -Wall -fno-builtin atan2.c -lm ./a.out
Using +0=0.00 -0=-0.00
atan2(+0,+0)=0.00
atan2(-0,+0)=-0.00
atan2(+0,-0)=3.141593
atan2(-0,-0)=-3.141593

[EMAIL PROTECTED]:~ /lib/libc.so.6
GNU C Library development release version 2.4 (20060526), by Roland
McGrath et al.
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
Configured for i686-suse-linux.
Compiled by GNU CC version 4.1.0 (SUSE Linux).
Compiled on a Linux 2.6.16 system on 2006-05-26.
Available extensions:
   crypt add-on version 2.1 by Michael Glad and others
   GNU Libidn by Simon Josefsson
   GNU libio by Per Bothner
   NIS(YP)/NIS+ NSS modules 0.19 by Thorsten Kukuk
   NoVersion patch for broken glibc 2.0 binaries
   Native POSIX Threads Library by Ulrich Drepper et al
   BIND-8.2.3-T5B
Thread-local storage support included.
For bug reporting instructions, please see:
http://www.gnu.org/software/libc/bugs.html.

[EMAIL PROTECTED]:~ uname -a
Linux cmt 2.6.16.21-0.25-smp #1 SMP Tue Sep 19 07:26:15 UTC 2006 i686
i686 i386 GNU/Linux

Newlib gets it wrong and puts out +0 in all cases, as you said, but
interestingly gcc -mno-cygwin gets all cases correct (although you
have to work a bit harder to prove that because mingw's printf()
doesn't distinguish +0 and -0 in it's output).

Lev

--
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: Setup.exe Problems on Vista

2007-05-03 Thread Michael D. Adams

On 5/3/07, Dave Korn wrote:

On 02 May 2007 22:37, Michael D. Adams wrote:

 This is a bit of a bummer.  I can't reproduce the error anymore.  I
 have absolutely no idea what changed.  I moved the old version out of
 the way and cleaned the registry, but the bug still won't appear.  I
 guess just hope the next person to run into this bug will have an
 easier time figuring out the problem.

 In the mean time here's hoping the bug stays away for good,

  Let's hope so.

  Just on the offchance, do you have any of these installed?


Sonic Solutions burning software containing DLA component

Norton/MacAffee/Symantec antivirus or antispyware

Logitech webcam software with Logitech process monitor service

Kerio, Agnitum or ZoneAlarm Personal Firewall

Iolo System Mechanic/AntiVirus/Firewall

LanDesk

Windows Defender

Embassy Trust Suite fingerprint reader software wxvault.dll


Norton A/V and Window Defender, but I've seen this problem even on
machines that don't have Norton.

Michael D. Adams
[EMAIL PROTECTED]

--
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: Some Batch-Scripting-Problems under Windows

2007-05-03 Thread Long, Phillip GOSS
Daniel Spannbauer wrote:
 
 Hello,
 
 we've build a Program for Cygwin to load some Firmware in some 
 Hardware
 which is produced by us.
 The Firmwware is called file.tld. At the moment the USer has to open
 Cygwin, jumpd to the Path of the file.tld (for example: C:\Dokumente 
 und
 Einstellungen\test\Eigene Dateien\tload) an run the program by tload
  -l
 /dev/ttyS0 file.tld.
 
 This is very uncomfortable.
 Now I try to write a simple Batch-Script to do this automaticly, so 
 you
 have just to douible-klick  on file.tld an the  Firmware is loaded 
 over
 a predefined serial Line.
 
 The batch-Script looks as follows:
 
 LINE=/dev/ttyS0
 c:\Programme\cygwin\bin\bash -c /bin/tload.exe -l %LINE% %1%
 
 But this won't work couse %1% is still C:\Dokumente und
 Einstellungen\test\Eigene Dateien\tload\file.tld which isn't a 
 cygwin-Path.
 So I cahnged the script as follows:
 
 LINE=/dev/ttyS0
 c:\Programme\cygwin\bin\bash -c /bin/tload.exe -l %LINE% 
 '/bin/cygpath
 -a -i %1%' 
 But this also don't work. couse %1% has Double-Quots () at first and
 last place.
 
 I think it is just a quoting-Problem.
 
 Any Ideas out there?
 
 Regards
 
 Daniel

Daniel:

Any time U run Cygwin programs, U need to make sure that the PATH var-
iable includes Cygwin directories.  The best way to do that is to
launch Cygwin executables from another Cygwin executable that has set
up the PATH so that U don't have to.  Take a look at /cygwin.bat,
which is often the first Cygwin program on a system to be invoked, for
an example.  It invokes bash.exe, which sources /etc/profile, which is
where /usr/local/bin/, /usr/bin/, et.al., are prepended to the Windows
PATH.  All Cygwin executables launched from this login shell will in-
herit any exported ENVIRONMENT variables, include $PATH and $LINE
(%LINE% from Windows).

Were I in your position, I would make a copy of /cygwin.bat that looks
something like this:
code
@echo off

C:
chdir c:\path\to\your\cygwin\bin

bash -c cd /cygdrive/c/Dokumente\ und\ Einstellungen/test/Eigene\
Dateien/tload;tload -l %LINE% %1%
/code

The above .BAT file is a good starting point.
 


Goss ... Innovation for Business

NOTICE: This e-mail and any attachment(s) may contain confidential and 
proprietary information of Goss International Corporation and/or its 
subsidiaries and may be legally privileged. This e-mail is intended solely for 
the addressee. If you are not the addressee, dissemination, copying or other 
use of this e-mail or any of its content is strictly prohibited and may be 
unlawful. If you are not the intended recipient please inform the sender 
immediately and destroy the e-mail and any copies. All liability for viruses is 
excluded to the fullest extent permitted by law. Any views expressed in this 
message are those of the individual sender. No contract may be construed by 
this e-mail.


--
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: Successfull Build of gcc on Cygwin WinXp SP2

2007-05-03 Thread Charles Wilson

Aaron Gray wrote:

Any clue as to how long it will run for ?


Depends on how many languages you enabled.  In my case:

c,c++,fortran,objc

Bootstrapping the compilers took about 6 hours, and the testsuite took 
about 60.


Okay, I have just done c, and c++.

Have you got testsuite results, have you put them online at all ?


Yes, but I've not posted them online.  My sourcecode was pretty heavily 
modified so I doubt it will be useful to anyone not working on those 
specific modifications.


--
Chuck

--
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/



network auth problems with public-key SSH login

2007-05-03 Thread Shankar Unni

Another one of those problems...

When I log in using SSH public-key authentication onto a Windows 2003 
box, it sets up my LOGNAME correctly, but the USER is set to sshd_server.


When I access a network share that requires domain logon credentials, 
the username it sees is sshd_server, and it refuses access..


For cygcheck, and the past history of this issue, see 
http://cygwin.com/ml/cygwin/2007-04/msg00783.html and 
http://cygwin.com/ml/cygwin/2007-05/msg00078.html.


In particular, I wonder if the USER problem is related to the fact that 
the sshd server couldn't contact the PDC when logging me in..  There is 
a local BDC, but apparently it doesn't want to talk to that..



--
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: Successfull Build of gcc on Cygwin WinXp SP2

2007-05-03 Thread Aaron Gray

On 03 May 2007 03:41, Aaron Gray wrote:

 Various people run the testsuite on cygwin every now and again; check 
the

gcc-testresults@ mailinglist archive.


Yes, Tim has allready run it :-

http://gcc.gnu.org/ml/gcc-testresults/2007-04/msg01540.html



 I haven't done one for weeks now


Looks like there are some real problems with GCC-4.3-20070427.

It fails to compile LLVM on both Cygwin and Linux producing rogue error 
messages and some weird bugs.


Aaron


Aaron




--
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/



rsync with --recursive --files-from=

2007-05-03 Thread marvin rishoff

Hi ,
I am having a difficult time getting  rsync to run within a bash script, within
cygwin. I can run the command at the command line and it works fine
however when I run it
from the script I get an error :

rsync: failed to open files-from file (cd
/c/WINDOWS/system32/LogFiles/WMS/[Global]/  find ./WMS_*.log -mtime
-7 -print): No such file or directory
rsync error: syntax or usage error (code 1) at
/home/lapo/packaging/tmp/rsync-2.6.6/main.c(1108)

the command that works is :

rsync -avz --recursive --files-from=(cd
/c/WINDOWS/system32/LogFiles/WMS/[Global]/  find ./WMS_*.log
-mtime -7 -print) /c/WINDOWS/system32/LogFiles/WMS/[Global] -e ssh
[EMAIL PROTECTED]:/var/log/streaming/wms/logs

anyone got a min to correct my usage or point me in the right direction


Thanks marvin
--

--
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/



Cygwin Problems on Vista (Install and others)

2007-05-03 Thread N Y

I've read that some people can get Cygwin to run on Vista without
problems, but I've run into almost every reported problem.

I've trying to install Cygwin on my new Dell laptop for two days now.
Intel Centrino Duo with Vista Ultimate.  I'm installing for all users,
unix mode.  From category view, I'm installing all groups except for
audio, databases, games, and publishing.  I have the 2.510.2.2
setup.exe.  The installed cygwin1.dll is 1.5.24-cr-0x5f1.

First problem: hang on gnuplot.sh
I tried everything: run as administrator, setting the compatibility mode,
set the Windows PATH to include C:\cygwin\bin before running
setup.exe (via cmd shell), disabling UAC - nothing worked.
Finally I opened Task Manager and manually killed the bash process.
That kicked setup to continue.  Eventually I re-ran gnuplot.sh manually,
once I got bash running happily.

Second problem:
When I started the cygwin shell (via the desktop shortcut), I got this message

Your group is currently mkpasswd. This indicates that
the /etc/passwd (and possibly /etc/group) files should be rebuilt.
See the man pages for mkpasswd and mkgroup then, for example, run
mkpasswd -l [-d]  /etc/passwd
mkgroup  -l [-d]  /etc/group
Note that the -d switch is necessary for domain users.

So I ran mkpaswd and mkgroup and that problem went away.

Third problem:
Then I tried to click the startx shortcut on the desktop.  The xserver starts
but the xterm that comes with it never appears.  I tried startx from the cygwin
bash shell.  Sometimes it starts and an xterm appears.  and sometimes it
exits right away.  I closed all cygwin apps and ran ash from cmd.exe,
ran rebaseall.  Now the startx works from the cygwin bash shell.

Fourth problem:
I wanted to quickly test my access to a remote system via rsh.
I open a cygwin bash shell and run rsh [EMAIL PROTECTED] ls and get back:
12673 [main] rsh 4060 C:\cygwin\bin\rsh.exe: *** fatal error - couldn't dynami
cally determine load address for 'rcmd' (handle 0x7414), Win32 error 127
Hangup

No solution to this problem yet.

If anyone has any suggestions I'd love to hear it.

N

--
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: network auth problems with public-key SSH login

2007-05-03 Thread Larry Hall (Cygwin)
On 05/03/2007, Shankar Unni wrote:
 Another one of those problems...
 
 When I log in using SSH public-key authentication onto a Windows 2003 box, 
 it sets up my LOGNAME correctly, but the USER is set to sshd_server.
 
 When I access a network share that requires domain logon credentials, the 
 username it sees is sshd_server, and it refuses access.. 


Yup.  A known issue.  See the FAQ entry:

  Why can't my services access network shares?
  http://cygwin.com/faq/faq-nochunks.html#faq.using.shares

Corinna had this to say about a similar issue with password authentication
(have you been pointed at this yet?):

  http://cygwin.com/ml/cygwin/2006-08/msg01084.html

For pub-key, the best solution is likely to be the upcoming subauth
functionality in 1.7.  See
http://www.cygwin.com/ml/cygwin-developers/2006-07/msg00013.html for
details.

-- 
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 893-9889 - FAX
Holliston, MA 01746

_

A: Yes.
 Q: Are you sure?
 A: Because it reverses the logical flow of conversation.
 Q: Why is top posting annoying in email?

--
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/



rsync hang

2007-05-03 Thread Scott T. Marshall

Hi Cygwin Folks,
I have been having some errors when using rsync to copy files from a 
remote cygwin machine to my local cygwin machine. I read posts the 
cygwin web forum. I have the same hang problem in that when I try to 
rsync (get) files from a remote machine rsync just hangs if any 
directory has what seems to be 100 files. Is there any fix for this 
yet? The posts I saw were from April of 2006, so I don't know if the 
problem is now solved or not.

Thanks in advance.
Scott


--
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/