[Mono-dev] DllImport("__Internal") and libMonoPosixHelper static build
ralph.bariz at gmail.com
Thu Apr 12 07:43:29 UTC 2012
I'm trying to compile a static one binary mono(Because the target system has
an incompatible loader).
First I got mono to build statically, but without libMonoPosixHelper in the
archive. After a few tries, I got also this, changed all DllImport(MPH)
calls in Mono.Posix.dll to DllImport("__Internal"), it still gives me a
TypeInitializationexception when I try to access the stat symbol of the
libMonoPosixHelper. With objdump I looked inside, the symbols of
libMonoPosixHelper are all inside the archive, so what am I doing wrong?
The script used to build: http://pastebin.com/t7dqdBYn
View this message in context: http://mono.1490590.n4.nabble.com/DllImport-Internal-and-libMonoPosixHelper-static-build-tp4551182p4551182.html
Sent from the Mono - Dev mailing list archive at Nabble.com.
More information about the Mono-devel-list