Re: [Ecls-list] Mingw users here?

2013-08-08 Thread Matic Kukovec

UPDATE:
Deleted and reinstalled MinGW32, ran ".configure" and "make" in the 
MinGW Shell again and went a lot further, but still got an error in libffi:


libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I/home/Matic/ecl/src/libffi 
-I. -I/home/Matic/ecl/src/libffi/include -Iinclude 
-I/home/Matic/ecl/src/libffi/src -Wall -g -fexceptions -O2 -g -O2 -g -O2 
-D_THREAD_SAFE -MT src/closures.lo -MD -MP -MF src/.deps/closures.Tpo -c 
/home/Matic/ecl/src/libffi/src/closures.c -o src/closures.o
In file included from 
C:/MinGW/msys/1.0/home/Matic/ecl/src/libffi/src/closures.c

:107:0:
c:\mingw\bin\../lib/gcc/mingw32/4.7.2/../../../../include/string.h:38:40: error:
 expected declaration specifiers or '...' before '(' token
c:\mingw\bin\../lib/gcc/mingw32/4.7.2/../../../../include/string.h:38:40: error:
 expected declaration specifiers or '...' before '(' token
c:\mingw\bin\../lib/gcc/mingw32/4.7.2/../../../../include/string.h:38:40: error:
 expected declaration specifiers or '...' before '(' token
In file included from 
C:/MinGW/msys/1.0/home/Matic/ecl/src/libffi/src/closures.c

:205:0:
C:/MinGW/msys/1.0/home/Matic/ecl/src/libffi/src/dlmalloc.c: In function 
'interna

l_realloc':
C:/MinGW/msys/1.0/home/Matic/ecl/src/libffi/src/dlmalloc.c:3891:9: 
warning: impl

icit declaration of function 'bcopy' [-Wimplicit-function-declaration]
C:/MinGW/msys/1.0/home/Matic/ecl/src/libffi/src/dlmalloc.c:3891:9: 
warning: inco
mpatible implicit declaration of built-in function 'bcopy' [enabled by 
default]

make[3]: *** [src/closures.lo] Error 1
make[3]: Leaving directory `/home/Matic/ecl/build/libffi'
make[2]: *** [install-recursive] Error 1
make[2]: Leaving directory `/home/Matic/ecl/build/libffi'
make[1]: *** [libeclffi.a] Error 2
make[1]: Leaving directory `/home/Matic/ecl/build'
make: *** [all] Error 2

Matic



On 8.8.2013 20:34, Matic Kukovec wrote:

Hi Juanjo,

I have a Windows Vista 64-bit, tried compiling a fresh git clone of 
ECL in the MinGW32 shell.

"./configure" works, but "make" gives me an error:
make[1]: *** No rule to make target 
'/home/Matic/ecl/src/util/gdbinit', needed by '.gdbinit'.  Stop.
make[1]: Leaving directory 
'C:/MinGW/msys/1.0/home/Matic/ecl/build'

Makefile:70: recipe for target 'all' failed
make: *** [all] Error 2

Also tried Cygwin.
"./configure" worked, "make" failed with:
gcc -c -DHAVE_CONFIG_H -I. -I/home/Matic/ecl/src/gmp/mpn -I.. 
-D__GMP_WITHIN_GM  P -I/home/Matic/ecl/src/gmp 
-DOPERATION_dive_1 -g -O2 tmp-dive_1.s -DPIC -o  dive _1.o
/usr/lib/gcc/i686-pc-cygwin/4.5.3/../../../../i686-pc-cygwin/bin/as: 
BFD (GNU Binutils) 2.23.52.20130309 assertion fail 
/netrel/src/binutils-2.23.51-1/bfd/coff-i386.c:568

tmp-dive_1.s: Assembler messages:
tmp-dive_1.s:110: Error: cannot represent relocation type 
BFD_RELOC_386_GOTPC

Makefile:819: recipe for target `dive_1.lo' failed
make[4]: *** [dive_1.lo] Error 1
make[4]: Leaving directory `/home/Matic/ecl/build/gmp/mpn'
Makefile:914: recipe for target `install-recursive' failed
make[3]: *** [install-recursive] Error 1
make[3]: Leaving directory `/home/Matic/ecl/build/gmp'
Makefile:1180: recipe for target `install' failed
make[2]: *** [install] Error 2
make[2]: Leaving directory `/home/Matic/ecl/build/gmp'
Makefile:132: recipe for target `libeclgmp.a' failed
make[1]: *** [libeclgmp.a] Error 2
make[1]: Leaving directory `/home/Matic/ecl/build'
Makefile:70: recipe for target `all' failed
make: *** [all] Error 2


