FrontPage
New
Index
SignIn
Edit
OS2/BuildEnv/miscellaneous
no archive mode
[[OS2]]/[[BuildEnv|OS2/BuildEnv]]/miscellaneous 各種もろもろ。つーかメモ。 *gcc 方面(emx 純正、InnoTek)には dive とかマルチメディアとかのヘッダとライブラリが入っていない。ツールキットに INCLUDE と LIB を通すか自前で用意する必要がある。((br))→とりあえずまとめてみた:<s>emx_mmdive_20080707.zip</s> <s>emx_mmdive_20080731.zip</s> <s>emx_mmdive_20080802.zip</s> <s>emx_mmdive_20080807.zip</s> [emx_mmdive_20080817.zip|http://ebisa.hp.infoseek.co.jp/os2/misc/emx_mmdive_20080817.zip] <small>(hobbes にあった [emxdive|http://hobbes.nmsu.edu/cgi-bin/h-viewer?sh=1&fname=/pub/os2/dev/emx/contrib/gcc/emxdive.zip] と [mm4emx|http://hobbes.nmsu.edu/cgi-bin/h-search?sh=1&key=mm4emx&stype=all&sort=type&dir=%2Fpub%2Fos2%2Fdev%2Femx%2Fcontrib] をひとまとめにして微妙に手直ししただけ…のつもりだったが V4.0 toolkit でけ拡張されてる分がなかったのでひととおり追加する破目に)</small> *pthreads:[emx|http://hobbes.nmsu.edu/cgi-bin/h-viewer?sh=1&fname=/pub/os2/dev/unix/pthreads004.zip] (Antony T Curtis), [gcc 3.3.5|http://web.os2power.com/yuri/PthreadTls] (Yuri Dario) * configure 時の shell:[pdksh-5.2.14|http://hobbes.nmsu.edu/cgi-bin/h-viewer?sh=1&fname=/pub/os2/util/shell/pdksh-5.2.14-bin-2.zip] を /bin につっこんで export SHELL=/bin/ksh とかしておく。autoconf-generated じゃない configure スクリプト…ぶっちゃけ'''(ffmpeg 系プログラムとかについてる)Fabrice Bellad 氏由来のスクリプトは結構シェルを選ぶ'''。同じ ksh でも [ksh527rt|http://hobbes.nmsu.edu/cgi-bin/h-search?sh=1&button=Search&key=ksh527&stype=all&sort=type&dir=%2Fpub%2Fos2%2Futil%2Fshell] のほう(あるいは perl の bin につっこんであるシェル)だとダメ。[bash 2.0|http://hobbes.nmsu.edu/cgi-bin/h-search?sh=1&key=bash&stype=all&sort=type&dir=%2Fpub%2Fos2%2Futil%2Fshell] もダメ(スクリプト側で意図的にはじく)。bash 3.x ならいけそうだが'''すんげー遅い'''。((br))autoconf 製の configure なら moztools で使ってる ash で構わない(動作が軽い)。環境変数 CONFIG_SHELL に /Moztools/ash.exe を指定。 *(2008-08-31)うほ、hobbes の incoming に autoconf/automake/libtool の新しめのやつが投下されている。これで(最新版が svn にしかなくて自前で autoreconf とか autogen とかかけないといけない)libdvdread とかも OS/2 だけでコンフィグレーションできますね!(てゆうか、まさにそのために autotools の OS/2 版が投下されたのだろうけれど)。ちなみに私がオレオレ mplayer を作ったときは Cygwin で autoreconf とか autogen してました…。
Attachment
New: