<div style="min-height:22px">Thanks! I only want to make executables with asdf:make-build and will not compile any code on end user' system. is it ok? or rather, is it possible to switch cmp back and forth?</div><div style="min-height:22px"></div><span class="mail-footer">发自我的iPhone</span><div id="original-content"><br><br><div><div style="font-size:70%;padding:2px 0;">------------------ 原始邮件 ------------------</div><div style="font-size:70%;background:#f0f0f0;color:#212121;padding:8px;border-radius:4px"><div><b>发件人:</b> Daniel Kochmański <jackdaniel@hellsgate.pl></div><div><b>发送时间:</b> 2015年06月24日 22:08</div><div><b>收件人:</b> Rujia Liu <2575127@qq.com></div><div><b>抄送:</b> Evrim Ulu <evrimulu@gmail.com>, ecls-list <ecls-list@lists.sourceforge.net></div><div><b>主题:</b> Re: [Ecls-list] 回复: Packaging executable</div></div></div><br>Hey,<br><br>bytecmp is default on windows - in changelog in sources you may read<br>under "known issues":<br><br>   In Windows ECL comes with bytecodes compiler by default, because C<br>   compilers are normally not avaiable. Unfortunately several libraries<br>   out there are not prepared for this.  If you plan to use quicklisp<br>   and have a C compiler accessible to ECL, you may use<br>   (ext:install-c-compiler) to switch back to the Lisp-to-C compiler.<br><br>but it requires c compiler to be present on system, what may be a<br>problem if you deploy application to client.<br><br>BR,<br>Daniel<br><br>Rujia Liu writes:<br><br>> Yes, I confirmed you are right, but I dont know why I am using it instead of the native compiler. <br>><br>><br>> I did every thing in default (e.g did not change Makefile and did not add any flags to nmake). I am using vs2008 under windows XP sp2, Chinese edition.<br>><br>><br>> Could any one tell me why I am using bytecmp and how can I use native cmp by default? Thanks!<br>><br>><br>> Rujia<br>><br>> 发自我的iPhone<br>><br>> ------------------ 原始邮件 ------------------<br>> 发件人: Evrim Ulu <evrimulu@gmail.com><br>> 发送时间: 2015年06月24日 19:13<br>> 收件人: Rujia Liu <2575127@qq.com><br>> 抄送: ecls-list <ecls-list@lists.sourceforge.net><br>> 主题: Re: [Ecls-list] Packaging executable<br>><br>><br>><br>> https://gitlab.com/embeddable-common-lisp/ecl/blob/develop/contrib/bytecmp/bytecmp.lsp#L61<br>><br>><br>> Is this the case? Are you trying to use the byte-compiler?<br>><br>> Sorry Rujia, I'm pretty busy right atm, I'm trying to finish my dissertation.<br>><br>> I wish I could help you.<br>><br>><br>><br>> evrim.<br>><br>><br>><br>><br>><br>> 2015-06-24 13:46 GMT+03:00 Rujia Liu <2575127@qq.com>:<br>> sorry for the confusion. for some reason I am unable to post the exact error messages. I will try to reproduce the error on my home pc ASAP.<br>><br>><br>> The problem is that make-build calls compile-file-pathname internally and the error is not directly from make-build<br>><br>><br>> When I manually try something like (compile-file-pathname "a" :type :program) it complains that LIB is not supported.<br>><br>><br>> Could you also give me some hints about other points (missing c::build-program, cannot compile usocket and most bundled examples etc)? Thanks!<br>><br>> 发自我的iPhone<br>><br>> ------------------ 原始邮件 ------------------<br>> 发件人: Evrim Ulu <evrimulu@gmail.com><br>> 发送时间: 2015年06月24日 18:36<br>> 收件人: Rujia Liu <2575127@qq.com><br>> 抄送: ecls-list <ecls-list@lists.sourceforge.net><br>> 主题: Re: [Ecls-list] Packaging executable<br>><br>><br>><br>> Hello,<br>><br>><br>><br>> I'm confused. Please explain the following.<br>><br>> 2015-06-24 13:12 GMT+03:00 Rujia Liu <2575127@qq.com>:<br>><br>><br>> However, I ran into an error when calling it: compile-file-pathname does not support OBJECT when i use type :fasl and does not support LIB for type :program<br>><br>><br>><br>> :program should give you executable. :shared-lib or static-lib should be enough if you are calling lisp from other programs. <br>><br>><br>> evrim.------------------------------------------------------------------------------<br>> Monitor 25 network devices or servers for free with OpManager!<br>> OpManager is web-based network management software that monitors <br>> network devices and physical & virtual servers, alerts via email & sms <br>> for fault. Monitor 25 devices for free with no restriction. Download now<br>> http://ad.doubleclick.net/ddm/clk/292181274;119417398;o_______________________________________________<br>> Ecls-list mailing list<br>> Ecls-list@lists.sourceforge.net<br>> https://lists.sourceforge.net/lists/listinfo/ecls-list<br><br>-- <br>Daniel Kochmański | Poznań, Poland<br>;; aka jackdaniel<br><br>"Be the change that you wish to see in the world." - Mahatma Gandhi</div>