Home
Support

Knowledge Base

BSPs and drivers
Community resources
Product documentation
Questions?
Contact us

QNX4: how to compile with wpp
 
________________________________________________________________________

Applicable Environment
________________________________________________________________________
  • Topic: compiler, cc, wpp
  • SDP: 4.25
  • Target: x86
________________________________________________________________________

Recommendation
________________________________________________________________________

It's most easy to use cc instead of wpp. Below you see the cc and wpp command line:

# cc hello.cpp -o hello
/usr/watcom/10.6/bin/wpp386 -zq -ms -4r -i=/usr/watcom/10.6/usr/include -i=/usr/
include hello.cpp
/usr/watcom/10.6/bin/wlink op quiet form qnx flat na hello op priv=3 op c libp /
usr/watcom/10.6/usr/lib:/usr/lib:. f /home/root/cpp/hello.o op offset=40k op st=
32k

________________________________________________________________________
NOTE: This entry has been validated against the SDP version listed above. Use caution when considering this advice for any other SDP version. For supported releases, please reach out to QNX Technical Support if you have any questions/concerns.
________________________________________________________________________


Related Attachments
 None Found





Please contact us with your questions or concerns.