How to force UNIX text files as output instead of DOS text files??

Alexandre Weffort Thenorio alethenorio@home.se
Mon, 3 Mar 2003 20:14:42 +0100


Thanks a lot m8. I got it. I was supplying it with --make but not with -o.
Thanks again. I guess everything is fine now thanks to you guys.I wanna
learn more about catching errors but that comes later when I finish this
program.

Best Regards

Alex

----- Original Message -----
From: "Nils Decker" <nils@ndecker.de>
To: "Alexandre Weffort Thenorio" <alethenorio@home.se>
Sent: Monday, March 03, 2003 7:19 PM
Subject: Re: How to force UNIX text files as output instead of DOS text
files??


> "Alexandre Weffort Thenorio" <alethenorio@home.se> wrote:
> > Hi Great I got it working. Thanks a lot guys. My only problem now is
> > when compiling. I am getting:
> >
> > hextodat.0(.text+0x34):fake: undefined reference to '_stginit_IOExts'
> >
> > Anybody can tell me what could be wrong?? I can run --make but when
> > trying to compile with -o flag I get this error.
>
> AFAIK, you have to supply -package lang to the linker too when using
seperate
> compilation.
>
>
> e.g:
> ghc -package lang -o foo.o foo.hs
> ghc -package lang -o foo foo.o ...
>
> Regards
>   Nils
>
> --
> Unix is user friendly - it's just picky about it's friends.
>
> Nils Decker <nils@ndecker.de>
>