For something like libc, you can use an approach similar to what Mono.Posix does, where an intermediate C glue file acts as a bridge between the API differences.
See the P/Invokes for the Mono.Posix assembly, and its supporting glue code in mono/support/ On Wed, Dec 30, 2015 at 5:58 AM, Jason Curl <jcurln...@arcor.de> wrote: > Hello, > > I'm investigating the best way on how to support multiplatform software > especially when using P/Invokes, but have not found any reasonable advice > on the Wiki. > > Can someone point to me on how to handle different architectures, > especially when the underlying libc might use different structures or API > signatures? > > Thanks, > Jason. > _______________________________________________ > Mono-devel-list mailing list > Mono-devel-list@lists.ximian.com > http://lists.ximian.com/mailman/listinfo/mono-devel-list >
_______________________________________________ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list