Re: DHCP and resolv.conf

2010-06-27 Thread Alex Leigh
That should do it, thank you very much! Alex On Sun, Jun 27, 2010 at 7:53 PM, Steven Collins wrote: > I really thought I'd posted this before, but can't find it with > Google. I run the attached script, which is mostly a gawk program, > from my .bashrc and .profile on my laptop. This ensures tha

Re: Error making wxWigets 2.8.10 in Cygwin 1.7.5

2010-06-27 Thread Greg Chicares
On 2010-06-28 03:40Z, Gavin wrote: [...] > {{ change winsock.h to match select.h; actual line is different, with > PASCAL and struct in it. The difference is intentional: http://www.cygwin.com/ml/cygwin/2010-01/msg00570.html > If someone can verify my change and make the patch, anyone else tryi

Looking for gcc.exe

2010-06-27 Thread Sisyphus
Hi, I've just installed a fresh "CYGWIN_NT-6.0-WOW64 desktop2 1.7.5(0.225/5/3) 2010-04-12 19:07 i686 Cygwin", including gcc-4 (4.3.4-3). According to http://cygwin.com/packages/ there should be an executable named gcc.exe in there - but I see only gcc-4.exe. As a quick fix I've created a copy

Re: Error making wxWigets 2.8.10 in Cygwin 1.7.5

2010-06-27 Thread Gavin
Sorry it's wxWigets 2.8.11 not 2.8.10 Resolved with simple change to match declaration of select() in /include/w32api/winsock.h with that in /usr/include/sys/select.h I hope I picked the right one! Frédéric, thanks for the help setting flags, but that wasn't the (only) problem. From the make lo

Re: DHCP and resolv.conf

2010-06-27 Thread Steven Collins
I really thought I'd posted this before, but can't find it with Google. I run the attached script, which is mostly a gawk program, from my .bashrc and .profile on my laptop. This ensures that my resolv.conf gets configured correctly for the current network connection each time I start a new interac

Re: Error making wxWigets 2.8.10 in Cygwin 1.7.5

2010-06-27 Thread Yaakov (Cygwin/X)
On Sun, 2010-06-27 at 02:12 -0500, Gavin wrote: > Freshly installed Cygwin 1.75, gcc etc included, on Win Vista SP2 32-bit > wxWidgets dies here after config, > > ../configure --with-msw --enable-debug Cygwin is a *NIX platform and therefore you should not be using the MSW port of wxWidgets. Cyg

Re: Incomplete downloads reported across several mirrors

2010-06-27 Thread Christopher Faylor
On Sun, Jun 27, 2010 at 02:04:58PM -0400, Buchbinder, Barry (NIH/NIAID) [E] wrote: >I seem to remember that, long ago, I occasionally had this problem. I >seem to remember that sometimes I could get a complete download by >using a mirror that was far away (for me, Europe or Australia). My >specu

Re: Moving Cygwin directory safe?

2010-06-27 Thread Christopher Faylor
On Sun, Jun 27, 2010 at 03:37:26PM +0200, Michael Ludwig wrote: >Michael Ludwig schrieb am 27.06.2010 um 11:55 (+0200): > >> [HKEY_LOCAL_MACHINE\SOFTWARE\Cygwin\Installations] >> "c5e39b7a9d22bafb"="\\??\\C:\\cygwin" >> >> [HKEY_LOCAL_MACHINE\SOFTWARE\Cygwin\Program Options] >> >> [HKEY_LOCAL_MAC

Re: Error making wxWigets 2.8.10 in Cygwin 1.7.5

2010-06-27 Thread Christopher Faylor
On Sun, Jun 27, 2010 at 02:12:49AM -0500, Gavin wrote: >Freshly installed Cygwin 1.75, gcc etc included, on Win Vista SP2 32-bit >wxWidgets dies here after config, > >../configure --with-msw --enable-debug > >during make: > >In file included from ../src/msw/utils.cpp:56: >/usr/lib/gcc/i686-pc-cygwi

Re: [ANNOUNCEMENT] CALL FOR TESTING: Cygwin 1.7.6 due soon - xterm stackdump - revised

2010-06-27 Thread Ken
UPDATE: In my original post, I neglected to mention that I have also tried the current and previous xterm packages (260-1 and 255-1 respectively) with no difference in results. >A lot of changes and fixes have been made in Cygwin since 1.7.5 has >been released, so we're looking forward to rele

Re: [ANNOUNCEMENT] CALL FOR TESTING: Cygwin 1.7.6 due soon - xterm stackdump

2010-06-27 Thread Ken
>A lot of changes and fixes have been made in Cygwin since 1.7.5 has >been released, so we're looking forward to release Cygwin 1.7.6 soon. > >Please test the latest developer snapshots at http://cygwin.com/snapshots/ >which should have "Release Candidate" quality. Under 1.7.5-1 in Win 7 64-bit,

RE: Incomplete downloads reported across several mirrors

2010-06-27 Thread Buchbinder, Barry (NIH/NIAID) [E]
I seem to remember that, long ago, I occasionally had this problem. I seem to remember that sometimes I could get a complete download by using a mirror that was far away (for me, Europe or Australia). My speculation as to why this worked was that most people who might use the mirror were aslee

Re: Moving Cygwin directory safe?

2010-06-27 Thread Michael Ludwig
Steven Monai schrieb am 27.06.2010 um 09:55 (-0700): > On 2010/06/27 6:37 AM, Michael Ludwig wrote: > > The root directory in setup.exe is displayed correctly. Seems to > > depend on the registry setting. The "Local Package Directory" path, > > however, which I copied from G:\CygVar to T:\CygVar, n

Re: gcc-4 -static cannot find -lgcc_s

2010-06-27 Thread Paul Bibbings
"Uwe F. Mayer" writes: > It seems that gcc-4 has problems finding libgcc_s when compiling with > -static. This works fine with gcc-3. Example: > > $ cat pointer.c > #include > int main(){ > printf("%d",(int)sizeof(long)); > return(0); > } Confirmed for my installation. I think that the prob

Re: Moving Cygwin directory safe?

2010-06-27 Thread Steven Monai
On 2010/06/27 6:37 AM, Michael Ludwig wrote: > The root directory in setup.exe is displayed correctly. Seems to depend > on the registry setting. The "Local Package Directory" path, however, > which I copied from G:\CygVar to T:\CygVar, needs fixing. Maybe another > registry setting someplace else.

Re: Moving Cygwin directory safe?

2010-06-27 Thread Michael Ludwig
Michael Ludwig schrieb am 27.06.2010 um 11:55 (+0200): > [HKEY_LOCAL_MACHINE\SOFTWARE\Cygwin\Installations] > "c5e39b7a9d22bafb"="\\??\\C:\\cygwin" > > [HKEY_LOCAL_MACHINE\SOFTWARE\Cygwin\Program Options] > > [HKEY_LOCAL_MACHINE\SOFTWARE\Cygwin\setup] > "rootdir"="C:\\cygwin" > -

Re: Moving Cygwin directory safe?

2010-06-27 Thread Michael Ludwig
Andrey Repin schrieb am 27.06.2010 um 05:10 (+0400): > Greetings, Michael Ludwig! > > > My Cygwin resides under C:\cygwin (plus G:\cygvar for packages), > > but as both C: and G: are nearly full, I'd like to move the Cygwin > > folders to partition T: which has plenty of space left. > > > Is this

Re: Error making wxWigets 2.8.10 in Cygwin 1.7.5

2010-06-27 Thread Frédéric Bron
> ../configure --with-msw --enable-debug to have a windows binary (independent of cygwin): CC=gcc-3 CXX=g++-3 CFLAGS="-mno-cygwin" CXXFLAGS="-mno-cygwin" LDFLAGS="-mno-cygwin" ./configure --with-msw ... to have a cygwin binary ./configure --with-gtk ... Frédéric -- Problem reports: http:/

Re: LANG=ru_RU.cp1251, but binutils use UTF-8.

2010-06-27 Thread Csaba Raduly
On Mon, Jun 21, 2010 at 10:14 AM, Oleksandr Gavenko wrote: >  $  objdump --help | head -n 2 > Рспользование: objdump <опции> <файл(С‹)> >  РћС‚ображает информацию РёР· объекта > <файл(С‹)>. >  $ LANG=C objdump --help | head -n 2 Maybe looking at t

Re: DHCP and resolv.conf

2010-06-27 Thread Alex Leigh
It's not possible to do it with a Windows service that updates resolv.conf whenever a new DHCP lease is obtained, or, if that's not possible, a cronjob that periodically polls for new nameservers obtained from DHCP? I don't know enough about Windows to know if there's an API for accessing the requi

Re: DHCP and resolv.conf

2010-06-27 Thread Huang Bambo
It's not possible. DHCP is handled by Windows, not by cygwin. 2010/6/27 Alex Leigh > > Hi, > > Apologies if this has been asked before, but is it possible to have > /etc/resolv.conf in Cygwin to be automatically updated with > nameservers obtained using DHCP from Windows networking? Thanks. > > A

DHCP and resolv.conf

2010-06-27 Thread Alex Leigh
Hi, Apologies if this has been asked before, but is it possible to have /etc/resolv.conf in Cygwin to be automatically updated with nameservers obtained using DHCP from Windows networking? Thanks. Alex -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin

Error making wxWigets 2.8.10 in Cygwin 1.7.5

2010-06-27 Thread Gavin
Freshly installed Cygwin 1.75, gcc etc included, on Win Vista SP2 32-bit wxWidgets dies here after config, ../configure --with-msw --enable-debug during make: In file included from ../src/msw/utils.cpp:56: /usr/lib/gcc/i686-pc-cygwin/4.3.4/../../../../include/w32api/winsock.h:479: erro r: declar

Re: [ANNOUNCEMENT] CALL FOR TESTING: Cygwin 1.7.6 due soon

2010-06-27 Thread Frédéric Bron
> Please test the latest developer snapshots at http://cygwin.com/snapshots/ > which should have "Release Candidate" quality. Is it enough to just copy the new cygwin1.dll? Frédéric -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentati