Configuration is similar to that of the GNU tool chain, using a configure script, to set a target and an install directory.
It is a good idea not to use the same install directory for binaries that was used for the tool chain. The tool chain is aimed at cross compiling for the OpenRISC 1000 architecture and any include files etc will be specific to that architecture. By contrast Or1ksim is a native application for the workstation architecture (e.g. a PC). So a typical configuration would be:
mkdir builddir_or1ksim cd builddir_or1ksim ../or1ksim-0.3.0rc2/configure --target=or32-uclinux --prefix=/opt/or1ksim
Note | |
---|---|
The configuration target, |
Note | |
---|---|
The |