0

新しい VM (dart) にリンクする多くのプロジェクトがあります。現在、各プロジェクトは 6 つの静的ライブラリにリンクする必要があります。各プロジェクトにリンクする必要がある静的ライブラリを 1 つ作成することで、プロセスを簡素化したいと考えています。でこれを実行できることを望んでいましlipoたが、-createコマンドは異なるアーキテクチャの静的ライブラリのみを受け入れるようです:

lipo -create libdart_builtin.a libdart_lib_withcore.a libdart_vm.a libdart_withcore.a libdouble_conversion.a libjscre.a -output libdart_runtime.a
fatal error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/lipo: libdart_builtin.a and libdart_lib_withcore.a have the same architectures (x86_64) and can't be in the same fat output file

これは Mac OS X 上にあります。静的ライブラリを別のプロジェクトにビルドすることもできると思いますが、配布を容易にするために、この VM に必要なすべてのバイナリを 1 つにパッケージ化することをお勧めします。

4

0 に答える 0