Re: Building avr-gcc - problems with directories

Volker Kuhlmann <[email protected]>
Newsgroups gmane.comp.hardware.avr.gcc
Message-ID <[email protected]>
On Mon 16 Sep 2013 19:33:25 NZST +1200, Joerg Wunsch wrote:

> You have to include $PREFIX/bin into your PATH.

Yes I had always done that, but it didn't help.

> Just keep it as --prefix=/usr/avr, and let it decide about the rest
> by itself.

> /usr does work.

Thanks for confirming, I now got this to work without problems. It is
necessary to use --libdir and --libexecdir because the system's libdir
is not /usr/lib, and libexec is never used. It still works for prefix =
/usr so all is well.

> The only clashes I know of are related to documentation files and
> perhaps internationalization (message catalogs).

Yes, and that can be solved. Thanks for your avr-man script, but it has
parts of the man path hard-coded so I had to patch it up. It also fails
to distinguish between docdir and mandir and uses the docdir path for
the location of the man pages - not useful in my case. Consider
introducing a MAN_INST_DIR at the appropriate location in Makefile.in
and avr-man.in.

Thanks again,

Volker

-- 
Volker Kuhlmann
http://volker.dnsalias.net/	Please do not CC list postings to me.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.