[Top][All Lists]

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

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

From: hoijui
Subject: [Mingw-cross-env-list] error when compiling gcc
Date: Sun, 30 May 2010 14:11:00 +0200

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../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
gcc: ": No such file or directory
<command-line>: warning: missing terminating " character
error: missing terminating " character
error: expected expression before ';' token

when i replace this:
with this:
(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.

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.


reply via email to

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