There are several steps you need to check
1. hsc2hs creates System\Posix\Signals_hsc_make.c
You say this works
2. hsc2hs runs gcc to create System\Posix\Signals_hsc_make.o
You have not checked that this works. You can do this by first running
hsc2hs with -v, then doing step 1 manually (hsc2hs --no-compile), then
copy/pasting the gcc command from the -v step. Please try this. Does
the .o file get created? Does gcc run?
3. hsc2hs deletes System\Posix\Signals_hsc_make.c
This presumably works
4. hsc2hs runs gcc System\Posix\Signals_hsc_make.o -o
System\Posix\Signals_hsc_make.exe
Does this step work? You can try it too by hand.
5. hsc2hs deletes System\Posix\Signals_hsc_make.o
This definitely fails
6. hsc2hs runs System\Posix\Signals_hsc_make.exe
Try these and send output.
S
| -----Original Message-----
| From: cvs-all-bounces@xxxxxxxxxxx [mailto:cvs-all-bounces@xxxxxxxxxxx]
On Behalf Of Gour
| Sent: 26 February 2004 16:23
| To: cvs-ghc
| Subject: Re: MSYS build - stage 2 problem
|
| Simon Marlow (simonmar@xxxxxxxxxxxxx) wrote:
|
| > So... does System\Posix\Signals_hsc_make.o exist?
|
| No, there is no Signals_hsc_make.c produced, at the first palce.
|
| > The gcc command executed by hsc2hs is supposed to create it. If it
doesn't
| > exist, I wonder why not? ;-)
|
| Me too.
|
| > Could you try running that command by hand? (you might have to get
hsc2hs to
| > leave its files behind by adding the --no-compile option).
|
| Running the command (with --no-compile) leave Signals_hsc_make.c
behind and now
| I continuing the proces. Let's see what will happen.
|
| > Perhaps the gcc command failed, and hsc2hs didn't notice (I vaguely
| > recall a bug in our System.system implementation at some point that
| > could cause this, but I could be wrong). Compiling hsc2hs with 6.2
| > instead might help.
|
| I'd like to compile with 6.2, but 6.2 is unusable on Win98 platform
(remember
| this "\\bug? :-(
|
| Sincerely,
| Gour
|
| ps. Thank you very much for Your (Simon & Simon) help. Without I'd be
lost in
| my attempt to add MSYS/MinGW as a new ghc build-platform.
|
| --
| Gour
| gour@xxxxxxxxxxxx
| Registered Linux User #278493
|
| _______________________________________________
| Cvs-ghc mailing list
| Cvs-ghc@xxxxxxxxxxx
| http://www.haskell.org/mailman/listinfo/cvs-ghc
|
Try Searching:
servers, voip, java, networking, microsoft ...
|
|
|
|