[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Chicken-users] Linking bb statically

From: Mark Voortman
Subject: [Chicken-users] Linking bb statically
Date: Mon, 11 Jun 2007 18:08:49 -0400 (EDT)
User-agent: SquirrelMail/1.4.10a

Hello folks,

I finally managed to install fltk and the bb egg. Now I want to compile a
simple program statically, but I can't get it to work. This is the

(define w (bb:make-widget 'window 200 100))
 (lambda ()
   (let ([lbl (bb:make-widget 'label 200 100)])
     (set! (bb:property lbl 'box) 'engraved-box)
     (set! (bb:property lbl 'text-size) 32)
     (set! (bb:property lbl 'text-font) 'times-bold-italic)
     (set! (bb:property lbl 'text) "Hello, World") ) ) )
(bb:show w)

which is saved in gui.scm. I invoke the compiler with this command: csc
-static-extensions gui.scm -uses bb. It then complains about an undefined
reference to _C_bb_toplevel. I tried a couple of other commands but
nothing seems to work. Any help is welcome.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]