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]

Re: Crossbuilding a native compiler (was: Re: Your Crosstool script)


Catani, Antonio wrote:
Hi Dan, first of all THANK You for the script, its' so beautiful and
functional.

You're welcome!


A little question, it's possibile define in script or via command-line
the directory where put the toolchain? I would like set this dir not
like gcc-3.2.3-glibc-2.2.5 but like /opt/sparc

You can do that easily. Just edit the path specified in all.sh. Or better yet, leave the path the same, and make /opt/sparc a symlink :-)

Another question, it's possible build a native compiler with your
script? If yes, could point me to some infos about it?

You're not the first to ask. See http://sources.redhat.com/ml/crossgcc/2003-09/msg00041.html Antonio reports "Gcc shouldn't be a problem. Binutils is the one that fails. I tried compiling it with --host=$TARGET. Unfortunately halfway into building it, it attempts to run an executable it just built and dies." Sounds like a little autotools expertise is needed here. I haven't gotten a round tuit yet, though.

- Dan

--
Dan Kegel
http://www.kegel.com
http://counter.li.org/cgi-bin/runscript/display-person.cgi?user=78045


------ 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]