On 08.10.2010 12:05, 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

$ gcc-4.5 -print-file-name=plugin
/usr/lib/gcc/x86_64-linux-gnu/4.5.1/plugin

works for me (amd64). does the directory exist?

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.

this is expected. gcc-4.5 still has the -V option. If you want to help, please submit a patch upstream which introduces a configure option --with-version-alias, that allows setting the name of this directory. Are you interested to work on this?

  Matthias



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

Reply via email to