From: Hudson R. <hud...@so...> - 2002-10-08 12:46:11
|
Hi Vinicio. Sorry to don't answered yet. > Should I use always the Makefile and make in order to compile my > programs? No. > Especially when I'm trying to use TCGUI and I trying to find > and expedite way to do this and expend most of my time in testing and > developing in Tinycobol. Well, I think that you doesn't search about this topic. I think that you should read the our documentation written by Jonhathan Riddell called "Introduction to Cobol and TinyCobol". It's very good and I learn makefiles from it. > In other words guys, Is there any way to do this process transparent for > the Cobol programmer and make this project more popular and competitive?? Yes. Look it: To compile a program. htcobol <program.cob> (To generate a binary executable). To compile a program that use a C call's. htcobol -c <program.cob> (To generate a binary object) gcc -o routine.o -c routine.c gcc -o program program.o routine.o -lhtcobol -<additional routines> In case of tcl/tk, you should use this: htcobol -c program.cob (To generate a binary object) gcc -o tcgui-run.o -c tcgui-run.c gcc -o program program.o tcgui-run.o -lhtcobol -L/usr/X11/lib/ -ltcl8.3 -ltk8.3 -lX11 > Am i right or wrong about this? I'm think that you are wrong. To more information: 1. Read the Introduction to Cobol and TinyCobol written by Jonhathan Riddell. 2. See the our wiki, in http://wiki.tinycobol.org. Some informations are written in English, others in portuguese. 3. Read the manfiles created by Ferran Pegueroles and David Essex: man htcobol man htcobolpp man htcobf2f Hope this helps. Hudson |