On Mon, Oct 5, 2009 at 10:52 PM, Mikael mikael.trash@gmail.com wrote:
Anyhow, BH's functionality to produce binaries is basic currently. Read the "Export binaries" section in the documentation. If I get your program right, you have three files: ../src/sdl-interface.scm , sdl-ttf.scm , and an unnamed sourcecode file, whose contents you pasted above. Drop the (load "~~/lib/modules/build") out of the unnamed file, and follow the other instructions above.
This what I'm trying to do:
../src/sdl-interface.scm is a third party library sdl-ttf.scm is a library i'm trying to keep independent of blackhole, since i want to contribute it to the sdl-interface project test-ttf.scm (the unnamed file above) is an attempt to get a minimal piece of code that uses both blackhole and sdl-ttf. i ultimately want to make an app that uses libraries out of blackhole, and the non-blackhole sdl-interface.
Can I compile sdl-interface and sdl-ttf separately and then link them with ttf-test via blackhole?
martin
Refer to Per for your further questions on producing binaries, if this is what you actually want.