Re: [Ecls-list] Packaging executable

2015-06-24 Thread Evrim Ulu
Hello,

I'm confused. Please explain the following.

2015-06-24 13:12 GMT+03:00 Rujia Liu 2575...@qq.com:


 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



:program should give you executable. :shared-lib or static-lib should be
enough if you are calling lisp from other programs.

evrim.
--
Monitor 25 network devices or servers for free with OpManager!
OpManager is web-based network management software that monitors 
network devices and physical  virtual servers, alerts via email  sms 
for fault. Monitor 25 devices for free with no restriction. Download now
http://ad.doubleclick.net/ddm/clk/292181274;119417398;o___
Ecls-list mailing list
Ecls-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ecls-list


[Ecls-list] ?????? Packaging executable

2015-06-24 Thread Rujia Liu
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.


The problem is that make-build calls compile-file-pathname internally and the 
error is not directly from make-build


When I manually try something like (compile-file-pathname a :type :program) 
it complains that LIB is not supported.


Could you also give me some hints about other points (missing c::build-program, 
cannot compile usocket and most bundled examples etc)? Thanks!

iPhone

--  --
??: Evrim Ulu evrim...@gmail.com
: 2015??06??24?? 18:36
??: Rujia Liu 2575...@qq.com
: ecls-list ecls-list@lists.sourceforge.net
: Re: [Ecls-list] Packaging executable



Hello,



I'm confused. Please explain the following.

2015-06-24 13:12 GMT+03:00 Rujia Liu 2575...@qq.com:


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



:program should give you executable. :shared-lib or static-lib should be enough 
if you are calling lisp from other programs. 


evrim.--
Monitor 25 network devices or servers for free with OpManager!
OpManager is web-based network management software that monitors 
network devices and physical  virtual servers, alerts via email  sms 
for fault. Monitor 25 devices for free with no restriction. Download now
http://ad.doubleclick.net/ddm/clk/292181274;119417398;o___
Ecls-list mailing list
Ecls-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ecls-list


[Ecls-list] ?????? Packaging executable

2015-06-24 Thread Rujia Liu
Yes, I confirmed you are right, but I dont know why I am using it instead of 
the native compiler. 


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.


Could any one tell me why I am using bytecmp and how can I use native cmp by 
default? Thanks!


Rujia

iPhone

--  --
??: Evrim Ulu evrim...@gmail.com
: 2015??06??24?? 19:13
??: Rujia Liu 2575...@qq.com
: ecls-list ecls-list@lists.sourceforge.net
: Re: [Ecls-list] Packaging executable



https://gitlab.com/embeddable-common-lisp/ecl/blob/develop/contrib/bytecmp/bytecmp.lsp#L61


Is this the case? Are you trying to use the byte-compiler?

Sorry Rujia, I'm pretty busy right atm, I'm trying to finish my dissertation.

I wish I could help you.



evrim.





2015-06-24 13:46 GMT+03:00 Rujia Liu 2575...@qq.com:
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.


The problem is that make-build calls compile-file-pathname internally and the 
error is not directly from make-build


When I manually try something like (compile-file-pathname a :type :program) 
it complains that LIB is not supported.


Could you also give me some hints about other points (missing c::build-program, 
cannot compile usocket and most bundled examples etc)? Thanks!

iPhone

--  --
??: Evrim Ulu evrim...@gmail.com
: 2015??06??24?? 18:36
??: Rujia Liu 2575...@qq.com
: ecls-list ecls-list@lists.sourceforge.net
: Re: [Ecls-list] Packaging executable



Hello,



I'm confused. Please explain the following.

2015-06-24 13:12 GMT+03:00 Rujia Liu 2575...@qq.com:


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



:program should give you executable. :shared-lib or static-lib should be enough 
if you are calling lisp from other programs. 


evrim.--
Monitor 25 network devices or servers for free with OpManager!
OpManager is web-based network management software that monitors 
network devices and physical  virtual servers, alerts via email  sms 
for fault. Monitor 25 devices for free with no restriction. Download now
http://ad.doubleclick.net/ddm/clk/292181274;119417398;o___
Ecls-list mailing list
Ecls-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ecls-list


[Ecls-list] ?????? ?????? Packaging executable

2015-06-24 Thread Rujia Liu
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?

iPhone

