2013/6/26 <foru...@smartmobili.com>

> Hi,
>
> I am trying to build rubenvb toolchain
> (gcc-4.7.4-release_rubenvb.tar.xz) on msys/mingw host and I have some
> error when compiling
> gcc-c because I get the following error :
>
> build/gengtype.exe  \
>                      -S /home/Vincent/gcc-build/src/gcc/gcc -I
> gtyp-input.list -w tmp-gtype.state
> /home/Vincent/gcc-build/src/gcc/gcc/../libcpp/include/line-map.h: No
> such file or directory
> make[1]: *** [s-gtype] Error 1
> make[1]: *** Waiting for unfinished jobs....
> make[1]: Leaving directory
> `/home/Vincent/gcc-build/mingw32mingw32/gcc/gcc'
> make: *** [all-gcc] Error 2
>
> I found some threads talking about that and guess what the author was
> ruben :-) :
>
> http://comments.gmane.org/gmane.comp.gnu.mingw.w64.general/2990
>
> http://sourceforge.net/mailarchive/forum.php?thread_name=From_noreply%40sourceforge.net_Mon_Jul_11_14%3A20%3A41_2011&forum_name=mingw-notify
>
>  From this source above I understand that the problem comes from path
> inside gtyp-input.list are not absolute and indeed when I look
> at it I get something like :
>
> /home/Vincent/gcc-build/src/gcc/gcc/../libcpp/include/line-map.h
> /home/Vincent/gcc-build/src/gcc/gcc/../libcpp/include/cpplib.h
> /home/Vincent/gcc-build/src/gcc/gcc/../libcpp/include/cpp-id-data.h
> /home/Vincent/gcc-build/src/gcc/gcc/input.h
> /home/Vincent/gcc-build/src/gcc/gcc/coretypes.h
> ...
>
> I also found a post here
> http://gcc.gnu.org/ml/gcc/2009-07/msg00087.html talking about that
> and that could be a solution for my problem so I tried the suggestion
> but it introduces another problem because now
> the path are absolute but root path is weird (/usr instead of /):
>
>
> /usr/home/Vincent/gcc-build/src/gcc/libcpp/include/line-map.h
> /usr/home/Vincent/gcc-build/src/gcc/libcpp/include/cpplib.h
> /usr/home/Vincent/gcc-build/src/gcc/libcpp/include/cpp-id-data.h
> /usr/home/Vincent/gcc-build/src/gcc/gcc/input.h
> /usr/home/Vincent/gcc-build/src/gcc/gcc/coretypes.h
> ...
>
> So my question is : is is supposed to be possible to build toolchain on
> msys/mingw ?
>

It should be possible, mingw-builds does this.

You could try the MSYS2 alpha packages linked on this mailing list. They
seem quite solid already.

I have always built my toolchains in a Linux VM, for obvious reasons (speed
and problems like the one you ran into).

Ruben


>
> Thanks
>
>
>
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by Windows:
>
> Build for Windows Store.
>
> http://p.sf.net/sfu/windows-dev2dev
> _______________________________________________
> Mingw-w64-public mailing list
> Mingw-w64-public@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
>
------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to