Obsolete building in source dir?

Kai Henningsen kaih@khms.westfalen.de
Sat Sep 18 15:14:00 GMT 2004


aoliva@redhat.com (Alexandre Oliva)  wrote on 17.09.04 in <oru0twubfc.fsf@free.redhat.lsd.ic.unicamp.br>:

> On Sep 16, 2004, Ralf Corsepius <rc040203@freenet.de> wrote:
>
> > Instead of doing this you could consider to systematically using
> > $host(_alias), $build(_alias), $target(_alias) builddir-subdirectories,
> > no matter if cross-compiling or not.
>
> This wouldn't quite work if we actually need different builds for say
> build, host and target, but they're all the same.

That's trivial to fix by using a {host,build,target}- prefix.

MfG Kai



More information about the Gcc mailing list