Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Help Please with BCC32.cfg

131 views
Skip to first unread message

Carolyn Brenneman

unread,
Sep 25, 2000, 3:00:00 AM9/25/00
to
Hello, I recently installed the C++ Builder Compiler for students. I am
taking C. I read the 2 posted pieces on Installation and found them
excellent. But I went to the MS DOS prompt and to c> and edit. In my edit
window I typed

-I"c:\Borland\Bcc55\include"
-L"c:\Borland\Bcc55\lib"
and then Saved as bcc32.cfg

This changed to a dir listing under the MSDOS Borland directory. It didn't
change into a file even though I typed its name in the file name: block in
the edit window. Is that right?

Then I typed the line

-L"c:\Borland\Bcc55\lib"
in the edit window and did Save and named it ilink32.cfg. This saved as a
file. When I check my directory for Borland/Bcc55 it lists this as a cfg
file and the other one as a directory.

What should I do?
Next question: at the directory's prompt in MSDOS, I typed bcc32 and got
bad command name . I thought I would have the switches.

From the suplementary materials, I went to autoexec.bat in my windows 98,
and added the line

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

and hist Alt F and then hit S.

Next: I made a simple program in Notepad and saved it as first.c. Since I
am learning C Programming.

Then I went to the MSDOS and to the Borland directory prompt and typed

bcc32 first.c

I got
bad command

Please help. Thank you very very much.!!!


Steve Peters (Borland)

unread,
Sep 27, 2000, 3:00:00 AM9/27/00
to
Hi there,

Answers are interspersed below...

Carolyn Brenneman wrote:

> But I went to the MS DOS prompt and to c> and edit. In my edit
> window I typed
>
> -I"c:\Borland\Bcc55\include"
> -L"c:\Borland\Bcc55\lib"
> and then Saved as bcc32.cfg
>
> This changed to a dir listing under the MSDOS Borland directory. It didn't
> change into a file even though I typed its name in the file name: block in
> the edit window. Is that right?

This is not right. It should be saved as a file just as the others.
Try typing "edit bcc32.cfg", then enter the lines, then save and exit.

> Then I typed the line
>
> -L"c:\Borland\Bcc55\lib"
> in the edit window and did Save and named it ilink32.cfg. This saved as a
> file. When I check my directory for Borland/Bcc55 it lists this as a cfg
> file and the other one as a directory.

I don't know how you made a directory using edit. I don't think
that's possible. Try it again.

> What should I do?
> Next question: at the directory's prompt in MSDOS, I typed bcc32 and got bad
> command name . I thought I would have the switches.

You need to be in the directory where bcc32.exe exists if you
haven't altered your path. Make sure you know where you installed
it. When you think you are there, check dir to confirm.

> From the suplementary materials, I went to autoexec.bat in my windows 98, and
> added the line
>
> PATH=C:\BORLAND\BCC55\BIN;%PATH%
>
> and hist Alt F and then hit S.

Good.

> Then I went to the MSDOS and to the Borland directory prompt and typed
>
> bcc32 first.c
>
> I got
> bad command

Check your path. Type PATH at the command line. Make sure
you installed BCC 5.5 to your C drive and that directory.

> Please help. Thank you very very much.!!!

--
Kind Regards,

Steve Peters
Borland Developer Support

Please do not send discussion group posts directly
to me as they may be ignored. Responses should be
posted directly to the newsgroups where they may be
shared by all.

Disclaimer:
http://www.borland.com/devsupport/disclaim.html

Casanova

unread,
Sep 28, 2000, 3:00:00 AM9/28/00
to
just make sure you save the cfg files in the bin folder

for example in the C:\BORLAND\BCC55\BIN


Casanova


Camilo Ramos

unread,
Oct 24, 2000, 3:00:00 AM10/24/00
to
Hello all
I just installed the free bcc 5.5.1. I have PATH set to
d:\misc\bcc55\bin and the
.cfg files within that directory. However I'm unable to compile even a
simple hello.cpp.
I get these errors:


Error E2209 d:\misc\Bcc55\include\stddef.h 25: Unable to open include
file '_std
def.h'
Error E2090 d:\misc\Bcc55\include\rw/stddefs.h 51: Qualifier 'std' is
not a clas
s or namespace name
Error E2272 d:\misc\Bcc55\include\rw/stddefs.h 51: Identifier expected
Error E2090 d:\misc\Bcc55\include\rw/stddefs.h 52: Qualifier 'std' is
not a clas
s or namespace name
Error E2272 d:\misc\Bcc55\include\rw/stddefs.h 52: Identifier expected
Error E2209 d:\misc\Bcc55\include\rw/stddefs.h 143: Unable to open
include file
'_defs.h'
Error E2304 d:\misc\Bcc55\include\rw/stddefs.h 160: Constant variable
'size_t' m
ust be initialized
Error E2141 d:\misc\Bcc55\include\rw/stddefs.h 160: Declaration syntax
error

which are not eliminated by giving the compiler a -D___STDDEF_H (which
appears in stdlib.h)

What am I missing here?

Any help thanked in advance


Best regards,

Camilo Ramos

Steve Peters (Borland)

unread,
Oct 25, 2000, 3:00:00 AM10/25/00
to
Post the contents of your bcc32.cfg file.

--
Kind Regards,

Steve Peters
Borland Developer Support

Please do not send discussion group posts directly
to me as they may be ignored. Responses should be
posted directly to the newsgroups where they may be
shared by all.
Disclaimer:
http://www.borland.com/devsupport/disclaim.html

cra...@col.net.co

unread,
Oct 25, 2000, 3:00:00 AM10/25/00
to
On Wed, 25 Oct 2000 11:38:21 -0700, in
borland.public.install.cppbuilder you wrote:
> Post the contents of your bcc32.cfg file.
>
> --
> Kind Regards,
>
> Steve Peters
> Borland Developer Support
>

Sure. Here it is:

-I"d:\misc\bcc55\include"
-L"d:\misc\bcc55\lib"

It's located in d:\misc\bcc55\bin

Best regards,

Camilo Ramos

0 new messages