Changeset 5592 for util/gen_prelude.pl
- Timestamp:
- 07/14/05 15:26:31 (3 years ago)
- svk:copy_cache_prev:
- 7591
- Files:
-
- 1 modified
-
util/gen_prelude.pl (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
util/gen_prelude.pl
r5558 r5592 33 33 34 34 sub null { 35 print STDERR "Generating null prelude... " if $Config{verbose};35 print STDERR "Generating null Prelude... " if $Config{verbose}; 36 36 open my $np, "src/Pugs/PreludePC.hs-null" or 37 die " can't open null prelude: $!";37 die "Couldn't open null Prelude (src/Pugs/PreludePC.hs-null): $!"; 38 38 print while (<$np>); 39 39 print STDERR "done.\n" if $Config{verbose}; … … 41 41 42 42 sub precomp { 43 print STDERR "Generating precompiled prelude... " if $Config{verbose};43 print STDERR "Generating precompiled Prelude... " if $Config{verbose}; 44 44 die "*** Error: $0 needs an already compiled Pugs to precompile the Prelude\n" 45 45 unless $Config{pugs}; … … 119 119 Creates a PreludePC.hs file (written to stdout), to be included by Run.hs. 120 120 121 In the first build phase, a "null" prelude with only placeholder functions121 In the first build phase, a "null" Prelude with only placeholder functions 122 122 is used. In the second phase, the Standard Prelude is precompiled and 123 123 inlined into the resulting pugs executable.
