This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: libstdc++ multilibs installed where gcc won't find them


On Sun, Feb 09, 2003 at 06:24:04PM -0500, David Edelsohn wrote:
> 	As Albert Chin points out, the following line in zlib configure
> assumes CC is GCC:
> 
> toolexeclibdir=$toolexeclibdir/`$CC -print-multi-os-directory 2>/dev/null || echo .`
> 
> This assignment is fine when zlib is built as a target library, but not as
> a build library using the native compiler at bootstrap.  All platforms
> using a non-GCC compiler to boostrap will have problems.

I don't think this is a problem. We can successfully bootstrap GCC
3.2.2 with the Sun, Compaq, and HP compilers. What is odd is that, on
AIX 4.3.2, the following will print '.' but when it's run during
zlib/configure it prints the compiler usage message. That's what I'm
trying to understand.
  $ /bin/sh
  /usr/vac/bin/cc -print-multi-os-directory 2>/dev/null || echo .

-- 
albert chin (china@thewrittenword.com)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]