LoginSignup
3
2

More than 5 years have passed since last update.

Ubuntu 15.10 で TOPPERS/ASP 用コンフィギュレータをビルドする

Last updated at Posted at 2015-12-22

はじめに

私は、特に TOPPERS/ASP などの uITRON の専門家ではないため、あまりよく分かっていないことをご容赦ください。

ビルド

$ sudo apt-get install libboost-dev libboost-system-dev libboost-filesystem-dev libboost-program-options-dev libboost-regex-dev
$ tar xvfJ cfg-1.9.4.tar.gz
$ cd cfg

ここにある README.txt にビルド手順や使い方などが記載されています。

Boost C++ ライブラリのあるディレクトリを configure に追加します。

$ vi configure
configure
# Boost C++ Librariesのライブラリファイルがあるディレクトリをサーチ
for dir in $library_path "/usr/local/lib" "/opt/local/lib" "/opt/lib" "/usr/lib" "/lib" "/mingw/lib" "/usr/lib/x86_64-linux-gnu"
$ ./configure

sh: 11: 105800: not found
sh: 11: 1_58: not found
LIBBOOST_SUFFIX=
BOOST_VERSION=
BOOST_DIR=/usr/include
XERCES_DIR=/usr/include
LIBBOOST_DIR=/usr/lib/x86_64-linux-gnu
LIBXERCES_DIR=/usr/lib/x86_64-linux-gnu
OPTIONS=

not found と表示されましたが、エラーではないのでしょうか...
次の make は成功しているようにみえます。

$ make

cfg ディレクトリの下にバイナリ cfg (cfg/cfg/cfg) ができています。

$ cd cfg
$ file cfg

cfg: ELF 64-bit LSB executable, x86-64, version 1 (GNU/Linux), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 2.6.32, BuildID[sha1]=xxx, not stripped

この cfg を所定の場所に配置して、利用します。

おわりに

上記 not found 等、どなたかご存知の方、教えて頂けると幸いです。

3
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
3
2