<div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><br>
<br>
../src/sdl-interface.scm is a third party library<br>
sdl-ttf.scm is a library i'm trying to keep independent of blackhole,<br>
since i want to contribute it to the sdl-interface project<br>
test-ttf.scm (the unnamed file above) is an attempt to get a minimal<br>
piece of code that uses both blackhole and sdl-ttf. i ultimately want<br>
to make an app that uses libraries out of blackhole, and the<br>
non-blackhole sdl-interface.<br></blockquote><div><br></div><div>Sounds fair.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<br>
Can I compile sdl-interface and sdl-ttf separately and then link them<br>
with ttf-test via blackhole?<br></blockquote><div><br></div>The basic thought of BH is to manage your code and exports for you. Therefore I discourage the idea of compiling module kind of stuff outside of BH, then to use it inside BH. Rather find a way for your library sourcecode files to work in the other Scheme environments you want to use them for, and in BH, without modifications.</div>
<div class="gmail_quote"><br></div><div class="gmail_quote">Refer to Per for how exactly to do this. Put the compile-options in a BH-specific cond-expand in your library sourcecode files might be the best way.</div><div class="gmail_quote">
<br></div></div>