RE: building ghc on win with gcc of cygwin, without cygwin1.dll (-mno-cygwin flag) ?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

RE: building ghc on win with gcc of cygwin, without cygwin1.dll (-mno-cygwin flag) ?

Simon Peyton Jones
| Googling around I've found that there exists the -mno-cygwin flag
which
| you can use to not include this lib.. So would it might be possible to
| get a ghc build not using cygwin.dll with just cygwin ?

I don't know.  It sounds plausible.  But we only have enough resource to
maintain one route for building GHC on Windows.  We'd be delighted if
other folk were engaged enough to push other routes through and make
them work.

Another route we don't have, but which in principle is definitely
feasible is to compile GHC using Cygwin for Cygwin.  The advantage would
be that the resulting GHC would have a working Posix library.  The
disadvantage is that programs it compiles would require Cygwin to run.

Anyway, it's up for grabs.  Please grab away!  We need more
Windows-savvy expertise on GHC.

Simon

| -----Original Message-----
| From: [hidden email]
[mailto:[hidden email]] On Behalf Of Marc
| Weber
| Sent: 12 February 2006 04:45
| To: [hidden email]
| Subject: [Haskell-cafe] building ghc on win with gcc of cygwin,without
cygwin1.dll (-mno-cygwin flag)
| ?
|
| Hi.. I've found the nice documentation about building ghc on
| haskell.org/ghc -> documentation.
| There is one chapter (#1) about C compilers and environments to use:
| Either  MSYS or cywin   and
| gcc of MinGW because gcc of cygwin will link to cygwin1.dll by default
| which may change and therefore can brake your apps.
| Googling around I've found that there exists the -mno-cygwin flag
which
| you can use to not include this lib.. So would it might be possible to
| get a ghc build not using cygwin.dll with just cygwin ?
| I haven't read anything about that in those docs.
|
| Or does this flag simply include cygwin.dll within your apps
(statically
| linked) ?
|
| #1
:http://www.haskell.org/ghc/docs/latest/html/building/platforms.html#ghc
-cygwin
|
| Marc
| _______________________________________________
| Haskell-Cafe mailing list
| [hidden email]
| http://www.haskell.org/mailman/listinfo/haskell-cafe
_______________________________________________
Haskell-Cafe mailing list
[hidden email]
http://www.haskell.org/mailman/listinfo/haskell-cafe