-T1 in Neutrino

Is there an equivalent gcc compiler option as in QNX 4.0 for the switch -T1?
For some reason gcc in Neutrino is giving me the error message: cannot open
script file 1. The driver I’m working on must have system level access.

Thanks for the help.

-Ryan

It is now an API call…

ThreadCtl( _NTO_TCTL_IO, 0 );

chris


Ryan Phillips <ryan.phillips@csus.edu> wrote:

Is there an equivalent gcc compiler option as in QNX 4.0 for the switch -T1?
For some reason gcc in Neutrino is giving me the error message: cannot open
script file 1. The driver I’m working on must have system level access.

Thanks for the help.

-Ryan

cdm@qnx.com > “The faster I go, the behinder I get.”

Chris McKillop – Lewis Carroll –
Software Engineer, QSSL
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<

“Ryan Phillips” <ryan.phillips@csus.edu> wrote in message
news:9hadc8$c54$1@inn.qnx.com

Is there an equivalent gcc compiler option as in QNX 4.0 for the
switch -T1?
For some reason gcc in Neutrino is giving me the error message: cannot
open
script file 1. The driver I’m working on must have system level access.

If the problem is opening the file, that means it’s a permission problem.
The
you need to run the program as root or set the +s flag.

Thanks for the help.

-Ryan