This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Wrapper cross-compiler does not work anymore with gcc-3.3
- From: Santiago Vila <sanvila at unex dot es>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sun, 27 Jun 2004 18:18:05 +0200 (CEST)
- Subject: Wrapper cross-compiler does not work anymore with gcc-3.3
Hello.
There is a Debian package called gcc-i386-gnu which is a cross-compiler
for i386-gnu (i.e. the Hurd). This package is created by a script
called make-cross, written by Gordon Matzigkeit, and it's basically a
shell wrapper around the "normal" gcc installed in the system. In fact,
at the end of the script, it does something like this:
exec /usr/bin/gcc-3.2 -b i386-gnu -nostdinc \
$gpp_args -isystem /usr/lib/gcc-lib/i386-gnu/3.2.3/include \
-isystem /usr/i386-gnu/include \
${1+"$@"} $rpath_link
The problem: This trick does not work anymore with gcc-3.3.
It tries to execute /usr/bin/i386-gnu-gcc-3.3.3, which does not exist.
[ There is a small discussion about this in http://bugs.debian,org/236456 ]
I'm not sure whether or not I should consider this as a bug in gcc,
for breaking this wrapper script. In either case, what I would like to
know is:
Is there still a way to make a cheap cross-compiler by wrapping gcc,
or should I consider this method "no longer supported"?
Thanks.