[Mono-osx] MkBundle in 2.10.8 on Windows ???
Andrew Tierney
andrew at castlesoft.com.au
Tue Mar 13 12:16:22 UTC 2012
Hi All,
I have a very simple C# exe (console app that says Hello World, and loops
from 1-100 printing the numbers) compiled using .NET 4.0.
I have Cygwin configured with Exports etc.. And Mono 2.10-8 installed.
That is I installed packages gcc-mingw, mingw-zlib and pkg-config for
cgywin
Modified .bashrc to include:
export PATH=$PATH:/cygdrive/c/Mono-2.10.8/bin
export PKG_CONFIG_PATH=/cygdrive/c/Mono-2.10.8/lib/pkgconfig
When I try to bundle the exe I get the following:
$ mkbundle -o testBundle.exe testme.exe --deps -z
OS is: Windows
Sources: 1 Auto-dependencies: True
embedding: C:\cygwin\home\Andrew\testme.exe
compression ratio: 40.73%
embedding: C:\Mono-2.10.8\lib\mono\4.0\mscorlib.dll
compression ratio: 34.98%
Compiling:
as -o temp.o temp.s
gcc -mno-cygwin -g -o testBundle.exe -Wall temp.c `pkg-config --cflags
--libs mono-2|dos2unix` -lz temp.o
temp.c: In function `main':
temp.c:174: warning: implicit declaration of function `g_utf16_to_utf8'
temp.c:174: warning: assignment makes pointer from integer without a cast
temp.c:189: warning: assignment makes pointer from integer without a cast
/cygdrive/c/Users/Andrew/AppData/Local/Temp/ccQYOVxf.o: In function `main':
/home/Andrew/temp.c:174: undefined reference to `_g_utf16_to_utf8'
/home/Andrew/temp.c:189: undefined reference to `_g_utf16_to_utf8'
collect2: ld returned 1 exit status
[Fail]
Any ideas ?
Also it would appear that 'static' is not supported on Windows ? (see below)
$ mkbundle -o test.c --static testme.exe --deps -z
OS is: Windows
The option `--static' is not supported on this platform.
Is porting the static command option to window a large task ?
Thanks
Andrew Tierney
CastleSoft Pty Ltd.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/mono-osx/attachments/20120313/be702540/attachment.html>
More information about the Mono-osx
mailing list