Skip to content

Instantly share code, notes, and snippets.

@colomon
Created January 28, 2012 00:06
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 colomon/1691700 to your computer and use it in GitHub Desktop.
Save colomon/1691700 to your computer and use it in GitHub Desktop.
# osname = darwin
ok 1 - We have a working C compiler.
ok 2 - We can embed p5.
ok 3 - We can run programs under mono
ok 4 - We can call C code from mono using /usr/bin/gcc-4.2 -m32 -shared
Unhandled Exception: System.DllNotFoundException: /Users/colomon/tools/niecza/p5test/test5lib.dylib
at (wrapper managed-to-native) Test4:RunTest ()
at Test4.Main () [0x00000] in <filename unknown>:0
not ok 5 - We can call P5 code from mono
# Failed test 'We can call P5 code from mono'
# at p5test.pl line 64.
# got: ''
# expected: 'OK 5
# '
1..5
# Looks like you failed 1 test of 5.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment