Colin Burgess(deleted)
|
Re: qcc/QCC with "-pipe" option produce error on QNX 6.4.1
|
Colin Burgess(deleted)
06/05/2009 8:08 AM
post30940
|
Re: qcc/QCC with "-pipe" option produce error on QNX 6.4.1
qcc always just passed the -pipe straight through to cc1 - that is what changed (4.2.4 to 4.3.3), so it was just
coincidence that it worked.
Martin Gagnon wrote:
> If I use a simple Makefile that was working on previous version of QNX (6.21, 6.3, 6.40) I got the following error
with QNX 6.4.1:
>
> --------------
> $ qcc -O2 -Wall -g -pipe -I. -c -o somefile.o somefile.c
> cc1: error: unrecognized command line option "-pipe"
> cc: /usr/qnx641/host/qnx6/x86/usr/lib/gcc/i386-pc-nto-qnx640/4.3.3/cc1 error 1
> --------------
>
> If I use directly gcc instead of qcc, it work.
>
> I know that "-pipe" is probably by default and there's only the "-nopipe" option documented for qcc, but gcc take "-
pipe" and the previous version of qcc was working as well, removing the "-pipe" option to qcc can break some old
Makefile...
>
> thanks
>
--
cburgess@qnx.com
|
|
|
Ryan Mansfield(deleted)
|
Re: qcc/QCC with "-pipe" option produce error on QNX 6.4.1
|
Ryan Mansfield(deleted)
06/05/2009 9:09 AM
post30952
|
Re: qcc/QCC with "-pipe" option produce error on QNX 6.4.1
The attached qcc will not pass -pipe through to cc1.
Regards,
Ryan Mansfield
|
|
|