Subj : Re: Compiling C code with Borland C++ To : borland.public.cpp.borlandcpp From : Danzer Date : Wed Jan 19 2005 04:01 pm Keith Woodard wrote: > Good Day, > > Thanks for your comprehensive answer. Here is my problem. I need to > compile a DLL using C code. Below is one example taken from a whitepaper > that I am using. Under Borland 5.5, what switches and syntax would you use > to compile and link my C file? I have three .s files that reference the > functions in startstunnel.c. > > Compile: cl /c startstunnel.c > Link: link startstunnel.obj /dll /export:startstunnel /export:killprocess > I believe you are in the wrong place. "cl" is the command line to start the Microsoft series of C/C++ compilers. See http://tinyurl.com/3kybm. .