--- In nslu2-linux@
>
>
>
> 2. in echo "ldflags: -L/opt/lib -L/opt/lib -L/home/slug/
>
> all occurrences of " -L/opt/lib" must be removed - But why?
>
> Why all occurrences of " -L/opt/lib" must be removed is not clear for me. If you have the time, please give me a brief explanation for that.
>
It's for the same reason we removed -I/opt/include.
Let's take one extreme convoluted example, say I'm using a super-fast slug as build host to cross build for a very slow x86 target:
What would be in /opt/include and /opt/lib? Totally depends on which ipk version of libjpeg[-dev]
What would be in staging/opt/
If you have linux host with prefix set to /usr (most distros do that), it might work fine since we probably don't have anything in /opt. But what if we do? I won't have any problem if cross toolchain starts to bomb on -L/opt/lib either.
Best regards,
-Brian
Monday, March 8, 2010
[nslu2-linux] Re: Gnuplot made to work with FreeType font for SlugOS 4.8. - solved
__._,_.___
.
__,_._,___
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment