help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: .oct file


From: kullstam
Subject: Re: .oct file
Date: 01 Sep 1999 18:48:37 -0400
User-agent: Gnus/5.070095 (Pterodactyl Gnus v0.95) Emacs/20.4

Bertrand HEYD <address@hidden> 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
address@hidden
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
---------------------------------------------------------------------



reply via email to

[Prev in Thread] Current Thread [Next in Thread]