[Top][All Lists]

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

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

From: hoijui
Subject: Re: Re: [Mingw-cross-env-list] error when compiling gcc
Date: Sun, 30 May 2010 23:06:33 +0200

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.

The following is attached in the attached zip file:

$ gcc -v
Using built-in specs.
Target: x86_64-pc-linux-gnu
Configured with:
--prefix=/usr --bindir=/usr/x86_64-pc-linux-gnu/gcc-bin/4.3.4
--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

2010/5/30 Tony Theodore <address@hidden>:
> On 30 May 2010 22:11, hoijui <address@hidden> wrote:
>> Hello,
>> This is with current dev version (cloned from mercurial), but i
>> remember having had hte exact same problem last time i tried this
>> script, over a year ago, on a different computer, with different OS.
>> -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes
>> -Wmissing-format-attribute -pedantic -Wno-long-long
>> -Wno-variadic-macros -Wno-overlength-strings -Wold-style-definition
>> -Wc++-compat   -DHAVE_CONFIG_H -I. -I.
>> -I/home/userX/src/mingw-cross-env/tmp-gcc/gcc-4.5.0/gcc
>> -I/home/userX/src/mingw-cross-env/tmp-gcc/gcc-4.5.0/gcc/.
>> -I/home/userX/src/mingw-cross-env/tmp-gcc/gcc-4.5.0/gcc/../include
>> -I/home/userX/src/mingw-cross-env/tmp-gcc/gcc-4.5.0/gcc/../libcpp/include
>> -I/home/userX/src/mingw-cross-env/tmp-gcc/gcc-4.5.0/build/./gmp
>> -I/home/userX/src/mingw-cross-env/tmp-gcc/gcc-4.5.0/gmp
>> -I/home/userX/src/mingw-cross-env/tmp-gcc/gcc-4.5.0/build/./mpfr
>> -I/home/userX/src/mingw-cross-env/tmp-gcc/gcc-4.5.0/mpfr
>> -I/home/userX/src/mingw-cross-env/tmp-gcc/gcc-4.5.0/mpc/src
>> -I/home/userX/src/mingw-cross-env/tmp-gcc/gcc-4.5.0/gcc/../libdecnumber
>> -I/home/userX/src/mingw-cross-env/tmp-gcc/gcc-4.5.0/gcc/../libdecnumber/dpd
>> -I../libdecnumber     \
>>        -DBASEVER="\"4.5.0\"" -DDATESTAMP="\"\"" \
>>        -DREVISION="\"\"" \
>>        -DDEVPHASE="\"\"" -DPKGVERSION="\"(GCC) \"" \
>>        -DBUGURL="\"<http://gcc.gnu.org/bugs.html>\"" -c
>> /home/userX/src/mingw-cross-env/tmp-gcc/gcc-4.5.0/gcc/version.c -o
>> version.o
> That seems to be exactly the same as one of my logs, though it doesn't
> cause an error.
>> gcc: ": No such file or directory
>> <command-line>: warning: missing terminating " character
>> /home/userX/src/mingw-cross-env/tmp-gcc/gcc-4.5.0/gcc/version.c:36:
>> error: missing terminating " character
>> /home/userX/src/mingw-cross-env/tmp-gcc/gcc-4.5.0/gcc/version.c:36:
>> error: expected expression before ';' token
>> when i replace this:
>>  -DPKGVERSION="\"(GCC) \""
>> with this:
>>  -DPKGVERSION="\"(GCC)\""
>> (removing the space after "(GCC)" )
>> it works.
>> I have no idea why, but if you can figure out why. I experimented, and
>> found out that it happens whenever there is a space character in
>> there, no matter where in the string.
>> in tmp-gcc/gcc-4.5.0/gcc/configure, i found this:
>> which is the origin of that string.
> That must have taken some time to track down, though I don't think
> it's the root of the problem.
>> now... i kind of feel helpless here. i can not change the thing in the
>> temp folder, cause it will be overwritten, i can not repack it into
>> gcc-4.5.0.tar.bz2, cause the checksum will be different.
> You could change the checksum.. just kidding. Can you send the full log file
>  /home/userX/src/mingw-cross-env/log/gcc
> you may need to compress it first. Also, could you send the output of:
> gcc -v
> Thanks,
> Tony

Attachment: log.zip
Description: Zip archive

reply via email to

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