pch's

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

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

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
\

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
\

-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


\

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?

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