chicken-users
[Top][All Lists]
Advanced

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

Re: [Chicken-users] Linking bb statically


From: felix winkelmann
Subject: Re: [Chicken-users] Linking bb statically
Date: Tue, 12 Jun 2007 08:16:44 +0200

Replace "-uses" with "-R".


cheers,
felix


On 6/12/07, Mark Voortman <address@hidden> wrote:
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
program:

(bb:init)
(define w (bb:make-widget 'window 200 100))
(bb:group
 w
 (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)
(bb:run)

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.

Thanks,
Mark




_______________________________________________
Chicken-users mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/chicken-users





reply via email to

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