0
私はモノラルランタイムを、何もしない単純な(コンソール)プログラムである 'hello world'にバンドルしようとしています。 は、Cygwinを手に入れた、それが失敗したものの、それをすべて構成された:Mono mkbundle issue
$ mkbundle -o x2 x.exe --deps -z
OS is: Windows
Sources: 1 Auto-dependencies: True
embedding: C:\cygwin\home\Sean\x.exe
compression ratio: 31.71%
embedding: C:\PROGRA~2\MONO-2~1.1\lib\mono\4.0\mscorlib.dll
compression ratio: 34.68%
Compiling:
as -o temp.o temp.s
gcc -mno-cygwin -g -o x2 -Wall temp.c `pkg-config --cflags --libs mono-2|dos2unix` -lz temp.o
temp.c: In function `main':
temp.c:173: warning: implicit declaration of function `g_utf16_to_utf8'
temp.c:173: warning: assignment makes pointer from integer without a cast
temp.c:188: warning: assignment makes pointer from integer without a cast
/tmp/ccu8fTcQ.o: In function `main':
/home/Sean/temp.c:173: undefined reference to `_g_utf16_to_utf8'
/home/Sean/temp.c:188: undefined reference to `_g_utf16_to_utf8'
collect2: ld returned 1 exit status
[Fail]
はhereを採掘するために同様の問題を持つポストを試してみましたが、それはどちらか動作しませんでした。 私の設定:
- のWindows 7 64ビット
- モノ2.8.1
- 最新のCygwin
話はここにあるかわかりません。 ヘルプをいただければ幸いです。