[Mono-list] Error when using mkbundle

Robert Jordan robertj at gmx.net
Sat Mar 7 13:27:02 EST 2009


djzmo wrote:
> Well, I got another problem..
> 
> $ mkbundle Application.exe
> OS is: Windows
> Sources: 1 Auto-dependencies: False
>    embedding: E:\Mono-2.2\Application.exe
> Compiling:
> as -o temp.o temp.s
> gcc -mno-cygwin -g -o a.out -Wall temp.c `pkg-config --cflags --libs
> mono|dos2un
> ix`  temp.o
> gcc: installation problem, cannot exec 'cc1': No such file or directory
> [Fail]
> 
> I downloaded & extracted gcc-core-3.4.4-3 and binutils-20080624-2 but both
> of them didnt contain cc1.exe (well, the gcc-core-3.4.4-3 does have it; but
> in another directory. and if I move it to the root dir or /bin dir, it will
> return another *longer* error messages.)
> 
> any ideas? :thinking:

Reinstall cygwin until you can compile this:

/* foo.c */
int
main (void)
{
	return 0;
}

$ gcc -mno-cygwin -o foo.exe foo.c


Robert



More information about the Mono-list mailing list