Re: GCC is not found and compiler cannot create executables errors

2010-04-09 Thread david sastre
Hello, Csaba Raduly wrote: I think it's time for cygcheck /usr/lib/gcc/i686-pc-cygwin/4.3.4/cc1.exe Perhaps one of these is missing: C:\cygwin\bin\cyggmp-3.dll C:\cygwin\bin\cygmpfr-1.dll Not exactly, but that was the main problem: $ cygcheck /usr/lib/gcc/i686-pc-cygwin/4.3.4/cc1.exe

Re: GCC is not found and compiler cannot create executables errors

2010-04-09 Thread Corinna Vinschen
On Apr 9 11:26, david sastre wrote: So now I have a question: What's the problem with C:\cygwin\usr\local\bin\cygmpfr-1.dll being a symlink instead of a file? Is it related to the fact that cygcheck's output uses DOS pathnames and/or doesn't understand POSIX pathnames? (note that I'm

Re: GCC is not found and compiler cannot create executables errors

2010-04-09 Thread david sastre
Hello, Thanks for the explanation. This also solves another recent mystery (for me): why I have unable to properly use another locally built program: $ cygcheck /usr/local/sbin/lighttpd - C:\cygwin\usr\local\sbin\..\stow\lighttpd-1.4.26\sbin\lighttpd.exe

Re: GCC is not found and compiler cannot create executables errors

2010-04-09 Thread Corinna Vinschen
On Apr 9 12:38, david sastre wrote: Hello, Thanks for the explanation. This also solves another recent mystery (for me): why I have unable to properly use another locally built program: $ cygcheck /usr/local/sbin/lighttpd -

Re: GCC is not found and compiler cannot create executables errors

2010-04-09 Thread david sastre
They already are, but as long as I use stow, some stuff are reachable from my $PATH only as symlinks: $ ll /usr/local/bin/cyglightcomp.dll lrwxrwxrwx 1 Administrador Administradores 44 abr 9 13:05 /usr/local/bin/cyglightcomp.dll - ../stow/lighttpd-1.4.26/bin/cyglightcomp.dll* Copying the

Re: GCC is not found and compiler cannot create executables errors

2010-04-09 Thread Corinna Vinschen
On Apr 9 13:22, david sastre wrote: They already are, but as long as I use stow, some stuff are reachable from my $PATH only as symlinks: $ ll /usr/local/bin/cyglightcomp.dll lrwxrwxrwx 1 Administrador Administradores 44 abr 9 13:05 /usr/local/bin/cyglightcomp.dll -

Re: GCC is not found and compiler cannot create executables errors

2010-04-09 Thread david sastre
That is not an option. My $PATH would become endless. $ ll /usr/local/bin | grep stow | wc -l 349 Anyway, as long as it takes just a few DLLs to be copied to the path and not symlinked, I think I can handle it. But probably building a package for the setup installer would be a better choice. I

GCC is not found and compiler cannot create executables errors

2010-04-08 Thread david sastre
Hello, Yesterday (still under1.7.3) I had a compiler not found and a compiler cannot create executables errors while trying to build some standard apps, i.e. nginx. I tried reinstalling gcc related packages under devel section with no luck. Today, I tried again, there has been also an (automatic)

Re: GCC is not found and compiler cannot create executables errors

2010-04-08 Thread Dave Korn
On 08/04/2010 13:11, david sastre wrote: Yesterday (still under1.7.3) I had a compiler not found and a compiler cannot create executables errors while trying to build some standard apps, i.e. nginx. $ ./configure checking for OS + CYGWIN_NT-5.1 1.7.4(0.225/5/3) i686 checking for C

Re: GCC is not found and compiler cannot create executables errors

2010-04-08 Thread Warren Young
On 4/8/2010 6:11 AM, david sastre wrote: Yesterday (still under1.7.3) I had a compiler not found and a compiler cannot create executables errors while trying to build some standard apps, i.e. nginx. Write this out to a file called hello.c: #include stdio.h int main(void) {

Re: GCC is not found and compiler cannot create executables errors

2010-04-08 Thread david sastre
2010/4/8, Dave Korn dave.korn.cyg...@googlemail.com: On 08/04/2010 13:11, david sastre wrote: Yesterday (still under1.7.3) I had a compiler not found and a compiler cannot create executables errors while trying to build some standard apps, i.e. nginx. $ ./configure checking for OS +

