Here is the complete message in config.log: gcc version 3.4.2 (mingw-special) configure:3288: $? = 0 configure:3295: c:/MinGW/bin/gcc -V >&5 gcc.exe: `-V' option must have argument configure:3298: $? = 1 configure:3321: checking for C compiler default output file name configure:3348: c:/MinGW/bin/gcc conftest.c >&5 ld: /mingw/lib/crt2.o: No such file: No such file or directory configure:3351: $? = 1 configure:3389: result: configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | /* end confdefs.h. */ | | int | main () | { | | ; | return 0; | } configure:3396: error: C compiler cannot create executables See `config.log' for more details. Cheers, Monique On 4/25/07, Simon Marlow <simonmarhaskell@gmail.com> wrote:
There isn't a solution for the getPermissions issue; the bug is here: http://hackage.haskell.org/trac/ghc/ticket/1280.
Monique: can you post the relevant section of config.log from your failed configure run?
Cheers, Simon
Monique Monteiro wrote:
For backward compatibility reasons, I'm using GHC 6.2.2. So, if there is already a solution for this issue in the GHC repository, please let me know how to add it manually.
I don't have problems with ./configure on Windows XP.
On 4/24/07, Tom Schrijvers <Tom.Schrijvers@cs.kuleuven.be> wrote:
I still get the same message even with these instructions. I guess it may be due to some Vista security checking...
Do you still get the same error message in your config.log now? Or a different one? There is also an error on Vista with checking whether a file is executable. I don't know whether there's already a solution for that in the repository?
Tom
Cheers,
Monique
On 4/24/07, Simon Marlow <simonmarhaskell@gmail.com> wrote:
Tom Schrijvers wrote:
Here's the more complete error message:
> configure:3321: checking for C compiler default output file name > configure:3348: c:/MinGW/bin/gcc conftest.c >&5 > ld: /mingw/lib/crt2.o: No such file: No such file or directory > configure:3351: $? = 1 > configure:3389: result: > configure: failed program was: > configure:3396: error: C compiler cannot create executables > See `config.log' for more details.
Do make sure that MingW's bin/ and libexec/gcc/mingw32/3.4.2/ are
the
very first two in your path. I get the same error message if I don't do that.
Hi Tom - would you mind adding the right incantation to the Vista instructions at the top of http://hackage.haskell.org/trac/ghc/wiki/Building/Windows?
Cheers, Simon
-- __________________________________________________________ Monique Monteiro, MSc MCP .NET Framework 2.0 / SCJP / IBM OOAD Project Manager Recife Microsoft Innovation Center +55 81 34198137 http://www.cin.ufpe.br/~mlbm http://thespoke.net/blogs/moniquelouise/default.aspx monique@qualiti.com.br MSN: monique_louise@msn.com _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
-- Tom Schrijvers
Department of Computer Science K.U. Leuven Celestijnenlaan 200A B-3001 Heverlee Belgium
tel: +32 16 327544 e-mail: tom.schrijvers@cs.kuleuven.be
-- __________________________________________________________ Monique Monteiro, MSc MCP .NET Framework 2.0 / SCJP / IBM OOAD Project Manager Recife Microsoft Innovation Center +55 81 34198137 http://www.cin.ufpe.br/~mlbm http://thespoke.net/blogs/moniquelouise/default.aspx monique@qualiti.com.br MSN: monique_louise@msn.com