PDA

Click to See Complete Forum and Search --> : DOS Programs with Borland Free Compiler


sail3005
Jan 23rd, 2001, 06:24 PM
Can you make DOS programs with the borland free compiler, i saw on denniswrenn's website that you could, from his shell program. I was wondering what file in the bin directory of the free compiler that use do do this compiling.

Flamer
Jan 23rd, 2001, 06:50 PM
it gets a little twisted.. but if you go to this website..
there is some supplimental info about the compiler..
which explains better on how to setup and use the compiler.

http://community.borland.com/article/0,1410,21205,00.html

glad i could be of some assistance for once.

sail3005
Jan 23rd, 2001, 08:24 PM
Thanks for taking the time to help, but i didn't see anything on that page that explained about how to compile dos or 16 bit programs. Would you be able to elaborate a little more?

Thanks a lot

Flamer
Jan 23rd, 2001, 08:38 PM
Maybe I am misunderstanding your question..but.

basically i put this line in the autoexec.bat file

"PATH=C:\BORLAND\BCC55\BIN;%PATH%"

might have to reboot for it to work.
but then in dos go to the folder in which the .cpp program lies

ex:

c:\programs

and type in "bcc32 test.cpp"

it will compile the program. and in the same folder there should be an executable with the same name..
test.exe

I think that answers your question.. or maybe i'm wrong.

sail3005
Jan 23rd, 2001, 09:16 PM
I will try that, i was just confused, becuase the program is bcc32, so i thought it would compile for 32 bit, rather than 16 bit, which would be dos, i think.