Re: GCC is not found and compiler cannot create executables errors

2010-04-08 Thread Greg Chicares
On 2010-04-08 14:13Z, Warren Young wrote: Write this out to a file called hello.c: [...] Then say make hello in that directory. ^^ Did you mean gcc hello.c? -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/

Re: GCC is not found and compiler cannot create executables errors

2010-04-08 Thread david sastre
2010/4/8, Warren Young war...@etr-usa.com: On 4/8/2010 6:11 AM, david sastre wrote: Yesterday (still under1.7.3) I had a compiler not found and a compiler cannot create executables errors while trying to build some standard apps, i.e. nginx. Write this out to a file called hello.c:

Re: GCC is not found and compiler cannot create executables errors

2010-04-08 Thread Eric Blake
On 04/08/2010 08:36 AM, david sastre wrote: Also, direct gcc invocation exits silenlty: $ gcc hola.mundo.c Generally the sign of a missing .dll. What does 'cygcheck gcc' say? Also, following these directions: Problem reports: http://cygwin.com/problems.html and attaching a text file

Re: GCC is not found and compiler cannot create executables errors

2010-04-08 Thread Markus Hoenicka
david sastre d.sastre.med...@gmail.com wrote: printf(Hola Mundo!\n); See? Wrong language :-) cc -march=prescott -O2 -pipe -fomit-frame-pointerhola.mundo.c -o hola.mundo What does which cc and cc -v report? regards, Markus -- Markus Hoenicka http://www.mhoenicka.de AQ score

Re: GCC is not found and compiler cannot create executables errors

2010-04-08 Thread Warren Young
On 4/8/2010 8:26 AM, Greg Chicares wrote: Then say make hello in that directory. ^^ Did you mean gcc hello.c? No, I meant what I said. It tests that make is working, too. Try it. (You don't need a Makefile present for this to work. The default build rules built into

Re: GCC is not found and compiler cannot create executables errors

2010-04-08 Thread Warren Young
On 4/8/2010 8:36 AM, david sastre wrote: cc -march=prescott Where is that -march flag coming from? My system just says cc hola.c -o hola -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation:

Re: GCC is not found and compiler cannot create executables errors

2010-04-08 Thread david sastre
Date: Thu, 8 Apr 2010 17:02:27 +0200 Subject: Re: GCC is not found and compiler cannot create executables errors To: Eric Blake ebl...@redhat.com 2010/4/8, Eric Blake wrote: On 04/08/2010 08:36 AM, david sastre wrote: Also, direct gcc invocation exits silenlty: $ gcc hola.mundo.c Generally

Re: GCC is not found and compiler cannot create executables errors

2010-04-08 Thread Csaba Raduly
On Thu, Apr 8, 2010 at 4:36 PM, david sastre wrote: Both scripts give back: $ make hola.mundo cc -march=prescott -O2 -pipe -fomit-frame-pointer    hola.mundo.c   -o hola.mundo make: *** [hola.mundo] Error 1 Also, direct gcc invocation exits silenlty: $ gcc hola.mundo.c According to

Re: GCC is not found and compiler cannot create executables errors

2010-04-08 Thread david sastre
I think it is pretty normal stuff: $ gcc -v -save-temps hola.mundo.c Usando especificaciones internas. Objetivo: i686-pc-cygwin Configurado con: /gnu/gcc/releases/packaging/4.3.4-3/gcc4-4.3.4-3/src/gcc-4.3.4/configure --srcdir=/gnu/gcc/releases/packaging/4.3.4-3/gcc4-4.3.4-3/src/gcc-4.3.4

Re: GCC is not found and compiler cannot create executables errors

2010-04-08 Thread Csaba Raduly
On Thu, Apr 8, 2010 at 5:25 PM, david sastre d.sastre.med...@gmail.com wrote: I think it is pretty normal stuff: $ gcc -v -save-temps hola.mundo.c Usando especificaciones internas. Objetivo: i686-pc-cygwin Configurado con: (snip) gcc versión 4.3.4 20090804 (release) 1 (GCC)

Re: GCC is not found and compiler cannot create executables errors

2010-04-08 Thread d . sastre . medina
Hello, I'm afraid any further investigation around this issue will have to wait until tomorrow morning (spanish time). Thanks everybody for your time, your answers... and not LARTing me (at least publicly) for QREAIMR... :-/ sorry for that. Best regards. -- Huella de clave = 943C D77F 0CB0