Re: building ghc-2.04-pl2 on DEC alphas

1997-07-17 Thread Alex Ferguson
Josh Burdick writes: > ghc-0.29 -cpp -fhaskell-1.3 -fglasgow-exts -DCOMPILING_GHC -Rghc-timing -I. > -IcodeGen -InativeGen -Iparser -iutils -ibasicTypes -itypes -ihsSyn > -iprelude -irename -itypecheck -ideSugar -icoreSyn -ispecialise -isimplCore > -istranal -istgSyn -isimplStg -icodeGen -iabsCS

Re: Command line problems with -ohi

1997-07-17 Thread Sigbjorn Finne
> > make -k > ghc -c -O -odir . -ohi Main.hi ../Main.hs > ghc: input file doesn't exist: Main.hi > ghc: no argument following -ohi option > ghc: You can't use -o or -ohi options if you have multiple input files. > Perhaps the -odir option will do what you want. > > Usage: For basic inform

Re: building ghc-2.04-pl2 on DEC alphas

1997-07-17 Thread Alex Ferguson
Hi Josh, I'm afraid I can't help directly with any of your main problems, though if I'm feeling brave I may try a build-from-source on an alpha shortly. On some of your other points: > Also, could anyone post here a "build.mk" file for building 2.04-pl2 > using an 0.29 binary distribution, th

Command line problems with -ohi

1997-07-17 Thread Tim Geisler
-ohi all. I encountered a problem with setting the destinations for GHC's output with ghc 2.0?. I could not set both the destination directory for .o and for .hi files to a directory different from the directory containing my Haskell sources. The explicit setting of these directories is important

Command line tribulations.

1997-07-17 Thread Alex Ferguson
Hi all. Some problems I had recently with ghc opts, while trying to twiddle the heap usage of ghc on happy output (see ghc-users, passim). Pedantic observation: contra the user guide, -funfolding-use-threshold0 isn't recognized, though -funfolding-use-threshold-0 is. (The minus/hyphen isn't ne

making ghc-2.04 with ghc-0.29 for linux

1997-07-17 Thread S.D.Mechveliani
People, had anybody sacceeded in "making" ghc-2.04 with ghc-0.29 for Linux,i386 ? I have a large program to port from Haskell-1.2 to 1.4 but sadly fail to build the 1.4 compiler. Sergey Mechveliani [EMAIL PROTECTED]

Re: Native Mode on Linux i386?

1997-07-17 Thread David Barton
Well, since this just arrived. I did indeed recompile with the native generator option off. I now get a segmentation fault. The entire message is: rm -f ghc/PrelBase.o ; if [ ! -d ghc/PrelBase ]; then mkdir ghc/PrelBase ; e

Re: Native Mode on Linux i386?

1997-07-17 Thread Sigbjorn Finne
David Barton writes: > In my continuing saga to compile 2.04, I have completed the compile > with 0.29, and then tried to compile the compiler with 2.04 itself. > All went well (sort of, I had to increase the heap space on three or > four files) until it started compiling things in nativeGen; the

Re: Profiling with -auto-all broken

1997-07-17 Thread Sigbjorn Finne
Sven Panne writes: > Once again: The old and sad profiling story... > Consider the following modules: > ..source code elided.. > > Compiling and linking with -prof *and* -auto-all: > >panne@liesl> ghc -c -prof -auto-all Foo.hs >ghc: module version changed to 1; reason: no old .hi fil

Re: bugg report (profiling again)

1997-07-17 Thread Sigbjorn Finne
Marc van Dongen writes: > The latest patch provided Thu 16 Jul I still > have problems with profiling and optimization: > at the link-stage. (See also my report from Thu, 26 Jun). > > After: > > ghc -o ModuleMain -H40M -K4M -recomp -v \ > -fglasgow-exts -cpp -hi-diffs -ansi -syslib