RE: Weird Activation Records (Fixed!)

2002-03-07 Thread Simon Marlow

> If got the mangler to produce working code at least in some cases - I 
> still have to chase after a segfault in one larger program that I 
> tried to compile.

That's great news!

> Due too my lack of Perl knowledge, I didn't yet manage to remove the 
> jumps from the slow to the fast entry points, and a function called 
> __DISCARD__ must be present for linking (it's never called, though).
> Should the old PowerPC code in the mangler be kept there? It assumes 
> a slightly different assembler dialect and a completely different 
> linker, and as it just asks for $TargetPlatform =~ /^powerpc|rs6000/, 
> it keeps getting in the way...

Sure, by all means remove this code.  It hasn't been used for years, and
we can always resurrect it from the repository if necessary.

Cheers,
Simon
___
Glasgow-haskell-users mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users



Build problem under cygwin

2002-03-07 Thread David Duke


I'm trying to build ghc 5.02.2 under cygwin (2.125.2.10), using gcc 
rather than an existing Haskell compiler.  I'm running with gnu make 
version 3.79.1

I configured with --prefix=D:/haskell/ghc (where I've installed the 
package), and --enable-win32-dlls.

The make process is failing (ultimately) because the genprimopcode 
command is being invoked before (apparently) it has been compiled. 
Looking back through the trace, the makefile in genprimcode is running, 
but then failing: should this not have terminated the entire build?

syslib text -O-c Main.hs -o Main.o
syslib: not found
make[3]: [Main.o] Error 127 (ignored)
o genprimopcode -syslib text -O   Main.o
o: not found
make[3]: [genprimopcode] Error 127 (ignored)
M -optdep-f -optdep.depend  -osuf o-syslib text -O Main.hs
M: not found
make[3]: [depend] Error 127 (ignored)

Somehow, it looks like the "syslib" compiler option is being incorrectly 
intrpreted as a make command.   Looking further into the make result, a 
number of other commands are also failing with an ignored error 127, e.g.

==fptools== make boot - --unix - --no-print-directory -r;
  in /cygdrive/d/haskell/ghc/ghc/utils/hsc2hs

M -optdep-f -optdep.depend  -osuf o-package util -cpp -O Config.hs 
KludgedSy
stem.hs Main.hs Config.hs
M: not found
make[3]: [depend] Error 127 (ignored)

Again, it looks somehow that a command issued from a makefile is being 
truncated.

I would be grateful for any comments or suggestions.

thanks,
David Duke


-- 
Dr. David DukeEmail: [EMAIL PROTECTED]
Department of Computer ScienceWeb:   www.bath.ac.uk/~masdad/
University of BathTel:   +44 1225 323 407
Bath, BA2 7AY U.K.Fax:   +44 1225 323 493


___
Glasgow-haskell-users mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users



Great investment for foreign residents 4986chZG8-753WYWl15

2002-03-07 Thread Abigail6551b44

Warning
Unable to process data: 
multipart/mixed;boundary="=_NextPart_000_00E0_11B85D5D.A2864B31"