--  --
??: Daniel Kochma??ski jackdan...@hellsgate.pl
: 2015??06??24?? 22:08
??: Rujia Liu 2575...@qq.com
: Evrim Ulu evrim...@gmail.com, ecls-list 
ecls-list@lists.sourceforge.net
: Re: [Ecls-list] ?? Packaging executable



Hey,

bytecmp is default on windows - in changelog in sources you may read
under known issues:

   In Windows ECL comes with bytecodes compiler by default, because C
   compilers are normally not avaiable. Unfortunately several libraries
   out there are not prepared for this.  If you plan to use quicklisp
   and have a C compiler accessible to ECL, you may use
   (ext:install-c-compiler) to switch back to the Lisp-to-C compiler.

but it requires c compiler to be present on system, what may be a
problem if you deploy application to client.

BR,
Daniel

Rujia Liu writes:

 Yes, I confirmed you are right, but I dont know why I am using it instead of 
 the native compiler. 


 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.


 Could any one tell me why I am using bytecmp and how can I use native cmp by 
 default? Thanks!


 Rujia

 iPhone

 --  --
 ??: Evrim Ulu evrim...@gmail.com
 : 2015??06??24?? 19:13
 ??: Rujia Liu 2575...@qq.com
 : ecls-list ecls-list@lists.sourceforge.net
 : Re: [Ecls-list] Packaging executable



 https://gitlab.com/embeddable-common-lisp/ecl/blob/develop/contrib/bytecmp/bytecmp.lsp#L61


 Is this the case? Are you trying to use the byte-compiler?

 Sorry Rujia, I'm pretty busy right atm, I'm trying to finish my dissertation.

 I wish I could help you.



 evrim.





 2015-06-24 13:46 GMT+03:00 Rujia Liu 2575...@qq.com:
 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.


 The problem is that make-build calls compile-file-pathname internally and the 
 error is not directly from make-build


 When I manually try something like (compile-file-pathname a :type :program) 
 it complains that LIB is not supported.


 Could you also give me some hints about other points (missing 
 c::build-program, cannot compile usocket and most bundled examples etc)? 
 Thanks!

 iPhone

 --  --
 ??: Evrim Ulu evrim...@gmail.com
 : 2015??06??24?? 18:36
 ??: Rujia Liu 2575...@qq.com
 : ecls-list ecls-list@lists.sourceforge.net
 : Re: [Ecls-list] Packaging executable



 Hello,



 I'm confused. Please explain the following.

 2015-06-24 13:12 GMT+03:00 Rujia Liu 2575...@qq.com:


 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



 :program should give you executable. :shared-lib or static-lib should be 
 enough if you are calling lisp from other programs. 


 evrim.--
 Monitor 25 network devices or servers for free with OpManager!
 OpManager is web-based network management software that monitors 
 network devices and physical  virtual servers, alerts via email  sms 
 for fault. Monitor 25 devices for free with no restriction. Download now
 http://ad.doubleclick.net/ddm/clk/292181274;119417398;o___
 Ecls-list mailing list
 Ecls-list@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/ecls-list

-- 
Daniel Kochma??ski | Pozna??, Poland
;; aka jackdaniel

Be the change that you wish to see in the world. - Mahatma Gandhi--
Monitor 25 network devices or servers for free with OpManager!
OpManager is web-based network management software that monitors 
network devices and physical  virtual servers, alerts via email  sms 
for fault. Monitor 25 devices for free with no restriction. Download now
http://ad.doubleclick.net/ddm/clk/292181274;119417398;o___
Ecls-list mailing list
Ecls-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ecls-list


[Ecls-list] Packaging executable

2015-06-23 Thread Rujia Liu
Dear all,

I want to migrate a win32 application previously built win ccl, to ecl. With 
ccl I used CCL:SAVE-APPLICATION to save a big exe file (after loading neccesary 
libraries), which works perfectly. However, with ecl, I only know how to write 
a simple exe which loads  run a bunch of on-disk fas files. Is there a way to 
package everything (mainly fas files. we can have separate dll files) in to the 
exe, because the program directory will look cleaner.

Thanks in advance.

- Rujia--
Monitor 25 network devices or servers for free with OpManager!
OpManager is web-based network management software that monitors 
network devices and physical  virtual servers, alerts via email  sms 
for fault. Monitor 25 devices for free with no restriction. Download now
http://ad.doubleclick.net/ddm/clk/292181274;119417398;o___
Ecls-list mailing list
Ecls-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ecls-list