For example, I'm writing a lib named mylib. The library contain a .pc file:
instdir = ${libdir}/pkgconfig
inst_DATA = mylib.pc
And I want that *.so goes in /usr/lib/mylib/ and *.pc goes in
/usr/lib/pkgconfig/
./configure --libdir=/usr/lib/mylib will install *.so into correct
direcotry, however *.
Never mind.
set "CC = clang" in Makefile.am would work, however, I forgot it.
On Thu, Sep 9, 2010 at 2:22 PM, Lyre <417...@gmail.com> wrote:
> I would like use clang as the default compiler rather than gcc. Is there an
> option to specify it ?
>
I would like use clang as the default compiler rather than gcc. Is there an
option to specify it ?
In Makefile.am, I wrote an custom rule which append the program's path to
the startup script. it looks like:
echo $(datadir)/myprogram/program-name $OPTIONS >> /bin/program-name
I want to get :
/usr/share/myprogram/program-name $OPTIONS
however, waht I accully get is :
/usr/share/