OpenQNX :: The QNX Community Portal

Jul 05, 2008 - 12:09 AM
Google
  Web openqnx.com   
     Create an account Home · Submit News · QNX Forums · QNX Download · Search   
_
Main Menu
Who's Online
There are 49 unlogged users and 0 registered users online.

You can log-in or register for a user account here.

Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
jeanmarieverret
Post subject: qcc problem of target  PostPosted: Mar 14, 2008 - 10:11 AM
New Member


Joined: Mar 14, 2008
Posts: 2

I need to port Libpacap on QNX so I downloaded (on the community site of QNX) the sources of io-pkt. Io-pkt replaces more efficiently io-net, in particular it ensures the compatibility with Libpcap.
But when I try to compile its sources with
qcc -Vgcc_ntox86 -c ...assptinf.c
I get the message
unknow target 'gcc_ntox86'
no targets defined in etc/qcc
What does it mean?
 
 View user's profile Send private message  
Reply with quote Back to top
Tim
Post subject:   PostPosted: Mar 14, 2008 - 01:51 PM
Senior Member


Joined: Mar 10, 2004
Posts: 536

It means that gcc_ntox86 is not a valid option.

You need to use an option like

qcc -V3.3.5,gcc_ntox86_cpp

Use qcc -V to see all the valid option for qcc.

Tim
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
rgallen
Post subject:   PostPosted: Mar 14, 2008 - 07:05 PM
QNX Master


Joined: Jul 11, 2002
Posts: 600

Tim wrote:
It means that gcc_ntox86 is not a valid option.

You need to use an option like

qcc -V3.3.5,gcc_ntox86_cpp

Use qcc -V to see all the valid option for qcc.

Tim


Tim, I think the problem is bigger here. It looks as if the OP either doesn't have the conf files present on their system (i.e. -Vgcc_ntox86 *should* be valid, as it is not necessary to specify the version if you want the default), or they haven't got the QNX_TARGET/QNX_HOST envvars set correctly...
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
jeanmarieverret
Post subject:   PostPosted: Mar 17, 2008 - 08:17 AM
New Member


Joined: Mar 14, 2008
Posts: 2

Thanks for your replies. I think you're right. Since I have had many problems with this installation of QNX, I think I should juste reinstall it. Furthermore, I read the syntax of qcc in the qnx site and it seems it is indeed not necessary to specify the version. So I'll just try that.
 
 View user's profile Send private message  
Reply with quote Back to top
mario
Post subject:   PostPosted: Mar 17, 2008 - 02:49 PM
QNX Master


Joined: Sep 01, 2002
Posts: 2753

The default version is 2.9.? so if you want to use 3.3.5 either you make it the default version qcc -V3.3.3,gcc_ntox86 -set-defaults or you specify the options each time.
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2007 The PNphpBB Group
Credits
All logos and trademarks in this site are property of their respective owners. The comments are property of their posters.
Powered by OpenQNX: The QNX Community Portal Site
QNX and the QNX logo are registered trademarks of QNX Software Systems.