10 messages in com.mysql.lists.win32Re: Re: "Unresolved external call"| From | Sent On | Attachments |
|---|---|---|
| Patrick Agergaard | 25 Mar 2001 11:51 | |
| Patrick Agergaard | 25 Mar 2001 12:01 | |
| Sinisa Milivojevic | 26 Mar 2001 03:01 | |
| Fredrick Bartlett | 26 Mar 2001 19:01 | |
| Y.Shivakanth | 26 Mar 2001 21:27 | |
| Patrick Agergaard | 27 Mar 2001 12:38 | |
| Clay Daniels | 27 Mar 2001 23:53 | |
| Clay Daniels | 28 Mar 2001 00:04 | |
| Yeoh HS | 28 Mar 2001 00:47 | |
| karn...@eth.net | 28 Mar 2001 01:09 |
| Subject: | Re: Re: "Unresolved external call"![]() |
|---|---|
| From: | Clay Daniels (cla...@airmail.net) |
| Date: | 03/27/2001 11:53:32 PM |
| List: | com.mysql.lists.win32 |
Patrick, check out:
http://community.borland.com/article/0,1410,20997,0.html
and try to find the next article in the series that describes make/makefiles
I also tried to find a nice article at redhat that had a good basic intro to make/makefiles but it seems too have disappeared. The basic idea is that rather than issuing each separate command to the compiler whether it is bcc or gcc, you write a text file that scripts the calls. For small projects it is not really necessary, but if you have two or more source code files it starts to come in handy. I'm not really familiar with the Bourland bcc for windows, but it must function in a similar fashion to the gcc compiler on linux. I notice Bourland includes a make.exe file in their distribution, so just evoke it by typing 'make' while you are in the same directory as the makefile you create if you decide it is necessary. In essence, a makefile functions like the project or *.cpp files of something like the Microsoft C++ Intergrated Development Environment/compiler.
The best simple example I can give is to look at the stuff at NIST ftp by Judah Levine, and in particular the unix Nistime files:
ftp://time-b.nist.gov/pub/daytime/
"1. If you have a workstation with "standard" UNIX that supports tcp/ip communication over the internet, then you can build a version for your machine using files sw.c, tcp_time_client.c and Makefile. "
I couldn't get Judah's makefile to play for me on RedHat 6.2, so I rewrote it as per the attached file, which you should open in Notepad and examine.
best of luck, and thanks for turning me on to Bourland's free bcc compiler. I have used MS C++ on windows, but most of my compiling these days is on Linux using GNU gcc.
Also, do a web search for 'makefiles'
clay
----
Hi
Maybe I forgot to mention and if so I do apologize - but I'm using the free Borland command line compiler 5.5.
Also, one of my teachers told me today that I have to compile my program using a make file - where can I find information on that (which he couldn't provide)?
Thank you everybody for trying so hard ...
-- Patrick Agergaard pta6...@yahoo.com
--------------------- Original Message Ends --------------------
-- Patrick Agergaard pta6...@yahoo.com
_________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com
--------------------------------------------------------------------- Please check "http://www.mysql.com/Manual_chapter/manual_toc.html" before posting. To request this thread, e-mail myod...@lists.mysql.com
To unsubscribe, send a message to the address shown in the List-Unsubscribe header of this message. If you cannot see it, e-mail myod...@lists.mysql.com instead.




