Closed hannesm closed 8 years ago
I tested this on a Xen machine, and the C flags passed to compile the stub library seem to be ok:
ocamlfind ocamlc -ccopt -Wpedantic -ccopt -Wall -ccopt '-std=c99' -ccopt -O3 -ccopt -mrdseed -ccopt -mrdrnd -ccopt '-isystem/home/hannes/.opam/canopy/lib/pkgconfig/../../include/minios-xen -isystem/home/hannes/.opam/canopy/lib/pkgconfig/../../include/minios-xen/posix -m64 -mno-red-zone -fno-reorder-blocks -fno-stack-protector -fno-asynchronous-unwind-tables -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.8/include -U__linux__ -U__FreeBSD__ -U__sun__ -U__linux -D__MINIOS__ -I/home/hannes/.opam/canopy/lib/pkgconfig/../../include/mirage-xen/include -I/home/hannes/.opam/canopy/lib/pkgconfig/../../include/mirage-xen-ocaml/include -I/home/hannes/.opam/canopy/lib/pkgconfig/../../include/mirage-xen-posix/include -I/home/hannes/.opam/canopy/include ' -c lib/entropy_cpu_xen_stubs.c mv entropy_cpu_xen_stubs.o lib/entropy_cpu_xen_stubs.o
any opinion on this PR? @samoht maybe? My claim is that it preserves semantics (and will make it easier to add the solo5 stuff)
tested on xen. objdump of libmirage-entropy-xen_stubs.a does not differ at all, minor differences in mirage-entropy-xen.a
libmirage-entropy-xen_stubs.a
mirage-entropy-xen.a
I tested this on a Xen machine, and the C flags passed to compile the stub library seem to be ok:
any opinion on this PR? @samoht maybe? My claim is that it preserves semantics (and will make it easier to add the solo5 stuff)