Wednesday, June 18, 2008

GdkFont usage

To use GdkFont, you must specify the font name
And it must specify by a XLFD describing

The simplest way is set "-*-*-medium-r-normal--N-*-*-*-p-*-*-1"
N = the font size

mase simplescalar make error

There are two possible errors due to newer version of gcc.

1. /lib64/ could not read symbols: Bad value
( if the system is 32-bit, error might be /lib/ could not read symbols: Bad value )
  mark all "extern int errno;" ( eval.c misc.c range.c )
  and replace it by "#include "

2. mase-mem.c:134: error: static declaration of ‘mem_access_latency’ follows non-static declaration
mase-mem.h:104: error: previous declaration of ‘mem_access_latency’ was here
  find "mem_access_latency" in mase-mem.h and delete "static"