Re: Testing of auto-built packages
On Wednesday 30 April 2003 14:18, Berin Lautenbach wrote:
> So the question is, is it permissable to put such a basic test of a
> library into the rules file that gets executed as part of the build
> process? If so, are there any guidelines anywhere as to how one
>
> The test would involve compiling an extra piece of source and having
> the makefile run it (similar to "make test" on many systems).
It's the right time to contemplate how Cross-Builds/Compilation works!
(and why they don't, if you don't ;-)
You must seperate the Tools (cc, ar, ld, ...) and Flags (CCFLAGS, ...)
for the HOST build from the TARGET build.
Alternatively perform your tests using a cpu independent langugage
(sh, perl, ...).
martin
Reply to: