Skip to content

Overlong command line arguments on Windows WAS Could not execute: .../gcc.exe #795

Closed
@rubenmoor

Description

@rubenmoor

Maybe related to #466, however I don't run into the CreateProcess problem described there, anymore.

During stack build on Win7 I get the following error, no executable being created. This only happened after adding dependencies to the libraries

-- build-depends in cabal file
base64-bytestring
RSA
stm

I'll revisit once I identified the culprit.

    Linking .stack-work\dist\i386-windows\Cabal-1.22.4.0\build\core-server\core-server.exe ...
    ghc.exe: could not execute: C:\Users\metrix\AppData\Local\Programs\stack\i386-windows\ghc-7.10.2\lib/../mingw/bin/gcc.exe

--  While building package core-0.1.0.0 using:
      C:\\Users\\metrix\\AppData\\Local\\Programs\\stack\\i386-windows\\ghc-7.10.2\\bin\\runhaskell.exe -package=Cabal-1.22.4.0 -clear-package-db -global-package-db -package-db=C:\Users\metrix\AppData\Roaming\stack\snapshots\i386-windows\nightly-2015-08-11\7.10.2\pkgdb\ C:\Users\metrix\AppData\Local\Temp\stack4776\Setup.hs --builddir=.stack-work\dist\i386-windows\Cabal-1.22.4.0\ build
    Process exited with code: ExitFailure 1

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions