[Mono-list] mkbundle on Windows problem

Andrey Khropov andrey.khropov at gmail.com
Sat Jan 27 14:49:50 EST 2007


Hello all,

I have a problem running mkbundle on Windows (as, gcc and gcc-mingw Cygwin
packages are installed).

It outputs the following (running from a Cygwin's bash shell):

--------------------------------------------------------------------------
$ mkbundle2 --deps out.exe
OS is: Windows
Sources: 1 Auto-dependencies: True
   embedding: d:\benchmarks\features\out.exe
   embedding: d:\Development\Mono\lib\mono\2.0\mscorlib.dll
Compiling:
as -o temp.o temp.s
gcc -mno-cygwin -g -o a.out -Wall temp.c `pkg-config --cflags --libs mono`  temp
.o
[Fail]
--------------------------------------------------------------------------
(and one another shell window opens for a short period of time showing 
': No such file or directory')

I suspect that maybe the problem is in the different pathnames used in Cygwin
(like '/cygdrive/d/development/mono' instead of 'd:\Development\Mono') and that
'pkg-config --cflags --libs mono' outputs pathnames in a standard windows
format:

--------------------------------------------------------------------------
$ pkg-config --cflags --libs mono
-mno-cygwin -Id:/Development/Mono/include -Id:/Development/Mono/include/glib-2.0
 -Id:/Development/Mono/lib/glib-2.0/include  -mno-cygwin -Ld:/Development/Mono/l
ib -lmono -lm -lgmodule-2.0 -lgthread-2.0 -lglib-2.0 -lintl -liconv
--------------------------------------------------------------------------

So I need some advice how to overcome this path problem. Thank you in advance.

-- 




More information about the Mono-list mailing list