On Thu, 8 Oct 1998, Tigran Aivazian wrote:

 # Hello,
 # Recently Linus posted elcr.c that looks like this:
 #      x = inb(0x4d0) | (256*inb(0x4d1));
 # but if I try to compile it - it won't link because inb() is unresolved.

 # Any ideas what trivial thing I am missing here?

You need to compile it with optimizations enabled, ala:

gcc -O2 elcr.c -o elcr

G'day!

--                                          n i c h o l a s  j  l e o n
  /  elegance through simplicity   / 
 /  good fortune  through truth   /          http://mrnick.binary9.net
/ not all questions have answers /          mailto:[EMAIL PROTECTED]
 

Reply via email to