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] |
>-----Original Message----- >From: Mark Keates [mailto:markk@dendrite.co.uk] >Sent: 21 May 2001 14:55 >> You have your host and build and target mixed up; You want >> Glibc to run on a m68k therefore target=host=m86k-linux, >> and build=i586-cygwin. You'll probably need to set >> CC=i586-pc-cygwin-gcc before make, too. >> >> Have a look at the "INSTALL" file that comes with glibc, it's >> full of useful things. >Thanks for that, I've used this configuration: > >/gnu/build-glibc > ../glibc-2.2.2/configure --verbose >--host=m68k-unknown-linux > --target=m68k-unknown-linux --build=i586-pc-cygwin --prefix=/gnu > --with-headers=/gnu/linux/include --enable-add-ons=linuxthreads I'm afraid you seem to have been given the wrong advice, target and host should not be the same thing. build : the machine you are building the crosscompiler on. - in your case, your cygwin pc. host : the machine the finished crosscompiler should run on. - still your cygwin pc. target : the machine which the finished crosscompiler should produce binaries for. - your m68k linux system. So if I've followed you right, you want host = build = i586-pc-cygwin, because you want to build this compiler under cygwin, and you want it to run under cygwin, but you want it to produce output for m68k-linux, which is the target. With target==host, you would get a compiler that you could only run on your m68k-linux system, i.e. a native compiler that you build by crosscompiling it on build. DaveK -- *** RIP: Douglas Adams. So long, and thanks for all the books. *** ********************************************************************** 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] |