Computer Science Canada

bcc

Author:  BigR1234 [ Wed Nov 05, 2008 8:15 am ]
Post subject:  bcc

hello all,

i have an assignment, running a C program and calling some assembly code. the issue that I am having is that the prof. has told us to use the BCC compiler to compile and link our .c and .asm code. I cannot for the life of me find a copy of BCC. i have found a copy of BCC32 but that will not work as we are running 16-bit code. maybe there is a way to force bcc32 to run 16-bit code, but I cannot figure this out.

Does anyone have any thoughts on this?

thanks

Author:  btiffin [ Thu Nov 06, 2008 11:29 pm ]
Post subject:  RE:bcc

Not enough information. Borland can generate 16bit code. -W is the Easywin switch, 16bit, but that is still Windows executables. Do you need DOS executables? Then there is another set of switches.

So, Borland C compiler? Bruce C Compiler? Basic C Compiler? All three use bcc. There are probably other bcc C compilers or C++ compilers out there in the wild as well.

Are you running, DOS? Windows? Other?

Attempting to generate DOS? 16-bit Windows? Some other chip set?

But just in case; Borland, using Windows to compile can pump out 16bit Windows executables. Use -W (to start, there are a boat load of switches, some weirdo includes and perhaps some library links to figure out).

Cheers

Author:  BigR1234 [ Fri Nov 07, 2008 10:45 am ]
Post subject:  Re: bcc

i used the lab software at carleton and was able to compile there

thanks


: