lint/splint

Greetings

I would be interested to know whether anyone has installed splint
successfully on the QNX RTP. Alternatively, is there another version of lint
that is available on the RTP?


Regards

Martin Lloyd

“Martin Lloyd” <martin@ycmhl.demon.co.uk> wrote in message
news:c4jodj$60m$1@inn.qnx.com

Greetings

I would be interested to know whether anyone has installed splint
successfully on the QNX RTP. Alternatively, is there another version of
lint
that is available on the RTP?

I’m using PC-Lint (not free), great tool

Regards

Martin Lloyd

Thank you for this reply.

I already use PC-lint on windows applications, so I know what you mean and I
can of course move source out of QNX into Windows in order for it to be
linted. However, I would like to have a lint that is integrated into the QNX
RTP. This is why I have been trying to install splint, but without success
so far. It would be very useful to know whether anyone has successfully
installed splint in the QNX RTP, typically via the source build.

Regards

Martin Lloyd

“Mario Charest” postmaster@127.0.0.1 wrote in message
news:c4k80e$ib8$1@inn.qnx.com

“Martin Lloyd” <> martin@ycmhl.demon.co.uk> > wrote in message
news:c4jodj$60m$> 1@inn.qnx.com> …
Greetings

I would be interested to know whether anyone has installed splint
successfully on the QNX RTP. Alternatively, is there another version of
lint
that is available on the RTP?


I’m using PC-Lint (not free), great tool


Regards

Martin Lloyd

\

“Martin Lloyd” <martin@ycmhl.demon.co.uk> wrote in message
news:c4r63p$85g$1@inn.qnx.com

Thank you for this reply.

I already use PC-lint on windows applications, so I know what you mean and
I
can of course move source out of QNX into Windows in order for it to be
linted. However, I would like to have a lint that is integrated into the
QNX
RTP.

I understand but you can have Windows access the QNX machine directly via
Samba, works fine.
That’s what I’m doing now where I’m currently working.

You could also purchse source of PC-Lint and port it to QNX (it’s alreay
been done)

This is why I have been trying to install splint, but without success
so far. It would be very useful to know whether anyone has successfully
installed splint in the QNX RTP, typically via the source build.

Regards

Martin Lloyd

“Mario Charest” postmaster@127.0.0.1 wrote in message
news:c4k80e$ib8$> 1@inn.qnx.com> …

“Martin Lloyd” <> martin@ycmhl.demon.co.uk> > wrote in message
news:c4jodj$60m$> 1@inn.qnx.com> …
Greetings

I would be interested to know whether anyone has installed splint
successfully on the QNX RTP. Alternatively, is there another version
of
lint
that is available on the RTP?


I’m using PC-Lint (not free), great tool


Regards

Martin Lloyd



\

This looks promising.

I use Samba under Linux to talk to my Windows PC, so I am familiar with
using it, but how do I get it working on QNX?

One reason for trying to use splint is that it is a free download, including
the source, whereas the PC-lint source licence is (I think) about $900.

I also find that using my copy of PC-Lint under Windows to lint my QNX
application gives me difficulties, for example, PC-lint cannot find the
definition of pid_t, which causes many worthless messages.

Regards

Martin Lloyd



“Mario Charest” postmaster@127.0.0.1 wrote in message
news:c4s06v$smo$1@inn.qnx.com

“Martin Lloyd” <> martin@ycmhl.demon.co.uk> > wrote in message
news:c4r63p$85g$> 1@inn.qnx.com> …
Thank you for this reply.

I already use PC-lint on windows applications, so I know what you mean
and
I
can of course move source out of QNX into Windows in order for it to be
linted. However, I would like to have a lint that is integrated into the
QNX
RTP.

I understand but you can have Windows access the QNX machine directly via
Samba, works fine.
That’s what I’m doing now where I’m currently working.

You could also purchse source of PC-Lint and port it to QNX (it’s alreay
been done)

This is why I have been trying to install splint, but without success
so far. It would be very useful to know whether anyone has successfully
installed splint in the QNX RTP, typically via the source build.

Regards

Martin Lloyd

“Mario Charest” postmaster@127.0.0.1 wrote in message
news:c4k80e$ib8$> 1@inn.qnx.com> …

“Martin Lloyd” <> martin@ycmhl.demon.co.uk> > wrote in message
news:c4jodj$60m$> 1@inn.qnx.com> …
Greetings

I would be interested to know whether anyone has installed splint
successfully on the QNX RTP. Alternatively, is there another version
of
lint
that is available on the RTP?


I’m using PC-Lint (not free), great tool


Regards

Martin Lloyd





\

“Martin Lloyd” <martin@ycmhl.demon.co.uk> wrote in message
news:c4tsgb$hfm$1@inn.qnx.com

This looks promising.

I use Samba under Linux to talk to my Windows PC, so I am familiar with
using it, but how do I get it working on QNX?

Samba is on the 3rd party CD. Install via the QNX installer

One reason for trying to use splint is that it is a free download,
including
the source, whereas the PC-lint source licence is (I think) about $900.


I also find that using my copy of PC-Lint under Windows to lint my QNX
application gives me difficulties, for example, PC-lint cannot find the
definition of pid_t, which causes many worthless messages.

Two solutions: Make sure you map the entired QNX HD via SAMBA and set
pc-lint to look for include files in x:\usr\include (X: being the mapped QNX
drive). Other solution which is the one I use is to copy /usr/include
directory over the Windows machine and set pc-lint to look into it. This
increase performance as QNX header file are local instead of over the
network.

If you are developing on Windows with the IDE it’s even easier :wink:.

Regards

Martin Lloyd



“Mario Charest” postmaster@127.0.0.1 wrote in message
news:c4s06v$smo$> 1@inn.qnx.com> …

“Martin Lloyd” <> martin@ycmhl.demon.co.uk> > wrote in message
news:c4r63p$85g$> 1@inn.qnx.com> …
Thank you for this reply.

I already use PC-lint on windows applications, so I know what you mean
and
I
can of course move source out of QNX into Windows in order for it to
be
linted. However, I would like to have a lint that is integrated into
the
QNX
RTP.

I understand but you can have Windows access the QNX machine directly
via
Samba, works fine.
That’s what I’m doing now where I’m currently working.

You could also purchse source of PC-Lint and port it to QNX (it’s alreay
been done)

This is why I have been trying to install splint, but without success

so far. It would be very useful to know whether anyone has
successfully
installed splint in the QNX RTP, typically via the source build.

Regards

Martin Lloyd

“Mario Charest” postmaster@127.0.0.1 wrote in message
news:c4k80e$ib8$> 1@inn.qnx.com> …

“Martin Lloyd” <> martin@ycmhl.demon.co.uk> > wrote in message
news:c4jodj$60m$> 1@inn.qnx.com> …
Greetings

I would be interested to know whether anyone has installed splint
successfully on the QNX RTP. Alternatively, is there another
version
of
lint
that is available on the RTP?


I’m using PC-Lint (not free), great tool


Regards

Martin Lloyd







\