This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: GCC 3.0 Status Report
Franz Sirl wrote:
>
> At 12:42 12.06.2001, Joseph S. Myers wrote:
> >All the Objective C tests fail with --enable-shared if the relevant shared
> >libraries aren't installed somewhere the dynamic linker searches. This
> >isn't a regression, but gives a very bad impression to installers that the
> >ObjC compiler is completely broken, and I think it ought to be fixed for
> >3.0. Could the Objective C maintainer look at this (PR objc/2145)?
>
> Well, I did
>
> <http://gcc.gnu.org/ml/gcc-patches/2001-04/msg01394.html>
>
> which fixes the problem for me. I think it's the right approach (same as we
> do for C++), but I would like to have a better method to detect ObjC
> compilation than to check for file extensions.
I poked around a bit, but couldn't think of anything better than
what your patch does. infiles[i].language contains the actual
language to use for each file, but it's not yet set up when
lang_specific_driver is called.
So I'd say to go with what you have, for the branch at least, and
the trunk too if nobody has any other suggestions.
Stan