[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-users] Static linking program which uses 'ezxdisp' egg
From: |
Felix |
Subject: |
Re: [Chicken-users] Static linking program which uses 'ezxdisp' egg |
Date: |
Wed, 03 Nov 2010 14:17:47 +0100 (CET) |
From: Joe Python <address@hidden>
Subject: [Chicken-users] Static linking program which uses 'ezxdisp' egg
Date: Tue, 2 Nov 2010 10:01:00 -0400
> My knowledge about gcc compiler/linker is somewhere near to minimalistic.
>
> I wrote a program using the 'ezxdisp' egg in M$ Windows.
>
> The ONLY WAY I am able to successfully compile the program and run is using
> the command
> "*csc ezxx.scm -deploy*" and then copy the ezxdisp.so library(101kB) from
> C:\chicken\lib\chicken\5 to where the exe file resides.
>
> I would prefer to statically link the library. If I compile using "csc
> ezxx.scm -static" and then run the exe file, I get a GUI message
>
> "(require) cannot load extension ezxdisp
> ##sys#require <--"
>
> and then fails to execute the program. IS there a correct way to compile the
> program statically into ONE 'exe' file?
>
I have updated the ezxdisp egg to support static linking (version 2.5).
I have only tested it on Linux, though. Do you have MSYS installed or
plain mingw32?
cheers,
felix