Page 1 of 1
OS Specific toolchain - libgcc
Posted: Mon May 14, 2012 3:27 pm
by justin
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.
Re: OS Specific toolchain - libgcc
Posted: Fri May 25, 2012 5:06 am
by jnc100
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.
Re: OS Specific toolchain - libgcc
Posted: Fri May 25, 2012 4:43 pm
by qw
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.
Re: OS Specific toolchain - libgcc
Posted: Sat May 26, 2012 5:51 am
by jnc100
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.