Project Home
Project Home
Trackers
Trackers
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
BroadcastCommunity.qnx.com will be offline from May 31 6:00pm until June 2 12:00AM for upcoming system upgrades. For more information please go to https://community.qnx.com/sf/discussion/do/listPosts/projects.bazaar/discussion.bazaar.topc28418
Forum Topic - qcc/QCC with "-pipe" option produce error on QNX 6.4.1: Page 1 of 9 (9 Items)
   
qcc/QCC with "-pipe" option produce error on QNX 6.4.1  
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

-- 
Martin Gagnon