OSDev.org

The Place to Start for Operating System Developers
It is currently Thu Mar 28, 2024 11:29 pm

All times are UTC - 6 hours




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: OS Specific toolchain - libgcc
PostPosted: Mon May 14, 2012 3:27 pm 
Offline
Member
Member

Joined: Sun Jan 11, 2009 2:09 pm
Posts: 43
I added the libgcc part to http://wiki.osdev.org/OS_Specific_Toolchain#GCC_2. I'd like someone more knowledgeable to check it before I steer someone wrong.


Top
 Profile  
 
 Post subject: Re: OS Specific toolchain - libgcc
PostPosted: Fri May 25, 2012 5:06 am 
Offline
Member
Member

Joined: Mon Apr 09, 2007 12:10 pm
Posts: 775
Location: London, UK
I was under the impression libgcc would be built and installed automatically by the other commands in the tutorial (especially the make install-gcc one). It may be, however, that it was installed by the libstdc++ step instead, in which case your commands would be necessary for the situation where c++ is not used. It has been a while since I last ran through the tutorial from scratch. I need to do more testing I guess...

edit: it would appear the make all-target-libgcc step is required when not installing libstdc++. I am also making some changes to support a more recent version of the tools.

Regards,
John.

_________________
Tysos | rpi-boot


Top
 Profile  
 
 Post subject: Re: OS Specific toolchain - libgcc
PostPosted: Fri May 25, 2012 4:43 pm 
Offline
Member
Member
User avatar

Joined: Mon Jan 26, 2009 2:48 am
Posts: 792
True. Maybe it was different in older versions, but libgcc is included in the all-gcc and install-gcc targets. No all-target-libgcc or install-target-libgcc is needed afaik.


Top
 Profile  
 
 Post subject: Re: OS Specific toolchain - libgcc
PostPosted: Sat May 26, 2012 5:51 am 
Offline
Member
Member

Joined: Mon Apr 09, 2007 12:10 pm
Posts: 775
Location: London, UK
I just tried it in 4.7.0 (haven't tried it in any versions between 4.2.1 and 4.7.0) and libgcc wasn't built in the make all-gcc step, so I'll let it stand for now as it is unlikely to cause any harm.

Regards,
John.

_________________
Tysos | rpi-boot


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

All times are UTC - 6 hours


Who is online

Users browsing this forum: No registered users and 15 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