PDA

View Full Version : Recompiling on Windows with BCC -- help



jamadagni
29th January 2006, 03:52
I have a Linux ANSI C package -- an app which #include-s to a lot of header files and c files as dependencies -- I have a makefile which allows me to just type make pan and it will compile everything I need using GCC and link and then give me the executable which I want.

This works beautifully on Linux.

I need to recompile now on Windows. I did successfully complete that too using Cygwin make but with that port I need to include the cygwin1.dll whose size is relatively big for download for people with slow connections here in India.

So I would like to compile on Windows without cygwin dll dependency.

I have the Borland C++ Build 5.5 Free Command Line Tools, but since it does not handle make I do not know what procedure I should use to compile my program. If I simply say compile this program, will it automatically compile the c files that the program accesses via the header files?

Please help me -- I have attached the makefile as a txt (I'm surprised Qtcenter.org declared the plain makefile without extension as an invalid file).

jacek
29th January 2006, 04:04
Maybe you should try MinGW (http://www.mingw.org/)? It also requires a DLL, but a small one.

jacek
29th January 2006, 04:07
I'm surprised Qtcenter.org declared the plain makefile without extension as an invalid file.
It's impossible with the current version of vBulletin.

jamadagni
30th January 2006, 16:47
Maybe you should try MinGW (http://www.mingw.org/)? It also requires a DLL, but a small one.
MinGW does not require a DLL, but its output was much smaller than the Cygwin output. (65% reduction in zip-compressed size.) Thanks for the tip, Jacek!