Eclipse OMR - Compile

1. Install Linux

I usually just use virtualbox to install a Linux virtual machine.

1) Install Ubuntu Server 17.10 64-bit version.

2) Emphasize: it is best to use the 64-bit version, there are still bugs in the demo code in the 32-bit version.

 

Second, configure the C++ development environment

implement:

sudo apt-get install build-essential gcc-multilib g++-multilib

 

3. Use git to get OMR code

implement:

git clone https://github.com/eclipse/omr.git

 

Fourth, configure OMR

1) Enter the code root directory of OMR

2) Execute:

make -f run_configure.mk SPEC=linux_x86-64 OMRGLUE=./example/glue

 

5. Compile

implement:

make

 

6. Run the test suite

implement:

make test

 

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325467041&siteId=291194637