Re: sysroot not supported in gcc-sh4-cross package
Thanks for your help. I've find out the key work of "WITH_SYSROOT" needed
for binutils and gcc. So I should rebuild a new cross toolchain for Sh4.
However, look at the internet resources for the building step, I could not
find how to receive the necessary pack as below lines,
$ dpkg-cross -a <debian_arch> -b linux-libc-dev_XXX_<debian_arch>.deb
$ dpkg-cross -a <debian_arch> -b libc6_XXX_<debian_arch>.deb
$ dpkg-cross -a <debian_arch> -b libc6-dev_XXX_<debian_arch>.deb
# You can also try to get this packages with apt-cross tool.
Do you know where could I find those debian packages? or you know how to
build it from scratch for Sh4?
Hector Oron wrote:
> 2010/4/18 Jordan Pan <firstname.lastname@example.org>:
>> I am trying to build the rootfs by the gcc-sh4-cross
>> (http://debian-sh4.nigauri.org/cross-compiler/) package. But
>> the cross compiler doesn't support the --sysroot option. Does anybody
>> how to work around this issue? Or if I should do the cross compiler by
>> myself, please share the build procedure for reference (I have try to use
>> reference guidance from http://www.emdebian.org/tools/crossdev.html and
>> http://wiki.debian.org/SH4/CrossToolchain, but it doesn't work for me) .
>> Checking external toolchain settings
>> External toolchain doesn't support --sysroot. Cannot use.
> For sysroot support you need to build the compilers (binutils and gcc)
> Kind regards,
> Héctor Orón
> "Our Sun unleashes tremendous flares expelling hot gas into the Solar
> System, which one day will disconnect us."
> To UNSUBSCRIBE, email to debian-superh-REQUEST@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact
View this message in context: http://old.nabble.com/sysroot-not-supported-in-gcc-sh4-cross-package-tp28280677p28287319.html
Sent from the debian-superh mailing list archive at Nabble.com.