Hi Sascha,

Am Sonntag, den 17.06.2007, 13:20 +0200 schrieb Sascha Silbe:
> > As for the system types: I didn't know the difference between host and 
> > target.
> Target system: The system the final product (e.g. aqbanking) will be 
> used on.
> Build system: The system the final product is built on.
> Host system: The system the build tools (gcc et al.) are built on.
> 
> Native compiler: Host=Build=Target
> "Normal" cross-compiler: Host=Build!=Target
> Canadian cross-compiler: Host!=Build!=Target

I am sorry, this is not at all how I understand the issue.

For building tools that generate code, like compilers:

http://www.delorie.com/gnu/docs/gcc/gccint_6.html

* the machine you are building on (build)
* the machine that you are building for (host)
* the machine that GCC will produce code for (target)

I.e. I think you mixed up build and host.

> For aqbanking, you probably don't need to worry about the Canadian cross 
> case. It's mostly for compilers.

That is right.  Regarding general autoconf packages

http://www.gnu.org/software/autoconf/manual/autoconf-2.57/html_chapter/autoconf_11.html#SEC126

--build=build-type
        the type of system on which the package is being configured and
        compiled. It defaults to the result of running config.guess.
--host=host-type
        the type of system on which the package will run. By default it
        is the same as the build machine. Specifying it enables the
        cross-compilation mode.
--target=target-type
        the type of system for which any compiler tools in the package
        will produce code (rarely needed). By default, it is the same as
        host.

> > Yeah, but I don't know at all how this could be replaced, because for 
> > several things a file is search implicitly on the build system whereas 
> > is is needed on the host system.
> That's one of the major problems of cross-compiling and one of the 
> reasons I _hate_ GNU auto*.

I will not second this, because from my point of view cross-compiling is
a non-trivial issue and needs care.  The autotools have some features to
detect cross-compiling and will deactivate build-specific tests.  It
will not try to understand custom checks though.

> CU Sascha

-- andi5



-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Aqbanking-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/aqbanking-devel

Reply via email to