Project Home
Project Home
Source Code
Source Code
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - cc: unknown target 'gcc_ntoppc': (4 Items)
   
cc: unknown target 'gcc_ntoppc'  
I have the craziest thing happening to me.  When I go to compile a project, everything seems to work for the first few 
projects and then, after building and linking a few projects, (using taget gcc_ntoppc) it stops and complains:

cc: unknown target 'gcc_ntoppc'

The whole build session is below.  Any help is greatly appreciated.

Thanks
Kevin


C:\TestBuild>make all
make -j 1 -Cipl -fMakefile all
make[1]: Entering directory `C:/TestBuild/ipl'
make -j 1 -Cppc -fMakefile all
make[2]: Entering directory `C:/TestBuild/ipl/ppc'
make -j 1 -Ca.be -fMakefile all
make[3]: Entering directory `C:/TestBuild/ipl/ppc/a.be'
../../common.mk:33: EXTRA_INCVPATH:                 C:/TestBuild/include
../../common.mk:34: PROJECT_ROOT:
C:/QNX632/host/win32/x86/usr/bin/qcc -V3.3.5,gcc_ntoppc -c -O -Wc,-mno-fp-moves -Wc,-Wall -Wc,-Wno-parentheses          
  -fmessage-length=0 -fdiagnostics-show-
location=every-line -DNDEBUG   -I. -IC:/TestBuild/ipl/ppc/a.be -IC:/TestBuild/ipl/ppc -IC:/TestBuild/ipl -IC:/TestBuild/
include -IC:/QNX632/target/qnx6/usr/incl
ude      -EB     -DVARIANT_a -DVARIANT_be  C:/TestBuild/ipl/copy.c
C:/QNX632/host/win32/x86/usr/bin/qcc -V3.3.5,gcc_ntoppc -c -O -Wc,-mno-fp-moves -Wc,-Wall -Wc,-Wno-parentheses          
  -fmessage-length=0 -fdiagnostics-show-
location=every-line -DNDEBUG   -I. -IC:/TestBuild/ipl/ppc/a.be -IC:/TestBuild/ipl/ppc -IC:/TestBuild/ipl -IC:/TestBuild/
include -IC:/QNX632/target/qnx6/usr/incl
ude      -EB     -DVARIANT_a -DVARIANT_be  C:/TestBuild/ipl/ppc/image_download_8260scc1.c
C:/QNX632/host/win32/x86/usr/bin/qcc -V3.3.5,gcc_ntoppc -c -O -Wc,-mno-fp-moves -Wc,-Wall -Wc,-Wno-parentheses          
  -fmessage-length=0 -fdiagnostics-show-
location=every-line -DNDEBUG   -I. -IC:/TestBuild/ipl/ppc/a.be -IC:/TestBuild/ipl/ppc -IC:/TestBuild/ipl -IC:/TestBuild/
include -IC:/QNX632/target/qnx6/usr/incl
ude      -EB     -DVARIANT_a -DVARIANT_be  C:/TestBuild/ipl/image_scan.c
C:/QNX632/host/win32/x86/usr/bin/qcc -V3.3.5,gcc_ntoppc -c -O -Wc,-mno-fp-moves -Wc,-Wall -Wc,-Wno-parentheses          
  -fmessage-length=0 -fdiagnostics-show-
location=every-line -DNDEBUG   -I. -IC:/TestBuild/ipl/ppc/a.be -IC:/TestBuild/ipl/ppc -IC:/TestBuild/ipl -IC:/TestBuild/
include -IC:/QNX632/target/qnx6/usr/incl
ude      -EB     -DVARIANT_a -DVARIANT_be  C:/TestBuild/ipl/image_setup.c
C:/QNX632/host/win32/x86/usr/bin/qcc -V3.3.5,gcc_ntoppc -c -O -Wc,-mno-fp-moves -Wc,-Wall -Wc,-Wno-parentheses          
  -fmessage-length=0 -fdiagnostics-show-
location=every-line -DNDEBUG   -I. -IC:/TestBuild/ipl/ppc/a.be -IC:/TestBuild/ipl/ppc -IC:/TestBuild/ipl -IC:/TestBuild/
include -IC:/QNX632/target/qnx6/usr/incl
ude      -EB     -DVARIANT_a -DVARIANT_be  C:/TestBuild/ipl/image_start.c
C:/QNX632/host/win32/x86/usr/bin/qcc -V3.3.5,gcc_ntoppc -c -O -Wa,-I. -Wa,-IC:/TestBuild/ipl/ppc/a.be -Wa,-IC:/TestBuild
/ipl/ppc -Wa,-IC:/TestBuild/ipl -Wa,-IC:
/TestBuild/include -Wa,-IC:/QNX632/target/qnx6/usr/include  -Wa,--defsym -Wa,VARIANT_a=1  -Wa,--defsym -Wa,VARIANT_be=1 
   -I. -IC:/TestBuild/ipl/ppc/a.be -IC:/
TestBuild/ipl/ppc -IC:/TestBuild/ipl -IC:/TestBuild/include -IC:/QNX632/target/qnx6/usr/include      -EB      C:/
TestBuild/ipl/ppc/jump.s
C:/QNX632/host/win32/x86/usr/bin/qcc -V3.3.5,gcc_ntoppc -c -O -Wc,-mno-fp-moves -Wc,-Wall -Wc,-Wno-parentheses          
  -fmessage-length=0 -fdiagnostics-show-
location=every-line -DNDEBUG   -I. -IC:/TestBuild/ipl/ppc/a.be -IC:/TestBuild/ipl/ppc -IC:/TestBuild/ipl -IC:/TestBuild/
include -IC:/QNX632/target/qnx6/usr/incl
ude      -EB     -DVARIANT_a -DVARIANT_be  C:/TestBuild/ipl/ser8250.c
C:/QNX632/host/win32/x86/usr/bin/qcc -V3.3.5,gcc_ntoppc -c -O -Wc,-mno-fp-moves -Wc,-Wall -Wc,-Wno-parentheses          
  -fmessage-length=0 -fdiagnostics-show-
location=every-line -DNDEBUG   -I. -IC:/TestBuild/ipl/ppc/a.be -IC:/TestBuild/ipl/ppc -IC:/TestBuild/ipl -IC:/TestBuild/
include -IC:/QNX632/target/qnx6/usr/incl
ude      -EB     -DVARIANT_a -DVARIANT_be ...
View Full Message
Re: cc: unknown target 'gcc_ntoppc'  
Kevin Stallard wrote:
> I have the craziest thing happening to me.  When I go to compile a project, everything seems to work for the first few
 projects and then, after building and linking a few projects, (using taget gcc_ntoppc) it stops and complains:
> 
> cc: unknown target 'gcc_ntoppc'
> 
> The whole build session is below.  Any help is greatly appreciated.

This is an issue with the recursive mkfiles (-EB option is missing from 
the command line). It appears that somehow you are using mismatched 
mkfiles and you're using an updated qconf-win32.mk because qcc -a is 
being invoked. The 6.3.2 qconf-win32.mk called ntoppc-ar directly 
instead of qcc. The -EB option which gets added to the command line 
comes from another mkfile so it looks like a combination of new and old 
mkfiles are being used.

Can you check to see what your MAKEFLAGS/QNX_TARGEt env variables are 
set to?

Regards,

Ryan Mansfield
Re: cc: unknown target 'gcc_ntoppc'  
Thanks for the reply.  So there appears to be conflict.

MAKEFLAGS=-IC:/QNX640/target/qnx6/usr/include
QNX_TARGET=C:/QNX632/target/qnx6

I need it to be qnx 6.3.2.  I'll change makeflags and see what happens....

Thanks
Kevin
Re: cc: unknown target 'gcc_ntoppc'  
Ryan, 

That fixed it, thank you....

Kevin