On Mon, 2009-10-19 at 19:24 +0200, Øyvind Harboe wrote:
> I'd like to see openocd forbidding build == src dir:

Not a good idea.

> - it creates extra test cases. We minimally need to support
> build != src dir.
> 
> - there can be hard to track errors such as bin2char being
> left in src/helper and subsequently trying to use build !=
> src dir will fail.
> 
> Is there any reason why we *should* allow build == src
> dir?
> 
> (gcc forbids buld == src dir I think...)

I just pushed a patch that fixed some problems with the build system, so
some of these issues may be resolved.

FWIW, to test out-of-tree building (even when configured for an in-tree
build), you can run 'make distcheck'.  It performs a thorough set of
tests (configure, build, install, uninstall) that can flush out other
subtle packaging bugs (e.g. leaving files behind after 'make clean').

Cheers,

Zach
_______________________________________________
Openocd-development mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to