Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Dec 1996 22:34:52 -0600 (CST)
From:      Tim Tsai <ttsai@edison.ebicom.net>
To:        freebsd-hackers@freebsd.org
Subject:   2.1.6 kernel and pgcc
Message-ID:  <199612260434.WAA19053@edison.ebicom.net>

next in thread | raw e-mail | index | archive | help
  When I tried to compile 2.1.6 kernel with pgcc, I get the following
error:

../../i386/clock.c:300: inconsistent operand constraints in an `asm'
../../i386/clock.c:302: inconsistent operand constraints in an `asm'

  the offending code is:

  __asm __volatile(".byte 0xf,0x31" : "=A" (last_count));
  DELAY(1000000);
  __asm __volatile(".byte 0xf,0x31" : "=A" (count));

  any ideas?  I just hard code it to my CPU speed for now.

  Thanks,

  Tim



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199612260434.WAA19053>