Kai Tietz writes: > Hi Andrew, > > I tried it and setting the --prefix does not solve the problem. It still > exists :( > But I did some debug prints at the place of gcc.c file, where the > gcc_libexec_prefix is build by make_relative_prefix() and saw that the > path problem is resulting there. > The content before calling of argv[0] is > /usr/local/x86_64-pc-mingw32/bin/gcc > The content before calling of standard_bindir_prefix is /usr/local/bin > The content before calling of standard_libexec_prefix is > /usr/local/libexec/gcc > The result of these pathes for gcc_libexec_prefix is than > /usr/local/x86_64-pc-mingw32/bin/../libexec/gcc Out of interest, why are you doing this? Does a 64-bit port of MinGW exist, or are you porting it? Andrew.