On Fri, Oct 08, 2010 at 12:05:43PM +0200, Mike Hommey wrote:
> On Fri, Aug 27, 2010 at 01:14:55PM +0200, Matthias Klose wrote:
> > On 27.08.2010 13:03, Mike Hommey wrote:
> > >On Fri, Aug 27, 2010 at 12:32:23PM +0200, Matthias Klose wrote:
> > >>Package: dehydra
> > >>Tags: patch
> > >>
> > >>the gcc-4.5 in experimental has a backport from current trunk to
> > >>search for plugins in the plugin directory. Install the plugin in
> > >>this directory and a user doesn't need to know to the installation
> > >>location of the plugin (changed the generic "libs" name to
> > >>"dehydra-libs".
> > >
> > >Thanks for the patch. What version of gcc-4.5 was this backport
> > >introduced in ?
> > 
> > 4.5.0-5 should work ok.
> 
> Something happened to gcc that makes your patch not working:
> 
> $ gcc-4.5 -print-file-name=plugin
> plugin
> $ gcc-4.5 -dumpversion
> 4.5.1
> 
> Also note that the sed part in
> plugin_dir := $(shell $(CC) -print-file-name=plugin | sed 
> 's,\(/4\.[0-9]\)\.[0-9],\1,')
> 
> should really be done by gcc itself, if that modified path is supposed
> to be the canonical path used by gcc.

So, "gcc-4.5 -print-file-name=" does apparently return the right thing.
OTOH, g++-4.5 -fplugin=gcc_dehydra.so doesn't look up in that
directory...

Mike



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to