cc.c

Hello,

Is the source for the wcl386 front-end “cc” for 4.25 available?

Regards,
Tom.

Tom <pwc@ag-signs.com> wrote:

Hello,

Is the source for the wcl386 front-end “cc” for 4.25 available?

No.

What were you trying to find out/achieve?

-David

QNX Training Services
http://www.qnx.com/support/training/
Please followup in this newsgroup if you have further questions.

I’m trying to setup my Windows Watcom to cross-compile my
qnx projects. I want to use my current qnx make-files.

Thanks,
Tom.
“David Gibbs” <dagibbs@qnx.com> wrote in message
news:arthm0$1c9$1@nntp.qnx.com

Tom <> pwc@ag-signs.com> > wrote:
Hello,

Is the source for the wcl386 front-end “cc” for 4.25 available?

No.

What were you trying to find out/achieve?

-David

QNX Training Services
http://www.qnx.com/support/training/
Please followup in this newsgroup if you have further questions.

Tom <pwc@ag-signs.com> wrote:

I’m trying to setup my Windows Watcom to cross-compile my
qnx projects. I want to use my current qnx make-files.

Oooh. You’re thoroughly into “not supported, proceed at your
own risk” territory there.

I’ve heard of a couple people who have been able to successfully
build QNX4 stuff using Watcom for Windows. I don’t have any details
on how/what they did, or whether they ported cc over, or just invoked
wcc386 and wlink directly.

So, I’m afraid I probably can’t help you with this one.

-David

QNX Training Services
http://www.qnx.com/support/training/
Please followup in this newsgroup if you have further questions.

“David Gibbs” <dagibbs@qnx.com> wrote in message
news:aru1vm$an3$2@nntp.qnx.com

Tom <> pwc@ag-signs.com> > wrote:
I’m trying to setup my Windows Watcom to cross-compile my
qnx projects. I want to use my current qnx make-files.

Oooh. You’re thoroughly into “not supported, proceed at your
own risk” territory there.

I’ve heard of a couple people who have been able to successfully
build QNX4 stuff using Watcom for Windows. I don’t have any details
on how/what they did, or whether they ported cc over, or just invoked
wcc386 and wlink directly.

So, I’m afraid I probably can’t help you with this one.

Well, i used Watcom to build QNX4 applications under Windows NT. Just
invoking wcc386/wlib/wlink. But cannot say that i liked this environment
(lack of usable shell, unix tools etc). Of course one can get them from 3d
party vendors such as CygWin or UWIN but imho that’s some work and i the
benefits arn’t obvious for me.

But anyway, Watcom 10.5 works fine under Windows NT/2k to build QNX4
projects. Of course header files and libraries are used from QNX4’s Watcom
10.6 and of course “cc” wrapper isn’t used .

// wbr

I’m also interested in the source for cc, but for a different reason.
We would like to use the same source files to generate Matlab Simulink
S-Functions in Windows, and compile QNX 4.25 libraries. The Matlab ‘MEX’
compiler required files to be C format (i.e. .c suffix), but we need to use
some C++ classes when compiling for QNX.

According to our QNX documentation, there should be a ‘CC’ front-end (not
‘cc’) that automatically calls the C++ compiler, regardless of the file
extension. We couldn’t find it, but I’m sure it would be a relatively
trivial change to the ‘cc’ source code…

Anyone else ever wanted to use ‘CC’ ?

Cheers, Tristan.


Tristan Crees B.C.S.E
Robotics Engineer
International Submarine Engineering (http://www.ise.bc.ca)
1734 Broadway St. Port Coquitlam BC Canada V3C 2M8

“David Gibbs” <dagibbs@qnx.com> wrote in message
news:arthm0$1c9$1@nntp.qnx.com

Tom <> pwc@ag-signs.com> > wrote:
Hello,

Is the source for the wcl386 front-end “cc” for 4.25 available?

No.

What were you trying to find out/achieve?

-David

QNX Training Services
http://www.qnx.com/support/training/
Please followup in this newsgroup if you have further questions.

“Tristan Crees” <tcrees@ise.bc.ca> wrote in message
news:ash21m$4jt$1@inn.qnx.com

I’m also interested in the source for cc, but for a different reason.
We would like to use the same source files to generate Matlab Simulink
S-Functions in Windows, and compile QNX 4.25 libraries. The Matlab ‘MEX’
compiler required files to be C format (i.e. .c suffix), but we need to
use
some C++ classes when compiling for QNX.

According to our QNX documentation, there should be a ‘CC’ front-end (not
‘cc’) that automatically calls the C++ compiler, regardless of the file
extension. We couldn’t find it, but I’m sure it would be a relatively
trivial change to the ‘cc’ source code…

Anyone else ever wanted to use ‘CC’ ?

Cheers, Tristan.

mmm… maybe kinda:

ln -fv /bin/cc /bin/CC

works great and the way you mentioned above :slight_smile:

// wbr

mmm… maybe kinda:

ln -fv /bin/cc /bin/CC

works great and the way you mentioned above > :slight_smile:

Actually no, because it still invokes wcc386 on .c files rather than wpp386

Thanks though, Tristan.