This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| {-# LANGUAGE FunctionalDependencies #-} | |
| {-# LANGUAGE FlexibleInstances #-} | |
| {-# LANGUAGE MultiParamTypeClasses #-} | |
| {-# LANGUAGE UndecidableInstances #-} | |
| {-# LANGUAGE FlexibleContexts #-} | |
| import Control.Monad | |
| import Control.Monad.Trans.Free | |
| import Control.Monad.Trans.Class | |
| -------------------------------------------------- |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # Compile Main for Java bytecode | |
| gcj -C Main.java | |
| # Compile Main for native | |
| gcj -findirect-dispatch -fno-indirect-classes -fpic -c Main.class -o java.o | |
| # Generate header file | |
| gcjh -cp . Main |
NewerOlder