Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > C Programming > [OT]Borland C++ 3.1 DOS command line compiler usage

Reply
Thread Tools

[OT]Borland C++ 3.1 DOS command line compiler usage

 
 
Shuo Xiang
Guest
Posts: n/a
 
      12-10-2003
Greetings:

I'm sorry this is off topic, but since all the old borland compiler
groups are dead now I can only post here:

I need to make a batch file to compile a single .c source files into a
binary executable using Borland C++ 3.1 for DOS. I'm just wondering
what command to put in the batch file? Is it like:

bcc hello.c

and if I want to use the "large" memory model, is it like:

bcc -lm hello.c

Thank you for your attention.

Shuo Xiang
 
Reply With Quote
 
 
 
 
Morris Dovey
Guest
Posts: n/a
 
      12-11-2003
Shuo Xiang wrote:

> I'm sorry this is off topic, but since all the old borland compiler
> groups are dead now I can only post here:
>
> I need to make a batch file to compile a single .c source files into a
> binary executable using Borland C++ 3.1 for DOS. I'm just wondering
> what command to put in the batch file? Is it like:
>
> bcc hello.c
>
> and if I want to use the "large" memory model, is it like:
>
> bcc -lm hello.c


You should be able to get the compiler to answer this question.
At version 3.00, if you invoked the compiler without any
parameters, it would list all of the options. For example, see
http://www.iedu.com/mrd/c/Borland.txt
--
Morris Dovey
West Des Moines, Iowa USA
C links at http://www.iedu.com/c
Read my lips: The apple doesn't fall far from the tree.

 
Reply With Quote
 
 
 
 
Jack Klein
Guest
Posts: n/a
 
      12-11-2003
On 10 Dec 2003 13:58:05 -0800, http://www.velocityreviews.com/forums/(E-Mail Removed) (Shuo
Xiang) wrote in comp.lang.c:

> Greetings:
>
> I'm sorry this is off topic, but since all the old borland compiler
> groups are dead now I can only post here:


The fact that you cannot find a correct place to ask your question
does not make it proper to ask it where it is off-topic.

Besides, Borland maintains a large, active family of newsgroups that
supports their compilers all the way back to Turbo C 1.0.

The server is nntp://newsgroups.borland.com, and they only accepts
posts directly to their server.

There is also web interface to these groups through Borland's web site
http://www.borland.com.

--
Jack Klein
Home: http://JK-Technology.Com
FAQs for
comp.lang.c http://www.eskimo.com/~scs/C-faq/top.html
comp.lang.c++ http://www.parashift.com/c++-faq-lite/
alt.comp.lang.learn.c-c++ ftp://snurse-l.org/pub/acllc-c++/faq
 
Reply With Quote
 
Xenos
Guest
Posts: n/a
 
      12-11-2003

"Shuo Xiang" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed) om...
> Greetings:
>
> I'm sorry this is off topic, but since all the old borland compiler
> groups are dead now I can only post here:
>
> I need to make a batch file to compile a single .c source files into a
> binary executable using Borland C++ 3.1 for DOS. I'm just wondering
> what command to put in the batch file? Is it like:
>
> bcc hello.c
>
> and if I want to use the "large" memory model, is it like:
>
> bcc -lm hello.c
>
> Thank you for your attention.
>
> Shuo Xiang


Put the command line (or lines) in the file exactly as if you were typing it
at the command promt.



 
Reply With Quote
 
Mark McIntyre
Guest
Posts: n/a
 
      12-13-2003
On 10 Dec 2003 13:58:05 -0800, in comp.lang.c ,
(E-Mail Removed) (Shuo Xiang) wrote:

>Greetings:
>
>I'm sorry this is off topic, but since all the old borland compiler
>groups are dead now I can only post here:


There's actually a zillion borland groups, you really should try one
of those. Or google. I found several interesting hits that way.

>and if I want to use the "large" memory model, is it like:


unfortunately thre's no such thing as "large" memory model in C, so

>bcc -lm hello.c


This may or may not do it. Really, this is the wrong place to ask. For
all we know, this causes bcc to link the maths library.

--
Mark McIntyre
CLC FAQ <http://www.eskimo.com/~scs/C-faq/top.html>
CLC readme: <http://www.angelfire.com/ms3/bchambless0/welcome_to_clc.html>


----== Posted via Newsfeed.Com - Unlimited-Uncensored-Secure Usenet News==----
http://www.newsfeed.com The #1 Newsgroup Service in the World! >100,000 Newsgroups
---= 19 East/West-Coast Specialized Servers - Total Privacy via Encryption =---
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Can I use winzip command in DOS command msmmgr Computer Support 8 10-05-2007 09:32 PM
I need a CFRONT C++ Compiler for MS-DOS/Windows to replace an Apollo Domain 2.1.0 compiler Wormald C++ 1 02-06-2006 12:53 AM
Outsmarting DOS C compiler to print to USB printer -- use DOS interrupt? tomhr C Programming 27 01-12-2006 04:09 PM
dos graphics with borland command line compiler 5.5 ? daytripper C++ 1 09-14-2003 09:10 PM
dos graphics with borland command line compiler 5.5 ? daytripper C++ 2 09-14-2003 08:35 PM



Advertisments