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: Mark Voortman
Subject: Re: [Chicken-users] Linking bb statically
Date: Tue, 12 Jun 2007 13:31:25 -0400 (EDT)
User-agent: SquirrelMail/1.4.10a

Hi Felix,

I found some weird behavior, but maybe you can explain it. If I replace my
simple gui program with something even simpler, for example (display
"hello world") (newline), and then compile and run it (with -R bb still
enabled) it shows me _no_ output. Would you know why?

Cheers,
Mark


> 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]