[Ecls-list] Help building dll on windows
Hugo Duncan
hugo_duncan at yahoo.com
Fri Jul 11 17:39:24 UTC 2008
On Fri, 11 Jul 2008 13:15:30 -0400, Juan Jose Garcia-Ripoll
<juanjose.garciaripoll at googlemail.com> wrote:
> Are you trying to load the DLL? This is not allowed. If you want a
> loadable module, use make-build with type :fasl FASL files are binary
> files that ECL can load. DLLs are inteded to be linked against your
> program, not loaded with si_load_binary
Ah, OK, that is what I am trying to do. Not used to those two use cases
requiring different binaries.
Running
(asdf:make-build :mytest :type :fasl :monolithic nil), or,
(asdf:make-build :mytest :type)
results in
LINK : fatal error LNK1149: output filename matches input filename
'mytest.lib'
for the command line
;;; cl -Fe"c:/home/duncan/projects/ecl-test/mytest.fasb"
"c:/DOCUME~1/duncan/LOCALS~1/Temp/ECL144F.obj"
"c:/home/duncan/projects/ecl-test/mytest.lib" -LDd -MD -Z7 /link
/nodefaultlib:libcmt /nodefaultlib:libcmtd /nodefaultlib:libc
/nodefaultlib:libd ecl.lib user32.lib ws2_32.lib shell32.lib
/EXPORT:init_fas_CODE /LIBPATH:c:/usr/ecl/
Since there are symbols exported, the linker is generating a .lib file,
which is also specified on the input
Hugo
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
More information about the ecl-devel
mailing list