LCDproc development and user support list

Text archives Help


[Lcdproc] some drivers will only compile on i386


Chronological Thread 
  • From: gfk AT logidac.com (Guillaume Filion)
  • Subject: [Lcdproc] some drivers will only compile on i386
  • Date: Fri Mar 1 21:54:01 2002

At 21:25 +0100 01/03/02, Noel Koethe wrote:
>The problem is that some drivers uses port.h which contains i386 ASM code
>only for Intel plattforms.:(
>
>(compile on sparc:)
>gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I./.. -I../.. -Wall -O3 -c
>curses_drv.c
>gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I./.. -I../.. -Wall -O3 -c text.c
>gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I./.. -I../.. -Wall -O3 -c lb216.c
>gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I./.. -I../.. -Wall -O3 -c hd44780.=
c
>gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I./.. -I../.. -Wall -O3 -c
>hd44780-4bit.c
>hd44780-4bit.c: In function `hd_init_4bit':
>port.h:144: inconsistent operand constraints in an `asm'
[...]

port.h should use inb and outb from <sys/io.h>, that is if debian
provides them on sparc. port.h will only use the ASM code as a last
resort.

If you know a better way to talk to the parallel port on sparc,
please send it so that we can include it this port.h.

But thinking about it, I'm not even sure if sparc machines have a
parallel port... ?

Best,
GFK's




Archive powered by MHonArc 2.6.18.

Top of page