[uClibc] Issues w/STL when compiling C++ -- (TARGET_DIR)/usr/include
Manuel Novoa III
mjn3 at codepoet.org
Mon Nov 3 23:10:28 UTC 2003
Jeff,
On Mon, Nov 03, 2003 at 03:03:43PM -0800, Jeffrey Baitis wrote:
> So really, I should be using a different '--prefix' for libjpeg, libxml?
> Like, for example, /mnt/root_fs/opt/lib instead of
> /mnt/root_fs/usr/include ?? :) (I have been including
> /mnt/root_fs/usr/include because i have installed libjpeg/libxml
> there...)
Take a look at how packages are built in buildroot, since they are
using the cross compiler. It would be fairly easy for you to just
add the packages you need to the buildroot system. Once the apps
or libraries are built, you can copy them over to the root_fs dir
tree.
> So Manuel, what you're telling me is that the
> /mnt/root_fs/usr/include/c++ files are for the *NATIVE* compiler; e.g.
Exactly.
> invoking mipsel-linux-gcc ON the mipsel uClibC platform, and are *NOT*
> to be used with my cross compiler? Aaah, that clears things up for me
> nicely. I should have thought of that earlier!
No problem.
Manuel
More information about the uClibc
mailing list