On Tue, 2005-11-08 at 14:10 +0100, Harald Dunkel wrote:
> Hi Ralf,
> 
> Ralf Corsepius wrote:
> > On Tue, 2005-11-08 at 08:15 +0100, Harald Dunkel wrote:
> > 
> >>Hi folks,
> >>
> >>I would like to build 32bit and 64bit libraries within the
> >>same  Makefile.am. In the install directory tree the libs
> >>should get the same name, but the 64bit library is supposed
> >>to be installed in ${exec_prefix}/lib64, of course.
> >>
> >>Obviously automake can't distinguish libraries in the
> >>build directory using the destination directory name.
> >>What is your suggested way to handle this "in the
> >>Automake style"?
> > 
> > You either want to add multilib-support  (cf. AM_ENABLE_MULTILIB,
> > config-ml.in) to your configuration or leave this case to the user (i.e.
> > let him build the package twice, with different CFLAGS and directories)
> > 
> 
> Many thanx for the hint. I will try to make it work.
> 
> Do you know whether this is in use somewhere,

Well it's not widely used, nevertheless, GCC and a couple of packages
related to it use it. I for one, am actively using automake multilibs
for RTEMS.

>  or
> this this too experimental yet?
Admitted, it's pretty immature and not easy to use, but it definitely is
usable or at least can be made usable.

Ralf





Reply via email to