Документ взят из кэша поисковой машины. Адрес
оригинального документа
: http://www.arcetri.astro.it/irlab/doc/library/linux/khg/HyperNews/get/devices/devices/10.html
Дата изменения: Thu Mar 23 12:37:17 2000 Дата индексирования: Wed Sep 15 04:21:21 2010 Кодировка: Поисковые слова: hst |
I need to write a driver using inb() and outb(). I am struggling with compiling a simple test program to test these fuctions. (1.) If I use gcc -o -DMODULE -D__KERNEL__ -c myfile.c I do not understand how to use the resulting file created -DMODULE. (2.) If I use gcc -o tst tst.c the following fail appears. undefined reference to __inbc undefeined reference to __inb What I expected was a executable program to run from the command line. Thanks Terry M. tmoore@solbrn.dseg.ti.com |