Re: BeOS port

2004-10-02 Thread Waldemar Kornewald
Hi,
is it possible to use a simpler build system for GHC? :)

Could someone please have a look at the build logs?
http://zeus.mpg.goe.net/~tuvok/logs
Note that I got the same errors when building on Linux!

I also ported some .c files. You can find the source here:
http://zeus.mpg.goe.net/~tuvok/ghc-6.2.1-beos-src.zip

When I manually went into the ghc folder and ran make the .c files were 
compiled successfully.
Then, I had problems with the mangler, but that was a bug in Perl, I 
think. I commented out:
die "Prologue junk?: $p\n" if $p =~ /^\s+[^\s\.]/;
and it worked fine. That is must be a bug in Perl because running this 
check in some other script does not fail.

The next error was that my shell did not understand the script for 
"Ways". I just commented it out and it began looping and always saying 
that it tries to compile ways, then it restarts the whole makefile and 
begins with gmp and so on...never ending.

Could somebody please install a freeware version of BeOS on his 
computer and try to fix what is broken? I think fixing the build 
scripts is beyond my capabilities.

Thank you very much.

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


Re: BeOS port

2004-10-01 Thread Waldemar Kornewald
Donald Bruce Stewart wrote:
>>>>Why do you not offer .hc packages of different builds (FreeBSD and/or
>>>>Linux)? I could use them as a very good starting point. Or could 
anyone
>>>>please create a zip with those files generated from such a build?
>
>>
>>
>> They aren't portable. You'll need to generate your own (using config.h
>> from the target machine) following the instructions on the building
>> section of the manual.
>>
>> It should be quite possible :)

Maybe, but I always (Linux+BeOS) get errors that some .o file could not 
be created.
Something like:
Make: could not create target Control/Arrow.o ... Stop.
I do not have the correct message.
How are the .hs files generated and why are they not generated in BeOS 
and Linux?

Now, compiling in the ghc folder starts correctly and I get errors about 
 missing itimer (can I safely disable that or should I add an emulator 
for it?) and mmap. Will the libraries be compiled after that?

I saw comments about BeOS in the code. Did someone try to port it already?
Thank you.
Bye,
Waldemar Kornewald
___
Glasgow-haskell-users mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users


Re: BeOS port

2004-10-01 Thread Waldemar Kornewald
Waldemar Kornewald wrote:
In my Linux build there is a file Arrow.hs, but in my BeOS build this 
file (and all others) are missing. How are these files generated and why 
are they not generated in BeOS?
Please forget this. Those files exist on both systems, but unfortunately 
they are not built.

Someone told me on #haskell that he had the same problems when building 
on a threaded system (which BeOS is). Is that a general GHC problem?

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


BeOS port

2004-09-30 Thread Waldemar Kornewald
Hi,
is there someone doing a BeOS port of GHC? If not, I would like to try 
it (if not too time-consuming).

What problems did you run into when porting GHC to FreeBSD or any other 
POSIX platform?

Why do you not offer .hc packages of different builds (FreeBSD and/or 
Linux)? I could use them as a very good starting point. Or could anyone 
please create a zip with those files generated from such a build?

Thank you very much.
Bye,
Waldemar Kornewald
___
Glasgow-haskell-users mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users