If you want me to try anything else, i'll be glad to help!
I would also like to know, what is needed to build ECL on Windows with 
GNU tools.


Matic



On 7.8.2013 18:22, juanjose.garciarip...@gmail.com wrote:
Yes, what I have now is Windows 8 64bit, but I installed the 32 bit 
version of Mingw, because that worked fine in my older images of 
Windows Server 2008 :-/ That is no longer the case: gmp, boehm-gc and 
other components from ECL no longer build with mingw32, at least on 
my computer. I wonder whether I have something misconfigured.

*De:* Gabriel Dos Reis
*Enviado el:* ?miércoles?, ?7? de ?agosto? de ?2013 ?14?:?34
*Para:* Juan Jose Garcia-Ripoll
*CC:* list-ecl
On Wed, Aug 7, 2013 at 1:42 AM, Juan Jose Garcia-Ripoll
 wrote:
> I am _very_ slowly transitioning all my data and processes to the new
> Windows computer. Due to the changes in the Windows interface it is 
much

> slower tan I anticipated and found a few surprises.
>
> One surprise is that GMP does not seem to build at all with the 
versión of

> mingw32 I installed. Is there anybody else here with the same problem?

Are you referring to Win

Re: [Ecls-list] Mingw users here?

2013-08-08 Thread Matic Kukovec

Hi Juanjo,

I have a Windows Vista 64-bit, tried compiling a fresh git clone of ECL 
in the MinGW32 shell.

"./configure" works, but "make" gives me an error:
make[1]: *** No rule to make target 
'/home/Matic/ecl/src/util/gdbinit', needed by '.gdbinit'.  Stop.

make[1]: Leaving directory 'C:/MinGW/msys/1.0/home/Matic/ecl/build'
Makefile:70: recipe for target 'all' failed
make: *** [all] Error 2

Also tried Cygwin.
"./configure" worked, "make" failed with:
gcc -c -DHAVE_CONFIG_H -I. -I/home/Matic/ecl/src/gmp/mpn -I.. 
-D__GMP_WITHIN_GM  P -I/home/Matic/ecl/src/gmp 
-DOPERATION_dive_1 -g -O2 tmp-dive_1.s -DPIC -o  dive _1.o
/usr/lib/gcc/i686-pc-cygwin/4.5.3/../../../../i686-pc-cygwin/bin/as: BFD 
(GNU Binutils) 2.23.52.20130309 assertion fail 
/netrel/src/binutils-2.23.51-1/bfd/coff-i386.c:568

tmp-dive_1.s: Assembler messages:
tmp-dive_1.s:110: Error: cannot represent relocation type 
BFD_RELOC_386_GOTPC

