Permalink
Browse files

A few tweaks for ggoebel

(Who may not rest until he actually reports these bugs)
  • Loading branch information...
1 parent 1801379 commit 16c4aaa1be1d45ae85a0772f0b2e3611086113d1 @sorear committed Aug 22, 2010
Showing with 13 additions and 6 deletions.
  1. +7 −4 Niecza.proj
  2. +6 −2 README.pod
View
@@ -43,7 +43,7 @@
Outputs="obj\Kernel.dll">
<Csc Sources="lib\Kernel.cs;lib\Cursor.cs" TargetType="library"
OutputAssembly="obj\Kernel.dll"/>
- <Exec Condition="$(UseAOT) == 'Y'"
+ <Exec Condition="$(UseAOT) == 'Y'" ContinueOnError="true"
Command="mono --aot obj\Kernel.dll"/>
</Target>
@@ -67,22 +67,25 @@
<Csc Sources="obj\CORE.cs" TargetType="library"
AdditionalLibPaths="obj" OutputAssembly="obj\CORE.dll"
References="SAFE.dll;Kernel.dll"/>
- <Exec Condition="$(UseAOT) == 'Y'" Command="mono --aot obj\CORE.dll"/>
+ <Exec Condition="$(UseAOT) == 'Y'" Command="mono --aot obj\CORE.dll"
+ ContinueOnError="true"/>
</Target>
<Target Name="SAFE.dll" Inputs="obj\SAFE.cs;obj\Kernel.dll"
Outputs="obj\SAFE.dll" DependsOnTargets="SAFE.cs;Kernel.dll">
<Csc Sources="obj\SAFE.cs" TargetType="library"
AdditionalLibPaths="obj" OutputAssembly="obj\SAFE.dll"
References="Kernel.dll"/>
- <Exec Condition="$(UseAOT) == 'Y'" Command="mono --aot obj\SAFE.dll"/>
+ <Exec Condition="$(UseAOT) == 'Y'" Command="mono --aot obj\SAFE.dll"
+ ContinueOnError="true"/>
</Target>
<Target Name="Test.dll" Inputs="obj\Test.cs;obj\CORE.dll;obj\Kernel.dll" Outputs="obj\Test.dll" DependsOnTargets="Test.cs;CORE.dll;Kernel.dll">
<Csc Sources="obj\Test.cs" TargetType="library"
AdditionalLibPaths="obj" OutputAssembly="obj\Test.dll"
References="CORE.dll;SAFE.dll;Kernel.dll"/>
- <Exec Condition="$(UseAOT) == 'Y'" Command="mono --aot obj\Test.dll"/>
+ <Exec Condition="$(UseAOT) == 'Y'" Command="mono --aot obj\Test.dll"
+ ContinueOnError="true"/>
</Target>
<!-- Proper compiler bits -->
View
@@ -13,7 +13,7 @@ C<test.pl>.
=item *
-Mono (2.6.4 recommended)
+Mono. 2.6.4 and later are well-tested, though success has been reported with 2.4.x as well. ggoebel on #perl6 reports that 2.6.7 fails with a bus error on OS X 10.4 x86, but 2.6.4 works; 2.6.7 is fine on other platforms.
=item *
@@ -32,7 +32,7 @@ File::ShareDir, and YAML::XS from CPAN
=head1 USING
- $ xbuild
+ $ xbuild # see note
... snip build spam ...
$ ./niecza_eval
> say 2 + 2
@@ -42,6 +42,10 @@ File::ShareDir, and YAML::XS from CPAN
4
$
+Note: Some versions of xbuild seem to ignore the ContinueOnError hint, and some
+builds of mono do not support C<--aot>. If both factors combine, you will need
+to change C<UseAOT> to C<N> in Niecza.proj for the build to succeed.
+
=head1 COPYRIGHT AND LICENSE
Niecza is Copyright 2010 Stefan O'Rear et al. It may be used and distributed

0 comments on commit 16c4aaa

Please sign in to comment.