Article View: gnu.gcc.help
Article #42777[NEW-USER QUESTION] Building a cross-compiler (GCC-2.7.0 under Linux 1.2.13/ELF)
From: Matthew X Economou
Date: Fri, 20 Oct 1995 00:00
Date: Fri, 20 Oct 1995 00:00
30 lines
1951 bytes
1951 bytes
Hello All. I have recently (re-)installed Linux using the RedHat distribution, which neglects to bundle a a.out (the original Linux executable format) C compiler. I decided to rebuild the ELF version (i486-*-linux) of GCC from source (adding in F77 support), then build the cross-compiler for a.out (i486-*-linuxaout). The ELF compiler build went fine. Yay for FSF! But I'm a little confused as to how the install works in the case of building a cross-compiler. I have the necessary bins/libs in /usr/i486-linuxaout (as according to the gcc/INSTALL file), but when I build the a.out-format CC, won't "make install ..." place this cross-compiler in /usr/bin, making a.out the only format the gcc driver operates to (or defaults to)? I'm also unsure of what configure command to issue (is it simply "./configure --target=i486-linuxaout --host=i486-unknown-linux" or something more esoteric?) Would someone please explain the process of building and installing a cross-compiler, for as you can see, I'm having a difficult time with it. Thank you! -- Matthew Xenophon Economou - The Nemesis Project - (Finger/WWW for PGP key.) WWW: http://www.rose-hulman.edu/~econommx/ Email: econommx@rose-hulman.edu "Just remember love is life, and hate is living death..." - Black Sabbath
Technical Details
Message-ID:
<ECONOMMX.95Oct20144236@yellow.nextwork.rose-hulman.edu>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11318c,535f86fc4d62209f,start X-Google-Attributes: gid11318c,public X-Google-Thread: 114574,535f86fc4d62209f,start X-Google-Attributes: gid114574,public From: econommx@yellow.nextwork.rose-hulman.edu (Matthew X Economou) Subject: [NEW-USER QUESTION] Building a cross-compiler (GCC-2.7.0 under Linux 1.2.13/ELF) Date: 1995/10/20 Message-ID: <ECONOMMX.95Oct20144236@yellow.nextwork.rose-hulman.edu> X-Deja-AN: 117854677 distribution: world organization: MX Consulting followup-to: gnu.gcc.help reply-to: econommx@rose-hulman.edu newsgroups: gnu.gcc.help,rhit.linux