Makefile:819: recipe for target `dive_1.lo' failed
make[4]: *** [dive_1.lo] Error 1
make[4]: Leaving directory `/home/Matic/ecl/build/gmp/mpn'
Makefile:914: recipe for target `install-recursive' failed
make[3]: *** [install-recursive] Error 1
make[3]: Leaving directory `/home/Matic/ecl/build/gmp'
Makefile:1180: recipe for target `install' failed
make[2]: *** [install] Error 2
make[2]: Leaving directory `/home/Matic/ecl/build/gmp'
Makefile:132: recipe for target `libeclgmp.a' failed
make[1]: *** [libeclgmp.a] Error 2
make[1]: Leaving directory `/home/Matic/ecl/build'
Makefile:70: recipe for target `all' failed
make: *** [all] Error 2


If you want me to try anything else, i'll be glad to help!
I would also like to know, what is needed to build ECL on Windows with 
GNU tools.


Matic



On 7.8.2013 18:22, juanjose.garciarip...@gmail.com wrote:
Yes, what I have now is Windows 8 64bit, but I installed the 32 bit 
version of Mingw, because that worked fine in my older images of 
Windows Server 2008 :-/ That is no longer the case: gmp, boehm-gc and 
other components from ECL no longer build with mingw32, at least on my 
computer. I wonder whether I have something misconfigured.

*De:* Gabriel Dos Reis
*Enviado el:* ?miércoles?, ?7? de ?agosto? de ?2013 ?14?:?34
*Para:* Juan Jose Garcia-Ripoll
*CC:* list-ecl
On Wed, Aug 7, 2013 at 1:42 AM, Juan Jose Garcia-Ripoll
 wrote:
> I am _very_ slowly transitioning all my data and processes to the new
> Windows computer. Due to the changes in the Windows interface it is much
> slower tan I anticipated and found a few surprises.
>
> One surprise is that GMP does not seem to build at all with the 
versión of

> mingw32 I installed. Is there anybody else here with the same problem?

Are you referring to Windows 8?

-- Gaby


--
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead.
Download for free and get started troubleshooting in minutes.
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk


___
Ecls-list mailing list
Ecls-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ecls-list


--
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk___
Ecls-list mailing list
Ecls-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ecls-list


Re: [Ecls-list] ECL on windows 64?

2013-07-22 Thread Matic Kukovec

Hi,

I finally got the compilation to work. I'm not sure what was wrong the 
first time I tried it.


If anyone wants to try compiling on Windows 7 64-bit, here is the 
procedure I used:

- clone the git repository of ECL into any directory
- run the "Visual Studio x64 Win64 Command Prompt (2010)" (you need 
"Visual Studio 2010" with MSVC++ x64 compiler installed)
- move to the directory where you cloned ECL and into the "msvc" 
sebdirectory
- edit the "Makefile" in line 21 and change it from "#ECL_WIN64 = " 
to "ECL_WIN64 = 1", then save the Makefile
- run "nmake" from the same directory and wait for the compilation 
to finish
- run "nmake install", this will install ECL to the "msvc\package" 
subdirectory
- run "ECL" form "msvc\package" and install the compiler by 
entering "(ext:install-c-compiler)" into the REPL
- compile your lisp file(E.G.: hello.lisp) to an .obj file by 
entering "(compile-file "path_to_file/hello.lisp" :system-p t)" into the 
REPL
- build your program by entering "(c:build-program 
"your_program_name" :lisp-files '("path_to_file/hello.obj"))" into the REPL
- you will need ecl.dll and any other dependencies in the directory 
where you run your compiled program or in the "PATH"


I know that the procedure is explained in the ECL manual, but I was so 
happy that I got it to work that I had to share it with you guys.


Cheers,
Matic



On 22.7.2013 0:32, Matic Kukovec wrote:

Thanks for the information.

About point 1.:
Did you build ECL yourself?
yes

Which compiler did you use?
MSVC 2010 x64, I ran "nmake" from the "Visual Studio x64 Win64 
Command Prompt (2010)"


Which flags did you use for building ECL? Did you use "nmake ECL_WIN64=1"?
Uncommented the "ECL_WIN64=1" flag in the MakeFile, then ran 
"nmake"


How did you install ECL?
Did not install it, just ran the ecl2.exe after the 
compilation finished.
Also tried running "nmake install" then running the ecl.exe 
from the package directory, still got the same error.


Is the same compiler used for building ECL and for compiling this code?
I do not know how to select the compiler, I only ran 
"(ext:install-c-compiler)" in the REPL and it automatically installed 
the compiler
and printed the message:  ;;; Loading 
#P"C:/Users/Matic/Desktop/LISP/ECL_64/ecl/msvc/package/cmp.fas"
If I do not run the "(ext:install-c-compiler)", then it only 
compiles to a .fas file.

How do you select the appropriate c compiler?

P.S.: I used the exact same procedure on a 32-bit Windows XP with the 
MSVC 2010 x86 compiler and it worked like a charm.


Any advice would be greatly appreciated.

Matic


On 21.7.2013 22:17, Juan Jose Garcia-Ripoll wrote:
I am forwarding your email to the mailing list. I do not answer 
private emails nor solve individual problems. If you have some doubt 
about ECL, the mailing list is the place for asking.


On Sun, Jul 21, 2013 at 12:14 PM, Matic Kukovec 
mailto:matic.kuko...@pametnidom.si>> wrote:


1. How do i compile a program on a Windows 7 64-bit system to
native code?
I tried this procedure: - installed the c compiler with
"(ext:install-c-compiler)", i am using the MSVC++ 2010 compiler
   - created hello.lisp
file same as in the "1.6 Compiler examples" of the manual
   - ran (compile-file
"hello.lisp" :system-p t)
I get this message:
> (compile-file
"C:/Users/Matic/Desktop/LISP/ECL_Testiranje/hello.lisp")
;;;
;;; Compiling
C:/Users/Matic/Desktop/LISP/ECL_Testiranje/hello.lisp.;;;
OPTIMIZE levels: Safety=2, Space=0, Speed=3, Debug=0
;;;
;;; End of Pass 1.hello.c
.\ecl/object.h(826) : error
C2632: 'long' followed by 'long' is illegal
.\ecl/object.h(827) : error
C2632: 'long' followed by 'long' is illegal


There is not enough information here:

- Did you build ECL yourself?
- Which compiler did you use?
- Which flags did you use for building ECL? Did you use "nmake 
ECL_WIN64=1"?

- How did you install ECL?
- Is the same compiler used for building ECL and for compiling this code?


2. How do you run a LTk application properly?


This is not the right place to ask this question.

Juanjo

--
Instituto de Física Fun

Re: [Ecls-list] ECL on windows 64?

2013-07-21 Thread Matic Kukovec

Thanks for the information.

About point 1.:
Did you build ECL yourself?
yes

Which compiler did you use?
MSVC 2010 x64, I ran "nmake" from the "Visual Studio x64 Win64 
Command Prompt (2010)"


Which flags did you use for building ECL? Did you use "nmake ECL_WIN64=1"?
Uncommented the "ECL_WIN64=1" flag in the MakeFile, then ran 
"nmake"


How did you install ECL?
Did not install it, just ran the ecl2.exe after the compilation 
finished.
Also tried running "nmake install" then running the ecl.exe 
from the package directory, still got the same error.


Is the same compiler used for building ECL and for compiling this code?
I do not know how to select the compiler, I only ran 
"(ext:install-c-compiler)" in the REPL and it automatically installed 
the compiler
and printed the message:  ;;; Loading 
#P"C:/Users/Matic/Desktop/LISP/ECL_64/ecl/msvc/package/cmp.fas"
If I do not run the "(ext:install-c-compiler)", then it only 
compiles to a .fas file.

How do you select the appropriate c compiler?

P.S.: I used the exact same procedure on a 32-bit Windows XP with the 
MSVC 2010 x86 compiler and it worked like a charm.


Any advice would be greatly appreciated.

Matic


On 21.7.2013 22:17, Juan Jose Garcia-Ripoll wrote:
I am forwarding your email to the mailing list. I do not answer 
private emails nor solve individual problems. If you have some doubt 
about ECL, the mailing list is the place for asking.


On Sun, Jul 21, 2013 at 12:14 PM, Matic Kukovec 
mailto:matic.kuko...@pametnidom.si>> wrote:


1. How do i compile a program on a Windows 7 64-bit system to
native code?
I tried this procedure: - installed the c compiler with
"(ext:install-c-compiler)", i am using the MSVC++ 2010 compiler
   - created hello.lisp
file same as in the "1.6 Compiler examples" of the manual
   - ran (compile-file
"hello.lisp" :system-p t)
I get this message:
> (compile-file
"C:/Users/Matic/Desktop/LISP/ECL_Testiranje/hello.lisp")
;;;
;;; Compiling
C:/Users/Matic/Desktop/LISP/ECL_Testiranje/hello.lisp.;;; OPTIMIZE
levels: Safety=2, Space=0, Speed=3, Debug=0
;;;
;;; End of Pass 1.hello.c
.\ecl/object.h(826) : error
C2632: 'long' followed by 'long' is illegal
.\ecl/object.h(827) : error
C2632: 'long' followed by 'long' is illegal


There is not enough information here:

- Did you build ECL yourself?
- Which compiler did you use?
- Which flags did you use for building ECL? Did you use "nmake 
ECL_WIN64=1"?

- How did you install ECL?
- Is the same compiler used for building ECL and for compiling this code?


2. How do you run a LTk application properly?


This is not the right place to ask this question.

Juanjo

--
Instituto de Física Fundamental, CSIC
c/ Serrano, 113b, Madrid 28006 (Spain)
http://juanjose.garciaripoll.googlepages.com


--
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk___
Ecls-list mailing list
Ecls-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ecls-list