This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Cross Compiler Host MinGW Target PowerPC
- From: Brian Dessent <brian at dessent dot net>
- To: Sebastian Ebenbeck <seb at work-gmbh dot de>
- Cc: MSX to GCC <gcc-help at gcc dot gnu dot org>
- Date: Mon, 20 Nov 2006 03:39:37 -0800
- Subject: Re: Cross Compiler Host MinGW Target PowerPC
- References: <C179FB32.19224%eljay@adobe.com> <45618A5D.9060302@work-gmbh.de>
- Reply-to: gcc-help at gcc dot gnu dot org
Sebastian Ebenbeck wrote:
> Thank you for your help!
> I have read some good informations in the Web and use now a combined
> build tree.
> So I am able to compile the GCC in Linux now!
> Today I tried the same procedure in MinGW and fail.
You need to provide more information. What *exact* configure command
are you using, specifically what are you providing for --host, --build,
--target, and --prefix? What is the build host, MSYS or Cygwin? Are
you providing a relative path to the location of configure or an
absolute path?
> build/gengtype.exe
> /home/seb/combined/gcc/input.h: No such file or directory
Here it looks like you have a mingw program trying to access posix
paths. That won't work, mingw programs need to use win32 paths.
> The output from "ls -l /home/seb/combined/gcc/input.h"
> -rw-r--r-- 2 seb Administ 2896 Jun 25 2005
> /home/seb/combined/gcc/input.h
This works because ls is a MSYS or Cygwin app, not a native app, so it
understands posix paths and knows how to map /home/seb to a Windows
path. Or at least that's my guess, because you didn't give enough
information to know for sure.
Brian