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]
Other format: [Raw text]

Building gcc-2.95 for redhat 6.2 (was: Re: crossgcc compiler forAlphaev6 machine)


murli wrote:
... I want to obtain a cross
compiler for gcc 2.95 for redhat 6.2. Could you e-mail
me the procedure of how I could use crosstool to
generate the compiler?

Sure. It's all documented at


http://kegel.com/crosstool/crosstool-0.28-rc37/doc/crosstool-howto.html

Once you have downloaded and unpacked
http://www.kegel.com/crosstool/crosstool-0.28-rc37.tar.gz
all you have to do is edit demo-i686.sh,
uncomment the gcc-2.95.3-glibc-2.1.3 line, and
run demo-i686.sh.  You'll need to create /opt/crosstool
and make it writable by you first.

Note that you can reliably use that toolchain to build
dynamically linked executables that will run on a redhat 6.2 system, but
if you want statically linked ones, you may want to copy
libc.a from a real redhat 6.2 system just to make sure I
didn't miss any important glibc patches.
- Dan

--
Trying to get a job as a c++ developer?  See http://kegel.com/academy/getting-hired.html

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


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