On Fri, 21 Apr 2000, Earnie Boyd wrote:

> --- Pavel Roskin <[EMAIL PROTECTED]> wrote:
> -8<-
> > Well, this thread began with a message from Mo DeJong <[EMAIL PROTECTED]>
> > (Cygnus dot Com !!!) who tried to use --target where is should have been
> > --host.
> > 
> 
> I wouldn't give too much credance to (Cygnus dot Com), newbies do exist there
> too, not that I'm calling Mo DeJong a newbie.  I believe Mo came from Red Hat
> which now owns Cygnus.

Yup, I am a newbie to cross compiling. I just got my first Linux cross
cywin build humming the other day and after a long night of patching
autoconf, I was able to use ./configure to cross compile. As a
"new user", the main thing I can tell you is that the docs for autoconf
are rather hard to use.

For instance, here is what the autoconf docs say in reguards to
cross compiling with autoconf.

If the user gives configure a non-option argument, it is used as the
default for the host, target, and build system types
if the user does not specify them explicitly with options. The target and
build types default to the host type if it is given and
they are not. If you are cross-compiling, you still have to specify the
names of the cross-tools you use, in particular the C
compiler, on the configure command line, e.g., 

CC=m68k-coff-gcc configure --target=m68k-coff


See that --target option? If that is not confusing I don't know
what is.

Mo Dejong
Red Hat Inc.


Reply via email to