From help-octave-request at bevo dot che dot wisc dot edu Wed Sep 1 17:47:04 1999 Subject: Re: .oct file From: kullstam at ne dot mediaone dot net To: Bertrand HEYD Cc: help-octave at bevo dot che dot wisc dot edu Date: 01 Sep 1999 18:48:37 -0400 Bertrand HEYD writes: > Hello, > > I use a C program using the outb and inb instructions. To compile it, I use > the -O2 option in gcc. I would like to transform it into a .oct file, but > mkoctfile refuse to compile it. Is there any examples of .oct files doing > low level IO? does this inb/outb stuff work in a regular C program? > PS I use linux/586 i would think that the inb/outb instructions are kernel exclusives. you may need to write a module driver for your hardware and figure out how to talk to it using an int trap. -- J o h a n K u l l s t a m [kullstam at ne dot mediaone dot net] Don't Fear the Penguin! --------------------------------------------------------------------- Octave is freely available under the terms of the GNU GPL. To ensure that development continues, see www.che.wisc.edu/octave/giftform.html Instructions for unsubscribing: www.che.wisc.edu/octave/archive.html ---------------------------------------------------------------------