mingw-cross-env-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Mingw-cross-env-list] error when compiling gcc


From: hoijui
Subject: Re: [Mingw-cross-env-list] error when compiling gcc
Date: Mon, 31 May 2010 19:56:43 +0200

thanks a lot Tony!

did that, and attached the error log.
to make it short, it fails with the same error, so yeah... i guess you
are right with gentoo having a problem there. :/

Gentoo has crossdev (a script that helps in compiling different
cross-compilers with little effort, much like your script), which i
used so far. but i need Dwarf2, and crossdev still uses SJLJ for
MinGW.

thanks for the help!

robin

2010/5/31 Tony Theodore <address@hidden>:
> On 31 May 2010 04:18, hoijui <address@hidden> wrote:
>> Hey Tony :-)
>> Thanks for having a look at this.
>> When i copy the compile command of version.cpp, and execute it on the
>> command line, i get the same message (missing terminating "), but as a
>> warnings instead of as an error.
>
> That may be some environment variables you have set that the makefile unsets.
>
>> The following is attached in the attached zip file:
>> /home/userX/src/mingw-cross-env/log/gcc
>>
>> $ gcc -v
>> Using built-in specs.
>> Target: x86_64-pc-linux-gnu
>> Configured with:
>> /var/tmp/portage/sys-devel/gcc-4.3.4/work/gcc-4.3.4/configure
>> --prefix=/usr --bindir=/usr/x86_64-pc-linux-gnu/gcc-bin/4.3.4
>> --includedir=/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.4/include
>> --datadir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.3.4
>> --mandir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.3.4/man
>> --infodir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.3.4/info
>> --with-gxx-include-dir=/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.4/include/g++-v4
>> --host=x86_64-pc-linux-gnu --build=x86_64-pc-linux-gnu
>> --disable-altivec --disable-fixed-point --enable-nls
>> --without-included-gettext --with-system-zlib --disable-checking
>> --disable-werror --enable-secureplt --enable-multilib
>> --enable-libmudflap --disable-libssp --enable-libgomp --disable-libgcj
>> --enable-languages=c,c++,treelang,fortran --enable-shared
>> --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu
>> --with-bugurl=http://bugs.gentoo.org/ --with-pkgversion='Gentoo 4.3.4
>> p1.0, pie-10.1.5'
>> Thread model: posix
>> gcc version 4.3.4 (Gentoo 4.3.4 p1.0, pie-10.1.5)
>>
>> $ uname -a
>> Linux pc1 2.6.31-gentoo-r6 #9 SMP Mon May 3 09:39:56 CEST 2010 x86_64
>> AMD Athlon(tm) II X4 620 Processor AuthenticAMD GNU/Linux
>
> Unfortunately, I can't see anything there that stands out, there's
> some previous i686-pc-mingw32 cross compilers there, but they
> shouldn't have anything to do with this problem.
>
> Can you try building a native GCC 4.5? I notice here:
>
> http://packages.gentoo.org/package/sys-devel/gcc
>
> that it doesn't seem to be supported yet, but if you could just do a
> minimal configure and build, it may help to isolate it. I've attached
> a file that you can drop in the mingw-cross-env/src directory and then
> do:
>
> make gcc-native-build
>
> If that fails, then it's very likely to be a problem with gcc on gentoo.
>
> Tony
>

Attachment: log.zip
Description: Zip archive


reply via email to

[Prev in Thread] Current Thread [Next in Thread]