This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug other/47591] libiberty Makefile uses native cc (solaris) with option -print-multi-os-directory
- From: "michael.haubenwallner at salomon dot at" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 09 Sep 2011 15:32:53 +0000
- Subject: [Bug other/47591] libiberty Makefile uses native cc (solaris) with option -print-multi-os-directory
- Auto-submitted: auto-generated
- References: <bug-47591-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47591
--- Comment #2 from Michael Haubenwallner <michael.haubenwallner at salomon dot at> 2011-09-09 15:32:53 UTC ---
Created attachment 25235
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=25235
output of 'gmake install' for gcc-4.6.1, using xlc v6 on aix5.3
Same here, however with gcc-4.6.1 (as well as gcc-4.5.3) on
powerpc-ibm-aix5.3.0.0 (gmp configured with ABI=32).
As xlc (used as cc) doesn't understand -print-multi-os-directory, it does print
its manpage to stdout, passed to 'mkdir' as arguments.
Luckily I've not done the 'make install' as root, otherways I would have
something like a new directory "/dev/null." now.
So please take into account that "mkdir `cc --help`" gets run with AIX xlc.
Thank you!
BTW: Detecting CC="cc -qlanglvl=extc89" exposed another (minor) problem in the
toplevel Makefile, eventually setting LDFLAGS="-Wl,-bbigtoc" when using gcc as
host compiler - see the first two lines in this output file for the results.
However, this doesn't lead to any build error.