Project Home
Project Home
Source Code
Source Code
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - qcc -E: (7 Items)
   
qcc -E  
I just tried qcc -E and nothing happens, samething with -P.

6.3.2 Self hosted

Re: qcc -E  
On Wed, 2008-05-07 at 18:02 -0400, Mario Charest wrote:
> 
> I just tried qcc -E and nothing happens, samething with -P.
> 
> 6.3.2 Self hosted

Can you be more specific?

ostbox1$ uname -a
QNX ostbox1 6.3.2 2006/03/16-14:20:03EST x86pc x86 
ostbox1$ cat t.c
#include <stdio.h>
ostbox1$ qcc -E t.c | wc
     1489     1053    11060


Re: qcc -E  
> On Wed, 2008-05-07 at 18:02 -0400, Mario Charest wrote:
> > 
> > I just tried qcc -E and nothing happens, samething with -P.
> > 
> > 6.3.2 Self hosted
> 
> Can you be more specific?

Sorry, didn't do a go job there ;-|

Try it on a .h file.

qcc -E /usr/include/stdio.h | wc
       0        0        0


> 
> ostbox1$ uname -a
> QNX ostbox1 6.3.2 2006/03/16-14:20:03EST x86pc x86 
> ostbox1$ cat t.c
> #include <stdio.h>
> ostbox1$ qcc -E t.c | wc
>      1489     1053    11060
> 
> 


Re: qcc -E  
On Thu, 2008-05-08 at 16:28 -0400, Mario Charest wrote:
> > On Wed, 2008-05-07 at 18:02 -0400, Mario Charest wrote: 
> > > 
> > > I just tried qcc -E and nothing happens, samething with -P. 
> > > 
> > > 6.3.2 Self hosted 
> > 
> > Can you be more specific?
> 
> Sorry, didn't do a go job there ;-|
> 
> Try it on a .h file.
> 
> qcc -E /usr/include/stdio.h | wc 
>        0        0        0

Try:

qcc -xc -E /usr/include/stdio.h
Re: qcc -E  
because .h is not compilable file extension

Stephane Boucher wrote:
>
> On Thu, 2008-05-08 at 16:28 -0400, Mario Charest wrote:
> > > On Wed, 2008-05-07 at 18:02 -0400, Mario Charest wrote:
> > > >
> > > > I just tried qcc -E and nothing happens, samething with -P.
> > > >
> > > > 6.3.2 Self hosted
> > >
> > > Can you be more specific?
> >
> > Sorry, didn't do a go job there ;-|
> >
> > Try it on a .h file.
> >
> > qcc -E /usr/include/stdio.h | wc
> >        0        0        0
>
> Try:
>
> qcc -xc -E /usr/include/stdio.h
>
>
> _______________________________________________
> General
> http://community.qnx.com/sf/go/post7896
>
Re: qcc -E  
On Thu, 2008-05-08 at 16:28 -0400, Mario Charest wrote:

> Try it on a .h file.
> 
> qcc -E /usr/include/stdio.h | wc 
>        0        0        0

I responded to this but it looks like my post went to good
ol' /dev/null...

Try:

qcc -xc -E /usr/include/stdio.h

-xc tells qcc that your file is a C file.
Re: qcc -E  
> qcc -xc -E /usr/include/stdio.h
> 
> -xc tells qcc that your file is a C file.

Thanks!!!