12 | | The model needs two things to compile: |
13 | | * the macro SOCLIB must be defined |
14 | | * libxml2 development headers must be installed |
| 12 | Some additionnal step are necessary to compile the model that will be removed once the model will be stable enough. |
| 13 | The model needs three things to compile: |
| 14 | * the macro SOCLIB must be defined: add '-DSOCLIB' to 'cflags' |
| 15 | * libxml2 development headers must be installed: add -L/usr/include/libxml2 to the 'cflags' and -lxml2 to the 'libs' |
| 16 | * UNISIM Library somewhere on the file system and do a symbolic link source and include directories: |
| 17 | |
| 18 | {{{ |
| 19 | $ svn --username guest --password "" export https://unisim.org/svn/devel/unisim_lib/unisim |
| 20 | $ ln -s unisim `soclib-cc --getpath`/soclib/lib/mpc7447a/src/iss/unisim |
| 21 | $ ln -s unisim `soclib-cc --getpath`/soclib/lib/mpc7447a/include/iss/unisim |
| 22 | }}} |