pch's

bridged with qnx.development_tools
Post Reply
Totte Karlsson

pch's

Post by Totte Karlsson » Thu Feb 12, 2004 11:43 pm

Hi,
I'm trying to use precompiled headers using gcc on qnx 6.2. The version I
have on my system, of gcc, seems to be 2.95.3.

When I ask in gcc newsgroups they tell me that this version is very old and
is unsupported and don't support precompiled headers!

Is this the only version available on QNX? If so, how do people work with
large projects with a lot of headers? The compile times will be unacceptable
long. I can't see how serious development is possible without them?
Is there a way to speed up compile times with this extremely slow and
inefficient compiler?
thanks
/totte

Jade

Re: pch's

Post by Jade » Mon Feb 16, 2004 5:33 pm

Hi,

You could improve your compile times with ccache.

Totte Karlsson wrote:
Hi,
I'm trying to use precompiled headers using gcc on qnx 6.2. The version I
have on my system, of gcc, seems to be 2.95.3.

When I ask in gcc newsgroups they tell me that this version is very old and
is unsupported and don't support precompiled headers!

Is this the only version available on QNX? If so, how do people work with
large projects with a lot of headers? The compile times will be unacceptable
long. I can't see how serious development is possible without them?
Is there a way to speed up compile times with this extremely slow and
inefficient compiler?
thanks
/totte


Totte Karlsson

Re: pch's

Post by Totte Karlsson » Tue Feb 17, 2004 6:13 pm

Thanks, this looks interesting and useful.
Any recomendations on how to use it?
/totte

"Jade" <jade_jul@hotmail.com> wrote in message
news:c0qtb3$20s$1@inn.qnx.com...
Hi,

You could improve your compile times with ccache.

Totte Karlsson wrote:
Hi,
I'm trying to use precompiled headers using gcc on qnx 6.2. The version
I
have on my system, of gcc, seems to be 2.95.3.

When I ask in gcc newsgroups they tell me that this version is very old
and
is unsupported and don't support precompiled headers!

Is this the only version available on QNX? If so, how do people work
with
large projects with a lot of headers? The compile times will be
unacceptable
long. I can't see how serious development is possible without them?
Is there a way to speed up compile times with this extremely slow and
inefficient compiler?
thanks
/totte



Totte Karlsson

Re: pch's

Post by Totte Karlsson » Tue Feb 17, 2004 7:19 pm

Hi
I'm trying to compile and install ccache but I get an error at the end of
the compile/install process (make install) I get the error

../install-sh -c -d /usr/local/bin make :execvp: ./install-sh: Permission
denied
make: *** [install] Error 127

anyone knowing what's going on? do I have to edit the install scripts?


thanks
/totte




"Jade" <jade_jul@hotmail.com> wrote in message
news:c0qtb3$20s$1@inn.qnx.com...
Hi,

You could improve your compile times with ccache.

Totte Karlsson wrote:
Hi,
I'm trying to use precompiled headers using gcc on qnx 6.2. The version
I
have on my system, of gcc, seems to be 2.95.3.

When I ask in gcc newsgroups they tell me that this version is very old
and
is unsupported and don't support precompiled headers!

Is this the only version available on QNX? If so, how do people work
with
large projects with a lot of headers? The compile times will be
unacceptable
long. I can't see how serious development is possible without them?
Is there a way to speed up compile times with this extremely slow and
inefficient compiler?
thanks
/totte



Jade

Re: pch's

Post by Jade » Thu Feb 19, 2004 8:33 pm

-Are you root when you try to install ccache?
-The only change that I did to run ccache was in the Installation (read
http://ccache.samba.org/ccache/ccache-man.html ). Instead of making
symbolic links to gcc, g++ and cc, I made links for qcc and QCC. But It
depends on what you are using.


Totte Karlsson wrote:
Hi
I'm trying to compile and install ccache but I get an error at the end of
the compile/install process (make install) I get the error

../install-sh -c -d /usr/local/bin make :execvp: ./install-sh: Permission
denied
make: *** [install] Error 127

anyone knowing what's going on? do I have to edit the install scripts?


thanks
/totte




"Jade" <jade_jul@hotmail.com> wrote in message
news:c0qtb3$20s$1@inn.qnx.com...

Hi,

You could improve your compile times with ccache.

Totte Karlsson wrote:

Hi,
I'm trying to use precompiled headers using gcc on qnx 6.2. The version

I

have on my system, of gcc, seems to be 2.95.3.

When I ask in gcc newsgroups they tell me that this version is very old

and

is unsupported and don't support precompiled headers!

Is this the only version available on QNX? If so, how do people work

with

large projects with a lot of headers? The compile times will be

unacceptable

long. I can't see how serious development is possible without them?
Is there a way to speed up compile times with this extremely slow and
inefficient compiler?
thanks
/totte





Bill Caroselli

Re: pch's

Post by Bill Caroselli » Mon Feb 23, 2004 9:57 pm

Jade <jade_jul@hotmail.com> wrote:
J > -Are you root when you try to install ccache?
J > -The only change that I did to run ccache was in the Installation (read
J > http://ccache.samba.org/ccache/ccache-man.html ). Instead of making
J > symbolic links to gcc, g++ and cc, I made links for qcc and QCC. But It
J > depends on what you are using.


What is ccache and where can I get it?

Robert Rutherford

Re: pch's

Post by Robert Rutherford » Wed Feb 25, 2004 8:14 am

On 23 Feb 2004 21:57:30 GMT, Bill Caroselli wrote:
Jade <jade_jul@hotmail.com> wrote:
J > -Are you root when you try to install ccache?
J > -The only change that I did to run ccache was in the Installation (read
J > http://ccache.samba.org/ccache/ccache-man.html ). Instead of making
J > symbolic links to gcc, g++ and cc, I made links for qcc and QCC. But It
J > depends on what you are using.


What is ccache and where can I get it?
http://ccache.samba.org

Compiles out of the box.

Rob Rutherford

Post Reply

Return to “qnx.development_tools”