| Author |
Message |
|
|
Post subject: qcc problem of target
Posted: 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? |
|
|
| |
|
|
|
 |
|
|
Post subject:
Posted: 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 |
|
|
| |
|
|
|
 |
|
|
Post subject:
Posted: 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... |
|
|
| |
|
|
|
 |
|
|
Post subject:
Posted: 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. |
|
|
| |
|
|
|
 |
|
|
Post subject:
Posted: 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. |
|
|
| |
|
|
|
 |
|
|