[oe] Gstreamer and rpath

Michael Krelin hacker at klever.net
Sun Aug 5 16:27:31 UTC 2007


>> About getting 'sysroot' right... Doesn't the name imply using in sysroot
>> the same layout like you would otherwise?
> 
> No, as I understand it sysroot makes assumptions about where the files
> live under it. It assumes "/lib" and "/usr/lib" and its those
> assumptions which I dislike. I haven't seen a way to change them but I
> could easily be missing something.

I think it's not exactly what it assumes. It assumes that what would be
/usr/lib/ without sysroot would be ${sysroot}/usr/lib/

> If gcc does change them based on the values of prefix, libdir etc when
> compiled, that would be a bit better but its still hardcoding things
> into the compiler which I don't think should be hardcoded there. Does
> anyone know if it adapts to changes in prefix. libdir and friends?

I think if you compile it with /opt/gcc prefix it would look in
${sysroot}/opt/gcc for whatever he wants based on his prefix and if you
-I/i-hate-fhs/ it would look into ${sysroot}/i-hate-fhs/

Love,
H
> 
> Regards,
> 
> Richard
> 
> 
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel




More information about the Openembedded-devel mailing list