Hi DUncan,
Thanks for the help.
I've installed a ghc compiler on my Linux box in order to cross-compile and I'm getting the following error. Any ideas?
Thanks,
Mark
/usr/bin/ghc -H16m -O -H32m -istage1/utils
-istage1/basicTypes -istage1/types -istage1/hsSyn
-istage1/prelude -istage1/rename
On Thu, 2006-03-16 at 13:22 -0500, Mark Greenbank wrote:
Hi DUncan,
Thanks for the help.
I've installed a ghc compiler on my Linux box in order to
cross-compile and I'm getting the following error. Any ideas?
You'll have to be very specific about exactly what procedures you're
following.
On Wed, 2006-03-15 at 17:22 -0500, Mark Greenbank wrote:
Hi,
Sorry for the newbie question ... I'm trying to build the compiler and
I'm getting the following error:
[EMAIL PROTECTED] ghc-6.4.1]# ./configure --prefix=/usr/pkg
checking build system type... i386-pc-solaris2.10
checking host
The reason that this worries me is that Cygwin ld links
with libraries
from the Cygwin lib directory rather than the Mingw
equivalent, regardless
of which gcc was used to compile the object files.
We only use ld directly when building the GHCi libraries (HSbase.o
etc.), and this doesn't
I ran strace with -ff option. Attached is the trace file. I can see many No
such file or directory in the trace. Can you see the problem?
Thanks
Saswat
g
Description: Binary data
| - Run the following following commands:
|
| export PATH=/cygdrive/c/lang/mingw32/bin::${PATH}
|
| make clean; ./configure --build=mingw configure.log
Uh oh. You aren't following the instructions in Section 12.4 of the GHC
building guide!
| make clean; ./configure --build=mingw configure.log
PS: I should have said
* Before autoconf, mv ./configure configure-save. (It's not writable
so autoconf fails otherwise.)
* rm config.cache (maybe it's remembering out of date info)
___
Hi Simon.
You're the victim of my first sentence which was obfuscated by simultaneous
attempts at humour and a bad memory disclaimer - sorry - my wife always
tells me not to make up my own jokes! (Oops.)
To build yesterday's CVS HEAD (previously autoconfed) using Windows 2000,
GHC 5.04.1, and
I ran strace with -ff option. Attached is the trace file. I
can see many No
such file or directory in the trace. Can you see the problem?
Here's the problem line:
[pid 1514] execve(n/sh, [/bin/sh, -c, gcc Adjustor.c -o
/tmp/ghc1513.s...], [/* 36 vars */]) = -1 ENOENT (No such file or
: Newbie building GHC
| - Run the following following commands:
|
| export PATH=/cygdrive/c/lang/mingw32/bin::${PATH}
|
| make clean; ./configure --build=mingw configure.log
Uh oh. You aren't following the instructions in Section 12.4 of the GHC
building guide!
http://haskell.cs.yale.edu/ghc
]
| To: Mike Thomas [EMAIL PROTECTED];
| [EMAIL PROTECTED]
| Cc: [EMAIL PROTECTED]
| Sent: Tuesday, September 24, 2002 5:30 PM
| Subject: RE: Newbie building GHC
|
|
| | - Run the following following commands:
| |
| | export PATH=/cygdrive/c/lang/mingw32/bin::${PATH}
| |
| | make clean
| In retrospect I think that unless configure is doing something
really
| tricky, if you want the Mingw32 ar and ld to be picked
up instead
of the
| Cygwin equivalents then you must have the Mingw32 bin directory in
your path
| ahead of the Cygwin bin directory.
The right thing to do
Hi again.
Thanks for the feedback.
The only way I know to make all this work is to use a straightforward
Cygwin environment for building (with absolutely no mingw
stuff in your
path) and use --with-gcc in your configure line. Other
things may work,
but you're on your own.
I think
I have been trying to build GHC, but the ghc.exe that gets built for
ghc-inplace always exits with Error 1. It *can* print its version
number and the help, but building anything fails. The build fails
making Adjustor.o from Adjustor.c.
I'm trying to build a cvs checkout fpconfig ghc
| I have been trying to build GHC, but the ghc.exe that gets built for
| ghc-inplace always exits with Error 1. It *can* print its version
| number and the help, but building anything fails. The build fails
| making Adjustor.o from Adjustor.c.
I have seen something like this myself. I can't
Hi
I am also facing the same problem. I tried to build a virgin tree,
but with no success as Simon PJ has pointed out.
I have attached my strace file.
Saswat
On Mon, 23 Sep 2002, Simon Marlow wrote:
I have been trying to build GHC, but the ghc.exe that gets built for
ghc-inplace
Use strace with the -ff option. This will produce separate traces for each
child, which will be easier to interpret. It looks like whatever is going
wrong is happening in a child process (but someone who knows more about the
innards of ghc may correct me on this).
On Monday 23 September
building the STABLE branch (if you were using HEAD
previously)?
Cheers
Mike Thomas.
- Original Message -
From: Saswat Anand [EMAIL PROTECTED]
To: Simon Marlow [EMAIL PROTECTED]
Cc: Dominic Cooney [EMAIL PROTECTED];
[EMAIL PROTECTED]
Sent: Tuesday, September 24, 2002 1:04 PM
Subject: RE: Newbie
18 matches
Mail list logo