OSDev.org

The Place to Start for Operating System Developers
It is currently Thu Mar 28, 2024 9:09 am

All times are UTC - 6 hours




Post new topic Reply to topic  [ 7 posts ] 
Author Message
 Post subject: crosstool-ng
PostPosted: Sat Jun 03, 2017 10:33 pm 
Offline
Member
Member
User avatar

Joined: Fri Oct 21, 2011 9:47 pm
Posts: 286
Location: Tustin, CA USA
Hi,

While I know it has not been explicitly discouraged, is there some reason crosstool-ng is not recommended for building a cross-compiler? The web site is: http://crosstool-ng.github.io/

_________________
Adam

The name is fitting: Century Hobby OS -- At this rate, it's gonna take me that long!
Read about my mistakes and missteps with this iteration: Journal

"Sometimes things just don't make sense until you figure them out." -- Phil Stahlheber


Top
 Profile  
 
 Post subject: Re: crosstool-ng
PostPosted: Tue Jun 06, 2017 5:31 am 
Offline
Member
Member
User avatar

Joined: Sun Dec 25, 2016 1:54 am
Posts: 204
my experience has been that I have specific work flow requirements for the order in which I build the cross compilers and libraries. When I tried to integrate crosstool-ng it just became a pain trying to get my requirements met... literally was easier to just use cmake.

others will probably disagree but there you have it.

_________________
Plagiarize. Plagiarize. Let not one line escape thine eyes...


Top
 Profile  
 
 Post subject: Re: crosstool-ng
PostPosted: Tue Jun 06, 2017 7:22 am 
Offline
Member
Member
User avatar

Joined: Thu Nov 16, 2006 12:01 pm
Posts: 7612
Location: Germany
eryjus wrote:
While I know it has not been explicitly discouraged, is there some reason crosstool-ng is not recommended for building a cross-compiler?


Well, the instructions in the OSDev Wiki predate crosstool-ng (v0.0.1 released Apr 10, 2007) by a comfortable margin, and are known to work. 8)

_________________
Every good solution is obvious once you've found it.


Top
 Profile  
 
 Post subject: Re: crosstool-ng
PostPosted: Wed Jun 07, 2017 2:51 pm 
Offline
Member
Member
User avatar

Joined: Thu Jul 26, 2007 1:53 am
Posts: 395
I think it is an excellent toolchain and Ive used it to compile my os for a long time.

_________________
Fudge - Simplicity, clarity and speed.
http://github.com/Jezze/fudge/


Top
 Profile  
 
 Post subject: Re: crosstool-ng
PostPosted: Thu Jun 08, 2017 1:28 am 
Offline
Member
Member
User avatar

Joined: Thu Nov 16, 2006 12:01 pm
Posts: 7612
Location: Germany
Not as long as I have been using the wiki instructions. ;-)

The other point is, while it would be OK to mention crosstool-ng in the Wiki, or even write an introduction on its use, replacing the existing instructions with those for a third-party tool would be suboptimal IMHO. It would mean that we would have to handle any issues encountered with present and future versions of crosstool-ng here in the forum. By not relying on crosstool-ng, we only have to handle problems with the cross-building process itself, and the occassional "why do I need a crosscompiler in the first place" question. I also think that the current way is more... instructive (no pun intended) as to what's really going on.

I don't say that these are "killer arguments", just that there are benefits to describing the "manual" path.

_________________
Every good solution is obvious once you've found it.


Top
 Profile  
 
 Post subject: Re: crosstool-ng
PostPosted: Thu Jun 08, 2017 4:22 am 
Offline
Member
Member
User avatar

Joined: Thu Jul 12, 2012 7:29 am
Posts: 723
Location: Tallinn, Estonia
I'm pretty sure that if you're able to undestand and execute manual instructions in the wiki you will be qualified to check and even perhaps fix any crosstool-ng issues.

The opposite is not true.

_________________
Learn to read.


Top
 Profile  
 
 Post subject: Re: crosstool-ng
PostPosted: Thu Jun 08, 2017 10:33 am 
Offline
Member
Member
User avatar

Joined: Fri Oct 21, 2011 9:47 pm
Posts: 286
Location: Tustin, CA USA
Solar wrote:
replacing the existing instructions with those for a third-party tool would be suboptimal


I never intended to suggest that.

Solar wrote:
I also think that the current way is more... instructive (no pun intended) as to what's really going on.


I can also see the value of the "weed-out" instructions. That answer is good enough for me for why not to mention it.

_________________
Adam

The name is fitting: Century Hobby OS -- At this rate, it's gonna take me that long!
Read about my mistakes and missteps with this iteration: Journal

"Sometimes things just don't make sense until you figure them out." -- Phil Stahlheber


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 7 posts ] 

All times are UTC - 6 hours


Who is online

Users browsing this forum: No registered users and 20 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group