On Thu, 30 Jan 2014 19:20:37 -0500
Adam Jensen <han...@riseup.net> wrote:

> Thanks for the responses! Setting user aliases, environment
> variables, and passing variables through *make* seem to take care of
> most of the issue. However, I am currently stuck with this error
> (during a build):
> 
> egcc-ar: Cannot find plugin 'liblto_plugin.so'
> 
> The plugin seems to be present:
> 
> /usr/local/libexec/gcc/i386-unknown-openbsd5.4/4.8.1/liblto_plugin.so.2.0
> 
> I suppose there is an environment variable that points egcc-ar to the
> plugin. I am currently setting:
> 
> GCCLIBEXECDIR==/usr/local/libexec/gcc/i386-unknown-openbsd5.4/4.8.1
> 
> And when I run `gcc -print-search-dirs` that path to
> liblto_plugin.so.2.0 is present in the results.
> 

Oops, the `gcc -print-search-dirs` results actually had some poorly
formed paths due to my mucking about with GCC_EXEC_PREFIX,
COMPILER_PATH, and LIBRARY_PATH. In a fresh shell, the defaults look
fairly reasonable. Currently, the most unusual behavior I see (and it's
a show stopper) is:

$ /usr/local/bin/egcc-ar
/usr/local/bin/egcc-ar: Cannot find binary 'ar'

The tinkering continues...

Attachment: pgpt8FKDaizvi.pgp
Description: PGP signature

Reply via email to