On Aug 29, 2000, Tom Tromey <[EMAIL PROTECTED]> wrote:
Robert> project-root:
Robert> drv/ src/ inc/ make/ @host@/
> You could probably do this somehow with a lot of hackery. But it
> isn't the automake way -- in particular putting objects into the
> `@host@' directory. Instead we encourage people to use the standard
> GNU `non-srcdir' build feature.
I.e., it's trivially done if you run ../configure within @host@.
Robert> I won't even mention the headaches that I will encounter when
Robert> I go to link the C++ shared libraries... ;)
> These are probably solved, at least if you refer to template
> instantiation problems. You can set the `_AR' variable on a
> per-library basis to the correct CC invocation.
Or you may use the multi-language libtool, that supports building
shared libraries with several C++ compilers.
--
Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist *Please* write to mailing lists, not to me