[Buildroot] [autobuild.buildroot.net] Build results for 2017-02-22
Yann E. MORIN
yann.morin.1998 at free.fr
Thu Feb 23 20:06:31 UTC 2017
Thomas, All,
On 2017-02-23 18:48 +0100, Thomas Petazzoni spake thusly:
> On Thu, 23 Feb 2017 18:16:55 +0100, Yann E. MORIN wrote:
> > So, chocolate-doom uses gcc to link, instead of g++. In so doing, it
> > bring in neither libstdc++.a nor libz.a
> >
> > I did a quick hack to verify this, and added -lstdc++ and -lz to the SDL
> > Libs.Privte in sdl.pc, and the build suceeded.
>
> It should be added to the DirectFB .pc files instead. It's really
> DirectFB that is bringing the libstdc++ dependency.
Yup. I was still investigating... :-/
> > For the C++ dependency, SDL unconditionally checks for a C++ compiler:
> >
> > AC_PROG_CXX
> >
> > so we should probably add a dependency on C++ to SDL.
>
> Why? It's DirectFB that needs it.
SDL does have some source file written in C++, but they are only in
directories named 'symbian', which I did not previously noticed. So SDL
does not need C++.
And now I seem to remember that we already questioned that some time in
the past...
Regards,
Yann E. MORIN.
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ |
| +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
'------------------------------^-------^------------------^--------------------'
More information about the buildroot
mailing list