On Oct 8, 2011, at 10:43 AM, Matthew Flatt wrote: > At Sat, 8 Oct 2011 10:41:52 -0700, John Clements wrote: >> >> On Oct 8, 2011, at 10:39 AM, Matthew Flatt wrote: >> >>> At Sat, 8 Oct 2011 10:28:58 -0700, John Clements wrote: >>>> I'm building cross-platform binaries, and one of my platforms is Windows. >>>> >>>> Moreover, I'm calling mzrt_sema primitives from my library, but those are >> the >>>> only Racket functions I'm calling. >>> >>> The main problem is that the mzrt_ functions are not currently exported >>> from the Racket DLL. We can change that for future versions, but >>> they're completely inaccessible from the current DLLs. >>> >>> (On many platforms, all non-`static' functions are exported, so mzrt_ >>> functions are exported anyway. But it doesn't work that way for >>> Windows.) >> >> ... snip ... >> >>>> 2) Find some racket DLL or .o file and the right scheme.h, and add them to >> my >>>> Visual Studio 2010 project. >>> >>> The right files are in the "include" and "lib/msvc" directories of your >>> Racket installation. >> >> I'm slightly confused... your first two paragraphs are saying that number 2 >> won't currently work, so this is hypothetical, right? > > Yes, sorry --- I meant to insert a line to say "If we export the mzrt_ > functions, then..."
Okay, got it. Thanks! John
smime.p7s
Description: S/MIME cryptographic signature
_________________________________________________ For list-related administrative tasks: http://lists.racket-lang.org/listinfo/dev