From: Joe Python <[email protected]> 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 _______________________________________________ Chicken-users mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/chicken-users
