|
From: Fernando W. - I. S. I. Ltda. <fer...@in...> - 2005-10-11 13:05:28
|
Hi Jürgen
Congratulations for your success!!! I found a little bugs during the
TC compilation in Windows... One of this errors is on the htcobrun/Makefile,
that refer to the getopt library, but that is not more necessary for TC... I
only remove the reference and all works fine (tanks to David Essex for this
help).
The msysMDK package is necessary because it provide any compiler
tools, used during the TC config and compilation.
I´m now doing many tests in TC on Windows XP... I will compile all
programs used in my system (over 900 sources)... I believe that is enough
for test TC... hehehe... After all be OK, I will create a little
documentation about the TC compilation in Windows, and probably I will use
the TC wiki... That is a good idea... Thanks... hehehe... Or if you like
write these documentation, your contribution is welcome!!!
If you need more anything, contact me...
Fernando Wuthstrack
InfoCont Sistemas Integrados Ltda.
Diretor
Fone: (47) 422-3536
----- Original Message -----
From: "Jürgen Weber" <ju...@ya...>
To: <tin...@li...>
Sent: Monday, October 10, 2005 7:12 PM
Subject: [Tiny-cobol-users] tinycobol-0.63 on windows - got it working
> Hi,
>
> OK, I finally got tinycobol-0.63 to work on
> windows/Mingw, thanks to Fernando Wuthstrack.
>
> The road to success:
>
> ran MinGW-4.1.0.exe
>
> [x] The minimal set of packages to build C/C++
> [x] the full set of compiler packages
> [x] The full set of utility packages
>
> ran msysDTK-1.0.1.exe (probably unnecessary, as this
> is allready installed by the previous step, is it?)
>
> (I find the MingW install page highly confusing with
> its many, many different packages).
>
>
> Downloaded pdcurses-2.6.0-2003.07.21-1.exe
>
> installed to E:\MinGW, so it got to E:\MinGW\lib
>
>
> Unzipped db-1.85-ac.mingw32.zip
> db.h to e:\mingw\include
> libdb.a to e:\mingw\lib
>
> Tried make:
>
> E:\tinycobol-0.63\test.code\t00>make
> gcc -g -o teste teste.o -L/usr/local/lib -L/usr/lib
> -L../../lib -lhtcobol -lncurses -ldb -ldl -lm
> gcc.exe: no input files
> make: *** [teste] Error 1
>
> By chance tried mingw32-make.exe and the error went
> away. (Why ????)
>
> in E:\MinGW\lib
> copied libpdcurses.a to libncurses.a
>
> Next had to remove the -ldl from the makefile and add
> -L/TinyCOBOL and finally I had my first Cobol exe.
>
> Maybe somebody could put this report on the TC Wiki.
>
>
> The TinyCOBOL should include some typical samples, so
> the user can quickly have success in compiling and
> running the samples. Maybe even a somewhat bigger
> program?
> I discovered only by chance that there are test
> sources in the TC source package.
>
> Thanks,
> Jürgen
>
>
> PS: The compiler breaks in test15
>
> E:\tinycobol-0.63\test.code\t15>mingw32-make.exe
> htcobol -c -P -I../copybooks -I. test15.cob
> htcobol -c -P -I../copybooks -I. test15a.cob
> gcc -g -I/usr/local/include -o test15b.o -c test15b.c
> gcc -g -o test15 test15.o test15a.o test15b.o
> -L/usr/lib -L/TinyCOBOL -L../../
> lib -lhtcobol -ldb -lm
> gcc -g -I/usr/local/include -o test15d.o -c test15d.c
> gcc -g -o test15d test15d.o test15a.o -L/usr/lib
> -L/TinyCOBOL -L../../lib -lht
> cobol -ldb -lm
> htcobol -c -P -I../copybooks -I. test15e.cob
> gcc -g -I/usr/local/include -o test15f.o -c test15f.c
> gcc -g -o test15e test15e.o test15f.o -L/usr/lib
> -L/TinyCOBOL -L../../lib -lhtc
> obol -ldb -lm
> htcobol -c -P -I../copybooks -I. test15g.cob
> mingw32-make.exe: *** [test15g.o] Error -1073741819
>
>
>
>
>
>
>
>
> __________________________________
> Yahoo! Mail - PC Magazine Editors' Choice 2005
> http://mail.yahoo.com
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by:
> Power Architecture Resource Center: Free content, downloads, discussions,
> and more. http://solutions.newsforge.com/ibmarch.tmpl
> _______________________________________________
> Tin...@li...
> https://lists.sourceforge.net/lists/listinfo/tiny-cobol-users
|