Hi,
I've managed to build the GHC 5.00 compiler on HP-UX, but when I try to
build the interactive bit, subsequent to this, I'm getting some complaints
about a function mkJumpToAddr in ByteCodeItBls.lhs. My question is, is
this only relevant to platforms with an NCG available and hence could I
Why not have an environment variable for its location. If it isn't set, just
have it default to looking for .ghci in the user's home directory, if it is
use that path instead.
Regards,
Andy.
-Original Message-
From: Simon Marlow [mailto:[EMAIL PROTECTED]]
Sent: 30 April 2001 12:20
While I agree that there is a potential security hole, I think it is
something that you could possibly tackle with the OS security mechanisms. I
don't know much about Windows, or other Unix platforms, but if they are the
same as HP-UX doing the following will let you have a group writable
Hi Simon,
The effort all feels a little bit worthless now that you've released GHC
5.00, but here is how to get GHC 4.08.2 to work with GCC 2.95.2 on HP-UX.
I've attached the modified files from the 4.08.2 distribution. So, here's
how to build yourself a working 4.08.2 from the currently
t the need for a degree in compiler
engineering, in the same way as I assume it does on the other platforms.
Regards,
Andy.
-Original Message-
From: Simon Marlow [mailto:[EMAIL PROTECTED]]
Sent: 04 April 2001 02:51
To: BENNETT,ANDY (HP-Unitedkingdom,ex1);
[EMAIL PROTECTED]
Subject:
Hi Simon,
I think I've made most of the changes in the mangler to get it to work with
gcc 2.95.2 on HP-UX (only about 6 lines). One question however, the *_info
is inverted and placed in the code section I presume so that its address is
identical to the entry point for an associated function. Is
Phew. I've just got around to trying this, and the initial
results are
as expected: gcc 2.95.2 causes the generated program to crash, whereas
gcc 2.7.2.1 worked.
There are some obvious differences in the code generated by
2.95.2. Try
the following program:
extern void
There's a comment at the beginning of ghc/driver/mangler/ghc-asm.prl
which seems to relate to this. You might want to take a look.
That explains quite a lot... in particular why it works with 2.7.2. Looks
like the mangler understands most of the issues already, it just needs
modifying to
I'm currently building ghc 4.08.2 on HP-UX using gcc 2.95.2, so we'll
see how that goes. I have one or two local patches in my
tree from last
time I did this that may have an impact on the dynamic calling issue.
Good luck to you. While I have a pretty good idea of how the regular C
runtime
Hi Simon,
After much messing about with the gcc and gas sources to help track down my
problems with GHC on HP-UX, I think I've figured why I can't built it from
scratch. I think GCC/GAS must have changed a bit since GHC was ported, and
consequently the evil mangler is being a little too
I don't think there is a need for the "--- BEGIN ---" and
"--- END ---" macros with gcc-2.95.2 anymore.
My mistake, GCC does generate a stack frame when the routine contains a
function call - to newCAF for example.
___
Glasgow-haskell-bugs mailing
Hi Simon,
Thanks for the information about the JMP_ calls usage.
However, I'll glady commit your change to JMP_ on HPUX if it
fixes your problems - actually we're very grateful to have someone
working on this!
Have you tried building the CVS sources, BTW? It'd be nice
if we had a
om: BENNETT,ANDY (HP-Unitedkingdom,ex1)
Sent: 12 February 2001 03:24
To: 'Simon Marlow'; BENNETT,ANDY (HP-Unitedkingdom,ex1);
[EMAIL PROTECTED]
Subject: RE: "Hello World" program core dumps with GHC 4.08.1 on HPUX
10.2 0
Hi Simon,
I've had another e-mail back relating to this HP-UX li
)
but uses $$dyncall if necessary to cope, just in case you aren't.
Kind Regards,
Andy.
-Original Message-
From: Simon Marlow [mailto:[EMAIL PROTECTED]]
Sent: 08 February 2001 04:23
To: BENNETT,ANDY (HP-Unitedkingdom,ex1);
[EMAIL PROTECTED]
Subject: RE: "Hello
Hello again,
I've managed to get ghc working on my HP-UX box, and I thought I'd share my
solution in case there is no better remedy available and someone else
encounters the same problem. I'd be interested to know how the build to
generate the hsc executable in the distribution download gets
Hello,
I'm not sure whether I'm doing something wrong, but I've just downloaded the
HPUX 4.08.1 binary distribution of GHC and have installed it with GCC 2.95.2
(downloaded from HPUX porting site) along side it. I'm running these on HPUX
10.20.
When I try the "Hello, world!" example program
16 matches
Mail list logo