Skip to content

Instantly share code, notes, and snippets.

@kristoff3r
Created June 28, 2011 15:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kristoff3r/1051382 to your computer and use it in GitHub Desktop.
Save kristoff3r/1051382 to your computer and use it in GitHub Desktop.
Attachment for mosml issue
cd config; sh autoconf gcc
Checking the sizes of integers and pointers...
Wow! A 64 bit architecture!
The char type is signed. Good!
This is a little-endian architecture.
This architecture has no alignment constraints.
Doubles can be word-aligned.
Function "memmove" is provided and handles overlapping moves correctly.
Function "bcopy" is provided and handles overlapping moves correctly.
_setjmp and _longjmp appear to work. Good!
The return type for signal handlers appears to be "void".
Signals have the BSD semantics.
rename() found.
strerror() found.
You have BSD sockets.
unistd.h found.
dirent.h found.
lockf() found.
mkfifo() found.
getpriority() found.
utime() found.
utimes() found.
dup2() found.
fchmod() found.
truncate() found.
select() found.
symlink() found.
wait3() found.
waitpid() found.
getgroups() found.
POSIX termios found.
cd runtime; make all
make[1]: Går til katalog '/home/kristoffer/build/mosml/src/runtime'
awk -f ../tools/make-jumptbl instruct.h > jumptbl.h
gcc -c -Dunix -O2 -fno-defer-pop -fomit-frame-pointer -DTHREADED -o interp.o interp.c
gcc -c -Dunix -O2 -fno-defer-pop -fomit-frame-pointer -DTHREADED -o expand.o expand.c
expand.c: In function ‘buildrealmap’:
expand.c:338: warning: format ‘%d’ expects type ‘int’, but argument 3 has type ‘long int’
expand.c: In function ‘expandcode’:
expand.c:663: warning: format ‘%d’ expects type ‘int’, but argument 3 has type ‘long int’
gcc -c -Dunix -O2 -fno-defer-pop -fomit-frame-pointer -DTHREADED -o misc.o misc.c
gcc -c -Dunix -O2 -fno-defer-pop -fomit-frame-pointer -DTHREADED -o stacks.o stacks.c
gcc -c -Dunix -O2 -fno-defer-pop -fomit-frame-pointer -DTHREADED -o fix_code.o fix_code.c
gcc -c -Dunix -O2 -fno-defer-pop -fomit-frame-pointer -DTHREADED -o main.o main.c
gcc -c -Dunix -O2 -fno-defer-pop -fomit-frame-pointer -DTHREADED -o fail.o fail.c
gcc -c -Dunix -O2 -fno-defer-pop -fomit-frame-pointer -DTHREADED -o signals.o signals.c
gcc -c -Dunix -O2 -fno-defer-pop -fomit-frame-pointer -DTHREADED -o freelist.o freelist.c
gcc -c -Dunix -O2 -fno-defer-pop -fomit-frame-pointer -DTHREADED -o major_gc.o major_gc.c
major_gc.c: In function ‘darken’:
major_gc.c:496: warning: passing argument 1 of ‘p_table_in_heap’ makes pointer from integer without a cast
major_gc.c:142: note: expected ‘addr’ but argument is of type ‘value’
major_gc.c: In function ‘weak_phase’:
major_gc.c:587: warning: passing argument 1 of ‘p_table_in_heap’ makes pointer from integer without a cast
major_gc.c:142: note: expected ‘addr’ but argument is of type ‘value’
gcc -c -Dunix -O2 -fno-defer-pop -fomit-frame-pointer -DTHREADED -o minor_gc.o minor_gc.c
gcc -c -Dunix -O2 -fno-defer-pop -fomit-frame-pointer -DTHREADED -o memory.o memory.c
gcc -c -Dunix -O2 -fno-defer-pop -fomit-frame-pointer -DTHREADED -o alloc.o alloc.c
gcc -c -Dunix -O2 -fno-defer-pop -fomit-frame-pointer -DTHREADED -o roots.o roots.c
gcc -c -Dunix -O2 -fno-defer-pop -fomit-frame-pointer -DTHREADED -o compare.o compare.c
gcc -c -Dunix -O2 -fno-defer-pop -fomit-frame-pointer -DTHREADED -o ints.o ints.c
gcc -c -Dunix -O2 -fno-defer-pop -fomit-frame-pointer -DTHREADED -o floats.o floats.c
gcc -c -Dunix -O2 -fno-defer-pop -fomit-frame-pointer -DTHREADED -o str.o str.c
gcc -c -Dunix -O2 -fno-defer-pop -fomit-frame-pointer -DTHREADED -o io.o io.c
gcc -c -Dunix -O2 -fno-defer-pop -fomit-frame-pointer -DTHREADED -o extern.o extern.c
gcc -c -Dunix -O2 -fno-defer-pop -fomit-frame-pointer -DTHREADED -o externcp.o externcp.c
gcc -c -Dunix -O2 -fno-defer-pop -fomit-frame-pointer -DTHREADED -o intern.o intern.c
intern.c: In function ‘intern_fast_val’:
intern.c:476: warning: passing argument 2 of ‘expand_block’ from incompatible pointer type
intern.c:155: note: expected ‘value *’ but argument is of type ‘char *’
gcc -c -Dunix -O2 -fno-defer-pop -fomit-frame-pointer -DTHREADED -o interncp.o interncp.c
gcc -c -Dunix -O2 -fno-defer-pop -fomit-frame-pointer -DTHREADED -o hash.o hash.c
gcc -c -Dunix -O2 -fno-defer-pop -fomit-frame-pointer -DTHREADED -o sys.o sys.c
gcc -c -Dunix -O2 -fno-defer-pop -fomit-frame-pointer -DTHREADED -o meta.o meta.c
gcc -c -Dunix -O2 -fno-defer-pop -fomit-frame-pointer -DTHREADED -o parsing.o parsing.c
gcc -c -Dunix -O2 -fno-defer-pop -fomit-frame-pointer -DTHREADED -o lexing.o lexing.c
gcc -c -Dunix -O2 -fno-defer-pop -fomit-frame-pointer -DTHREADED -o gc_ctrl.o gc_ctrl.c
gcc -c -Dunix -O2 -fno-defer-pop -fomit-frame-pointer -DTHREADED -o mosml.o mosml.c
gcc -c -Dunix -O2 -fno-defer-pop -fomit-frame-pointer -DTHREADED -o unix.o unix.c
gcc -c -Dunix -O2 -fno-defer-pop -fomit-frame-pointer -DTHREADED -o runtime.o runtime.c
gcc -c -Dunix -O2 -fno-defer-pop -fomit-frame-pointer -DTHREADED -o md5sum.o md5sum.c
gcc -c -Dunix -O2 -fno-defer-pop -fomit-frame-pointer -DTHREADED -o callback.o callback.c
gcc -c -Dunix -O2 -fno-defer-pop -fomit-frame-pointer -DTHREADED -o dynlib.o dynlib.c
sed -n -e '/\/\* ML \*\//s/.* \([a-zA-Z0-9_][a-zA-Z0-9_]*\) *(.*/\1/p' \
compare.c extern.c externcp.c floats.c gc_ctrl.c hash.c intern.c interncp.c interp.c ints.c io.c lexing.c meta.c parsing.c str.c sys.c mosml.c unix.c md5sum.c callback.c dynlib.c > primitives2
sh -c 'if cmp -s primitives primitives2; \
then rm primitives2; \
else mv primitives2 primitives; \
fi'
(echo '#include "mlvalues.h"'; \
echo '#include "prims.h"'; \
sed -e 's/.*/extern value &();/' primitives; \
echo 'c_primitive cprim[] = {'; \
sed -e 's/.*/ &,/' primitives; \
echo ' 0 };'; \
echo 'char * names_of_cprim[] = {'; \
sed -e 's/.*/ "&",/' primitives; \
echo ' 0 };') > prims.c
gcc -c -Dunix -O2 -fno-defer-pop -fomit-frame-pointer -DTHREADED -o prims.o prims.c
gcc -rdynamic -o camlrunm prims.o interp.o expand.o misc.o stacks.o fix_code.o main.o fail.o signals.o freelist.o major_gc.o minor_gc.o memory.o alloc.o roots.o compare.o ints.o floats.o str.o io.o extern.o externcp.o intern.o interncp.o hash.o sys.o meta.o parsing.o lexing.o gc_ctrl.o mosml.o unix.o runtime.o md5sum.o callback.o dynlib.o -lm -ldl
mosml.o: In function `sml_tmpnam':
mosml.c:(.text+0x17e7): warning: the use of `tmpnam' is dangerous, better use `mkstemp'
strip -S camlrunm
make[1]: Forlader katalog '/home/kristoffer/build/mosml/src/runtime'
cp runtime/camlrunm .
cd mosmlyac; make all
make[1]: Går til katalog '/home/kristoffer/build/mosml/src/mosmlyac'
gcc -c -O -DNDEBUG -o closure.o closure.c
In file included from closure.c:1:
defs.h:437: warning: conflicting types for built-in function ‘calloc’
defs.h:438: warning: conflicting types for built-in function ‘malloc’
defs.h:439: warning: conflicting types for built-in function ‘realloc’
gcc -c -O -DNDEBUG -o error.o error.c
In file included from error.c:3:
defs.h:437: warning: conflicting types for built-in function ‘calloc’
defs.h:438: warning: conflicting types for built-in function ‘malloc’
defs.h:439: warning: conflicting types for built-in function ‘realloc’
gcc -c -O -DNDEBUG -o lalr.o lalr.c
In file included from lalr.c:1:
defs.h:437: warning: conflicting types for built-in function ‘calloc’
defs.h:438: warning: conflicting types for built-in function ‘malloc’
defs.h:439: warning: conflicting types for built-in function ‘realloc’
gcc -c -O -DNDEBUG -o lr0.o lr0.c
In file included from lr0.c:2:
defs.h:437: warning: conflicting types for built-in function ‘calloc’
defs.h:438: warning: conflicting types for built-in function ‘malloc’
defs.h:439: warning: conflicting types for built-in function ‘realloc’
gcc -c -O -DNDEBUG -o main.o main.c
In file included from main.c:5:
defs.h:437: warning: conflicting types for built-in function ‘calloc’
defs.h:438: warning: conflicting types for built-in function ‘malloc’
defs.h:439: warning: conflicting types for built-in function ‘realloc’
main.c: In function ‘done’:
main.c:84: warning: incompatible implicit declaration of built-in function ‘exit’
main.c: In function ‘usage’:
main.c:115: warning: incompatible implicit declaration of built-in function ‘exit’
main.c: In function ‘getargs’:
main.c:193: warning: incompatible implicit declaration of built-in function ‘strlen’
main.c: In function ‘create_file_names’:
main.c:237: warning: incompatible implicit declaration of built-in function ‘strlen’
gcc -c -O -DNDEBUG -o mkpar.o mkpar.c
In file included from mkpar.c:2:
defs.h:437: warning: conflicting types for built-in function ‘calloc’
defs.h:438: warning: conflicting types for built-in function ‘malloc’
defs.h:439: warning: conflicting types for built-in function ‘realloc’
gcc -c -O -DNDEBUG -o output.o output.c
In file included from output.c:1:
defs.h:437: warning: conflicting types for built-in function ‘calloc’
defs.h:438: warning: conflicting types for built-in function ‘malloc’
defs.h:439: warning: conflicting types for built-in function ‘realloc’
gcc -c -O -DNDEBUG -o reader.o reader.c
In file included from reader.c:5:
defs.h:437: warning: conflicting types for built-in function ‘calloc’
defs.h:438: warning: conflicting types for built-in function ‘malloc’
defs.h:439: warning: conflicting types for built-in function ‘realloc’
reader.c: In function ‘output_token_type’:
reader.c:1005: warning: incompatible implicit declaration of built-in function ‘strchr’
reader.c:1023: warning: incompatible implicit declaration of built-in function ‘strchr’
reader.c: In function ‘pack_names’:
reader.c:1515: warning: incompatible implicit declaration of built-in function ‘strlen’
reader.c: In function ‘print_grammar’:
reader.c:1812: warning: incompatible implicit declaration of built-in function ‘strlen’
gcc -c -O -DNDEBUG -o skeleton.o skeleton.c
In file included from skeleton.c:1:
defs.h:437: warning: conflicting types for built-in function ‘calloc’
defs.h:438: warning: conflicting types for built-in function ‘malloc’
defs.h:439: warning: conflicting types for built-in function ‘realloc’
gcc -c -O -DNDEBUG -o symtab.o symtab.c
In file included from symtab.c:1:
defs.h:437: warning: conflicting types for built-in function ‘calloc’
defs.h:438: warning: conflicting types for built-in function ‘malloc’
defs.h:439: warning: conflicting types for built-in function ‘realloc’
symtab.c: In function ‘make_bucket’:
symtab.c:36: warning: incompatible implicit declaration of built-in function ‘strlen’
gcc -c -O -DNDEBUG -o verbose.o verbose.c
In file included from verbose.c:2:
defs.h:437: warning: conflicting types for built-in function ‘calloc’
defs.h:438: warning: conflicting types for built-in function ‘malloc’
defs.h:439: warning: conflicting types for built-in function ‘realloc’
gcc -c -O -DNDEBUG -o warshall.o warshall.c
In file included from warshall.c:1:
defs.h:437: warning: conflicting types for built-in function ‘calloc’
defs.h:438: warning: conflicting types for built-in function ‘malloc’
defs.h:439: warning: conflicting types for built-in function ‘realloc’
gcc -O -DNDEBUG -o mosmlyac closure.o error.o lalr.o lr0.o main.o mkpar.o output.o reader.o skeleton.o symtab.o verbose.o warshall.o
main.o: In function `create_file_names':
main.c:(.text+0x206): warning: the use of `mktemp' is dangerous, better use `mkstemp' or `mkdtemp'
strip -S mosmlyac
make[1]: Forlader katalog '/home/kristoffer/build/mosml/src/mosmlyac'
cd mosmllib; make all
make[1]: Går til katalog '/home/kristoffer/build/mosml/src/mosmllib'
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none -imptypes Vector.sig
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none -imptypes Array.sig
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none -imptypes List.sig
cpp -P -traditional -Dunix -Umsdos Array.mlp > Array.sml
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none -imptypes Array.sml
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none -imptypes Array2.sig
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none -imptypes VectorSlice.sig
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none -imptypes ArraySlice.sig
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none -imptypes Array2.sml
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none -imptypes ArraySlice.sml
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none -imptypes Arraysort.sig
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none -imptypes Arraysort.sml
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none -imptypes BasicIO.sig
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none -imptypes BasicIO.sml
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none -imptypes Binaryset.sig
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none -imptypes Binaryset.sml
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none -imptypes Binarymap.sig
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none -imptypes Binarymap.sml
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none -imptypes StringCvt.sig
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none -imptypes Word.sig
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none -imptypes Word8.sig
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none -imptypes Word8Vector.sig
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none -imptypes BinIO.sig
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none -imptypes Char.sig
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none -imptypes TextIO.sig
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none -imptypes BinIO.sml
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none -imptypes Bool.sig
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none -imptypes Bool.sml
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none -imptypes Buffer.sig
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none -imptypes String.sig
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none -imptypes Substring.sig
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none -imptypes Buffer.sml
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none -imptypes Word8Array.sig
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none -imptypes Word8VectorSlice.sig
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none -imptypes Word8ArraySlice.sig
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none -imptypes Byte.sig
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none -imptypes Byte.sml
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none -imptypes Callback.sig
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none -imptypes Polyhash.sig
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none -imptypes Callback.sml
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none -imptypes Strbase.sig
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none -imptypes Char.sml
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none -imptypes CharVector.sig
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none -imptypes CharArray.sig
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none -imptypes CharArray.sml
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none -imptypes CharVectorSlice.sig
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none -imptypes CharArraySlice.sig
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none -imptypes CharArraySlice.sml
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none -imptypes CharVector.sml
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none -imptypes CharVectorSlice.sml
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none -imptypes CommandLine.sig
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none -imptypes CommandLine.sml
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none -imptypes Time.sig
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none -imptypes Date.sig
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none -imptypes Real.sig
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none -imptypes Option.sig
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none -imptypes Int.sig
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none -imptypes Date.sml
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none -imptypes Dynarray.sig
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none -imptypes Dynarray.sml
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none -imptypes Dynlib.sig
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none -imptypes Dynlib.sml
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none -imptypes FileSys.sig
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none -imptypes Path.sig
cpp -P -traditional -Dunix -Umsdos FileSys.mlp > FileSys.sml
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none -imptypes FileSys.sml
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none -imptypes Gdbm.sig
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none -imptypes Gdbm.sml
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none -imptypes Gdimage.sig
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none -imptypes Gdimage.sml
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none -imptypes Hashset.sig
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none -imptypes Hashset.sml
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none -imptypes Help.sig
cpp -P -traditional -Dunix -Umsdos Help.mlp > Help.sml
Help.mlp:45: warning: extra tokens at end of #else directive
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none -imptypes Help.sml
cpp -P -traditional -Dunix -Umsdos Int.mlp > Int.sml
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none -imptypes Int.sml
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none -imptypes Intmap.sig
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none -imptypes Intmap.sml
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none -imptypes Intset.sig
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none -imptypes Intset.sml
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none -imptypes IO.sml
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none -imptypes Obj.sml
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none -imptypes Lexing.sig
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none -imptypes Lexing.sml
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none -imptypes List.sml
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none -imptypes ListPair.sig
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none -imptypes ListPair.sml
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none -imptypes Listsort.sig
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none -imptypes Listsort.sml
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none -imptypes Location.sig
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none -imptypes Parsing.sig
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none -imptypes Nonstdio.sig
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none -imptypes Location.sml
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none -imptypes Math.sig
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none -imptypes Math.sml
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none -imptypes Misc.sig
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none -imptypes Misc.sml
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none -imptypes Mosml.sig
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none -imptypes Timer.sig
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none -imptypes Process.sig
cpp -P -traditional -Dunix -Umsdos Mosml.mlp > Mosml.sml
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none -imptypes Mosml.sml
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none -imptypes Mosmlcgi.sig
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none -imptypes Splaymap.sig
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none -imptypes Mosmlcgi.sml
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none -imptypes Mosmlcookie.sig
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none -imptypes Mosmlcookie.sml
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none -imptypes Msp.sig
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none -imptypes Msp.sml
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none -imptypes Mysql.sig
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none -imptypes Mysql.sml
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none -imptypes NJ93.sig
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none -imptypes NJ93.sml
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none -imptypes Nonstdio.sml
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none -imptypes Option.sml
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none -imptypes OS.sig
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none -imptypes OS.sml
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none -imptypes Parsing.sml
cpp -P -traditional -Dunix -Umsdos Path.mlp > Path.sml
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none -imptypes Path.sml
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none -imptypes Polygdbm.sig
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none -imptypes Polygdbm.sml
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none -imptypes Polyhash.sml
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none -imptypes Postgres.sig
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none -imptypes Postgres.sml
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none -imptypes PP.sig
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none -imptypes PP.sml
cpp -P -traditional -Dunix -Umsdos Process.mlp > Process.sml
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none -imptypes Process.sml
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none -imptypes Random.sig
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none -imptypes Random.sml
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none -imptypes Rbset.sig
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none -imptypes Rbset.sml
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none -imptypes Real.sml
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none -imptypes Redblackmap.sig
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none -imptypes Redblackmap.sml
File "Redblackmap.sml", line 112, characters 6-34:
! fun redden (BLACK arg) = RED arg
! ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
! Warning: pattern matching is not exhaustive
File "Redblackmap.sml", line 114-119, characters 6-312:
! ......balleft y yd (RED(x,xd,a,b)) c =
! RED(y, yd, BLACK(x, xd, a, b), c)
! | balleft x xd bl (BLACK(y, yd, a, b)) =
! rbalance x xd bl (RED(y, yd, a, b))
! | balleft x xd bl (RED(z,zd,BLACK(y,yd,a,b),c)) =
! RED(y, yd, BLACK(x, xd, bl, a), rbalance z zd b (redden c))
! Warning: pattern matching is not exhaustive
File "Redblackmap.sml", line 121-126, characters 6-308:
! ......balright x xd a (RED(y, yd ,b,c)) =
! RED(x, xd, a, BLACK(y, yd, b, c))
! | balright y yd (BLACK(x,xd,a,b)) br =
! lbalance y yd (RED(x,xd,a,b)) br
! | balright z zd (RED(x,xd,a,BLACK(y,yd,b,c))) br =
! RED(y, yd, lbalance x xd (redden a) b, BLACK(z, zd, c, br))
! Warning: pattern matching is not exhaustive
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none -imptypes Regex.sig
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none -imptypes Regex.sml
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none -imptypes Signal.sig
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none -imptypes Signal.sml
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none -imptypes SML90.sig
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none -imptypes SML90.sml
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none -imptypes Socket.sig
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none -imptypes Socket.sml
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none -imptypes Splaytree.sig
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none -imptypes Splaymap.sml
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none -imptypes Splayset.sig
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none -imptypes Splayset.sml
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none -imptypes Splaytree.sml
cpp -P -traditional -Dunix -Umsdos Strbase.mlp > Strbase.sml
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none -imptypes Strbase.sml
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none -imptypes String.sml
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none -imptypes StringCvt.sml
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none -imptypes Substring.sml
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none -imptypes Susp.sig
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none -imptypes Susp.sml
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none -imptypes TextIO.sml
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none -imptypes Time.sml
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none -imptypes Timer.sml
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none -imptypes Unix.sig
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none -imptypes Unix.sml
cpp -P -traditional -Dunix -Umsdos Vector.mlp > Vector.sml
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none -imptypes Vector.sml
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none -imptypes VectorSlice.sml
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none -imptypes Weak.sig
cpp -P -traditional -Dunix -Umsdos Weak.mlp > Weak.sml
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none -imptypes Weak.sml
cpp -P -traditional -Dunix -Umsdos Word.mlp > Word.sml
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none -imptypes Word.sml
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none -imptypes Word8.sml
cpp -P -traditional -Dunix -Umsdos Word8Array.mlp > Word8Array.sml
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none -imptypes Word8Array.sml
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none -imptypes Word8ArraySlice.sml
cpp -P -traditional -Dunix -Umsdos Word8Vector.mlp > Word8Vector.sml
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none -imptypes Word8Vector.sml
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none -imptypes Word8VectorSlice.sml
make[1]: Forlader katalog '/home/kristoffer/build/mosml/src/mosmllib'
cd compiler; make all
make[1]: Går til katalog '/home/kristoffer/build/mosml/src/compiler'
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none Miscsys.sig
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none Miscsys.sml
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none Printexc.sig
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none Printexc.sml
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none Filename.sig
cpp -P -traditional -Dunix -Umsdos Filename.mlp > Filename.sml
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none Filename.sml
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none Fnlib.sig
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none Fnlib.sml
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none Sort.sig
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none Sort.sml
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none Stack.sig
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none Stack.sml
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none Arg.sig
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none Arg.sml
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none Hasht.sig
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none Hasht.sml
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none Memory.sml
cpp -P -traditional -Dunix -Umsdos Config.mlp > Config.sml
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none Config.sml
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none Mixture.sig
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none Mixture.sml
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none Const.sml
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none Prim.sml
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none Instruct.sml
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none Lambda.sml
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none Smlprim.sml
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none Globals.sml
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none Location.sig
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none Location.sml
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none Units.sig
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none Units.sml
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none Types.sig
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none Types.sml
! File ../mosmllib/Misc.ui contains the signature of unit Misc
! instead of the signature of unit Misc
make[1]: *** [Types.uo] Fejl 2
make[1]: Forlader katalog '/home/kristoffer/build/mosml/src/compiler'
make: *** [world] Fejl 2
# Unix configuration Makefile for Moscow ML -*- mode: makefile -*-
# Where to install stuff
MOSMLHOME=${HOME}/build/mosml
# Various utility programs
INSTALL_PROGRAM=cp
INSTALL_SCRIPT=cp
INSTALL_DATA=cp
PERL=perl
BASELIBS=-lm
# This works with most systems, including MacOS X with XCode installed:
CC=gcc
# CC=/usr/sepp/bin/gcc # Solaris at KVL
# To compile the runtime system camlrunm with support for
# dynamically loadable libraries (DDLs), uncomment these:
ADDPRIMS=dynlib.c
ADDOBJS=dynlib.o
ADDRUNLIBS=-ldl
ADDRUNCFLAGS=
ADDDYNLIBCFLAGS=
# For Linux (x86 or Alpha), use:
# ------------------------------
CPP=cpp -P -traditional -Dunix -Umsdos
STRIP=strip -S
LD=gcc -rdynamic
DYNLD=ld -shared
# For FreeBSD, use:
# -----------------
# CPP=/usr/bin/cpp -P -traditional -Dunix -Umsdos
# STRIP=strip
# LD=gcc -export-dynamic
# DYNLD=ld -shared
# ADDRUNLIBS=
# For MacOS X, use:
# -----------------
#CPP=cpp -P -traditional -Dunix -Umsdos
#STRIP=strip -S
#CC=gcc -traditional-cpp
#LD=gcc -rdynamic
#DYNLD=$(LD) -bundle -undefined dynamic_lookup
# ADDDYNLIBCFLAGS=-I/sw/include -fPIC
# ADDRUNCFLAGS=-I/sw/include
# ADDRUNLIBS=-L/sw/lib -ldl
# BASELIBS=
# For Cygwin 20.1, use:
# ---------------------
# MOSMLHOME=/mosml
# CPP=/lib/cpp -P -traditional -Dunix -Umsdos
# STRIP=strip
# LD=gcc -Wl,--export-dynamic
# DYNLD=ld -shared
# EXE=.exe
# # For dynamically loadable libraries (DDLs) under Cygwin:
# ADDPRIMS=dynlib.c
# ADDOBJS=dynlib.o
# ADDRUNCFLAGS=
# ADDDYNLIBCFLAGS=
# For NetBSD, use:
# ------------------------
# CPP=/usr/bin/cpp -P -traditional -Dunix -Umsdos
# STRIP=/usr/bin/strip
# ADDRUNCFLAGS=-fPIC
# ADDDYNLIBCFLAGS=-fPIC
# INSTALL_PROGRAM=${BSD_INSTALL_PROGRAM}
# INSTALL_SCRIPT=${BSD_INSTALL_SCRIPT}
# INSTALL_DATA=${BSD_INSTALL_DATA}
# For Solaris 2 (not SunOS 4), use:
# ---------------------------------
# CPP=/usr/ccs/lib/cpp -P -Dunix -Umsdos
# STRIP=/usr/ccs/bin/strip
# LD=gcc
# DYNLD=ld -G -B symbolic -z nodefs
# ADDRUNCFLAGS=
# ADDDYNLIBCFLAGS=
# If the above fails with dynlibs, try this:
# LD=gcc -Wl,--export-dynamic
# For HP-UX 9, use:
# -----------------
# CPP=/lib/cpp -P -Dunix -Umsdos
# STRIP=strip
# LD=gcc -Xlinker -E
# DYNLD=ld -b -B symbolic -E
# ADDRUNLIBS=-ldld
# ADDRUNCFLAGS=-fPIC
# ADDDYNLIBCFLAGS=-fPIC
# For HP-UX 10, use:
# ------------------
# CPP=/opt/langtools/lbin/cpp -P -Dunix -Umsdos
# STRIP=strip
# LD=gcc -Xlinker -E
# DYNLD=ld -b -B symbolic -E
# ADDRUNLIBS=-ldld
# ADDRUNCFLAGS=-fPIC
# ADDDYNLIBCFLAGS=-fPIC
# For OSF/1 (Digital Unix), use:
# ------------------------------
# CPP=/lib/cpp -P -traditional -Dunix -Umsdos
# STRIP=strip
# LD=gcc
# DYNLD=ld -shared
# ADDRUNLIBS=
# ADDCFLAGS=
# ADDRUNCFLAGS=
# ADDDYNLIBCFLAGS=
# For Irix, use:
# --------------
# CPP=/lib/cpp -P -Dunix -Umsdos
# STRIP=/usr/bin/strip
# LD=gcc -rdynamic
# DYNLD=ld -shared
SHELL=/bin/sh
# ---------- You shouldn't need to edit below this line ------------
# BINDIR contains true executable files, such as scripts
# LIBDIR contains bytecode files (such as mosmlcmp and library units)
# INCDIR contains the runtime system header files (for compiling dynlibs)
# DOCDIR contains documentation
BINDIR=${MOSMLHOME}/bin
LIBDIR=${MOSMLHOME}/lib
INCDIR=${MOSMLHOME}/include
DOCDIR=${MOSMLHOME}/doc
TOOLDIR=${MOSMLHOME}/tools
# LIBDIR=${MOSMLHOME}/lib/moscow_ml
# TOOLDIR=${MOSMLHOME}/libexec/moscow_ml
CAMLRT=../runtime
MOSMLTOOLS=../tools
MOSMLC=../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none
MOSMLL=../camlrunm ../mosmllnk -stdlib ../mosmllib -P none
MOSMLLDOS=../camlrunm ../mosmllnk.dos -stdlib ../mosmllib -P none
MOSMLLW32=../camlrunm ../mosmllnk.w32 -stdlib ../mosmllib -P none
MOSMLLNEW=../camlrunm ../mosmllnk.new -stdlib ../mosmllib -P none
MOSMLLEX=../camlrunm ../mosmllex
MOSMLYACC=../mosmlyac/mosmlyac
MOSMLCUT=../camlrunm ../cutdeps
MOSMLDEP=../camlrunm ../mosmldep
# For cross-compiling to MS DOS (from Linux) (development only)
# CPP=/lib/cpp -P -traditional -Uunix -Dmsdos -Uwin32
# For cross-compiling to Win 32 (from Linux) (development only)
# CPP=/lib/cpp -P -traditional -Umsdos -Uunix -Dwin32
.SUFFIXES :
.SUFFIXES : .sml .sig .ui .uo .mlp .lex .c .o
.sig.ui:
$(MOSMLC) $(COMPFLAGS) $<
.sml.uo:
$(MOSMLC) $(COMPFLAGS) $<
.mlp.sml:
$(CPP) $< > $*.sml
.lex.sml:
$(MOSMLLEX) $<
.c.o:
$(CC) -c $(CFLAGS) -o $@ $<
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment