This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: libtool


>-----Original Message-----
>From: Yves Rutschle [mailto:y.rutschle@indigovision.com]
>Sent: 22 March 2001 11:07

>development host (namely, I develop on a i586-linux for arm-linux).

>configure --host=arm-linux --build=i586-linux --target=i586-linux
>--prefix=$prefix
>
>and the produced ldd works (so it is compiled for i586), tries to run
>$prefix/$target/lib/ld-linux.so.2 which, well, fails because it's an arm
>library.

  --build is the machine on which you are building the tools.

  --host is the machine on which you wish to run the tools.

  --target is the machine which you want the tools to produce code for.

  So in your case, --build and --host are i586-linux, and --target is
arm-linux.

  I don't know why the produced ldd works, since it should be designed
to run on --host = arm-linux.  I suspect you may not have been running
the version you just compiled, but some pre-existing version on your
machine?  In any case, you definitely want build = host = i586-linux
and target = arm-linux.

      DaveK
-- 
 All your base are belong to us!


**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.

www.mimesweeper.com
**********************************************************************

------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]