[Q]where can I get information about watcom C++?

Sorry.

I can’t find the news group about watcom c/c++.

Where can I get information about watcom C/C++?

My development environment is QNX4.24 and Watcom C/C++ 10.6.

But I can’t use C++ compile option ‘bc’ (build target is a console
application).

I can use option only ‘bd’, ‘bg’, ‘bm’, ‘br’.

Why doesn’t my compiler know the ‘bc’ option?

Please help me…

This would be the right newsgroup for Watcom c/C++.

What is bc supposed to do?


“¸ñ¶õ²É” <mograhn@gauri.co.kr> wrote in message
news:9ib36e$829$1@inn.qnx.com

Sorry.

I can’t find the news group about watcom c/c++.

Where can I get information about watcom C/C++?

My development environment is QNX4.24 and Watcom C/C++ 10.6.

But I can’t use C++ compile option ‘bc’ (build target is a console
application).

I can use option only ‘bd’, ‘bg’, ‘bm’, ‘br’.

Why doesn’t my compiler know the ‘bc’ option?

Please help me…

The User’s guide says :
option ‘bc’ : (C++ only) build target is a console application

I wanted to make executive file, and so I tried :
wpp386 -i=/usr/watcom/10.6/usr/include -bc test.cpp

then compile error :
Error! E068: invalid option ‘bc’



“Bill Caroselli @ Q-TPS” <BillCaroselli@Q-TPS.com> wrote in message
news:9ib7gt$ahu$1@inn.qnx.com

This would be the right newsgroup for Watcom c/C++.

What is bc supposed to do?


“¸ñ¶õ²É” <> mograhn@gauri.co.kr> > wrote in message
news:9ib36e$829$> 1@inn.qnx.com> …
Sorry.

I can’t find the news group about watcom c/c++.

Where can I get information about watcom C/C++?

My development environment is QNX4.24 and Watcom C/C++ 10.6.

But I can’t use C++ compile option ‘bc’ (build target is a console
application).

I can use option only ‘bd’, ‘bg’, ‘bm’, ‘br’.

Why doesn’t my compiler know the ‘bc’ option?

Please help me…
\

hmm… the 10.6 that i use (released one from the CD) does not have that
option.
i wouldn’t use it.
plus i’d recommend using cc as the wrapper for calling wpp386, and pass any
options with the -WC, option.

e.g.
cc -5r “-WC,-ol+amrt -zp4 -fp5” blah…


The User’s guide says :
option ‘bc’ : (C++ only) build target is a console application

I wanted to make executive file, and so I tried :
wpp386 -i=/usr/watcom/10.6/usr/include -bc test.cpp

then compile error :
Error! E068: invalid option ‘bc’



“Bill Caroselli @ Q-TPS” <> BillCaroselli@Q-TPS.com> > wrote in message
news:9ib7gt$ahu$> 1@inn.qnx.com> …
This would be the right newsgroup for Watcom c/C++.

What is bc supposed to do?


news:9ib36e$829$> 1@inn.qnx.com> …
Sorry.

I can’t find the news group about watcom c/c++.

Where can I get information about watcom C/C++?

My development environment is QNX4.24 and Watcom C/C++ 10.6.

But I can’t use C++ compile option ‘bc’ (build target is a console
application).

I can use option only ‘bd’, ‘bg’, ‘bm’, ‘br’.

Why doesn’t my compiler know the ‘bc’ option?

Please help me…

\


Randy Martin randy@qnx.com
Manager of FAE Group, North America
QNX Software Systems www.qnx.com
175 Terence Matthews Crescent, Kanata, Ontario, Canada K2M 1W8
Tel: 613-591-0931 Fax: 613-591-3579

<mograhn@gauri.co.kr> wrote:

The User’s guide says :
option ‘bc’ : (C++ only) build target is a console application

I wanted to make executive file, and so I tried :
wpp386 -i=/usr/watcom/10.6/usr/include -bc test.cpp

then compile error :
Error! E068: invalid option ‘bc’

Not all options are meaningful under QNX. We strongly suggest that
you never invoke wcc386/wpp386 or wlink directly – instead let the
cc utility do so for you.

Your compile should be something like:

cc -c test.cpp
cc -o test1 test.o

Or:

cc -o test1 test.cpp

-David

QNX Training Services
dagibbs@qnx.com

Thanks for all answers. I found the solution. Thanks.

“David Gibbs” <dagibbs@qnx.com> wrote in message
news:9iclvn$fd5$2@nntp.qnx.com

mograhn@gauri.co.kr> > wrote:
The User’s guide says :
option ‘bc’ : (C++ only) build target is a console application

I wanted to make executive file, and so I tried :
wpp386 -i=/usr/watcom/10.6/usr/include -bc test.cpp

then compile error :
Error! E068: invalid option ‘bc’

Not all options are meaningful under QNX. We strongly suggest that
you never invoke wcc386/wpp386 or wlink directly – instead let the
cc utility do so for you.

Your compile should be something like:

cc -c test.cpp
cc -o test1 test.o

Or:

cc -o test1 test.cpp

-David

QNX Training Services
dagibbs@qnx.com