Some report on using crosstool-ng under ubuntu hardy
Yann E. MORIN
yann.morin.1998@anciens.enib.fr
Sun Jul 20 09:47:00 GMT 2008
Hello Laurent!
Hello All!
One comment: don't post in HTML, the list rejects HTML posts.
On Sunday 20 July 2008 08:25:29 Laurent Dufrechou wrote:
> I've just tried to use crosstool-ng to build a x86_64 toolchain.
> So i've used a fresh ubuntu hardy install (that's the point here).
> I've run into several problem with crosstool-ng, because some package where
> not detected as missing by crosstool-ng:
Some of the tests have just been added the last few days! ;-) They are in SVN
now.
What version are you using? Released or SVN?
> 1/libstdc++6-dev was not installed -> crash at ct-ng build launch
Unfortuantely, I don't know the name of this package in every distributions.
And what about Linux From Scratch? There's no package name there.
Is there an executable (or at least a file) that I can check the presence of
to say that libstdc++-dev is present? Will the same happen for, say, lic6-dev?
> 2/flex,bison,lynx were missing -> OK, detected by crosstool-ng
Now checked for by ./configure.
> 3/patch was not nstalled -> not detected,GMP patch failed and script
> crosstool-ng too.
Ditto.
> Moreover relaunching the script (with patch package installed) jump over the
> patch sequence of gmp like if previous session was ok and continue and crash
> later. (because patch in fact was not applied)
> Needed to do a distclean.
Yep. Heuristic is that if the source directory is present, then sources where
extracted and patched. Unfortunately, if some thing fails when extracting or
patching as you found, heuristic is broken.
> 4/mpfr fails with AC_LOCAL_etc.. error message,
> More tricky this one:
> automake AND libtool (this one... it takes me time :) ) were missing,
> installing them is ok --> not detected by script
Ah! Will add those two. Thanks!
> 5/binutils fails, package texinfo was missing (for makeinfo binary)--> not
> detected by the script
Now checked for by ./configure.
> And finally :
> 6)C library crashed because mawk is used instead of gawk...
> installing gawk resolved the problem. --> not detetcted by the script
Now checked by ./configure.
Would you consider testing the SVN trunk, please?
> Now the toolchain is buil and all is OK;, I'm really happy :)
> Thx fort his great tool, hope this report will help you improve it
> furthermore!
Yes! Definitely! Thank you!
> ps : If adding detection is too hard perhaps a little text in the wiki could
> be good?
Detection can be done. But a little text saying that some common packages
ought to be present can be added, yes. Will do that later today.
Regards,
Yann E. MORIN.
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +0/33 662376056 | Software Designer | \ / CAMPAIGN | ^ |
| --==< °_° >==-- °------------.-------: X AGAINST | /e\ There is no |
| http://ymorin.is-a-geek.org/ | * _ * | / \ HTML MAIL | """ conspiracy. |
°------------------------------°-------°------------------°--------------------°
--
For unsubscribe information see http://sourceware.org/lists.html#faq
More information about the crossgcc
mailing list