* [Buildroot] libstdc++.la and it's libdir
@ 2008-05-04 18:39 Ragnar Ouchterlony
0 siblings, 0 replies; only message in thread
From: Ragnar Ouchterlony @ 2008-05-04 18:39 UTC (permalink / raw)
To: buildroot
Hi,
I'm doing a personal project where I am building a new rootdisk for my
DNS-323 (an ARM machine).
I use buildroot from 20080430 (currently) with gcc-4.2.3. Although I
have a few patches to make things work, I don't have anything that
touches gcc.
Now over to my problem:
The libdir variable in libstdc++.la (residing
in /path/to/buildroot/build_arm/staging_dir/usr/arm-linux-uclibc/lib/libstdc++.la
file is wrong. It says:
libdir='/usr/arm-linux-uclibc/lib'
where I would have expected it to say:
libdir='?/path/to/buildroot/build_arm/staging_dir/usr/arm-linux-uclibc/lib'
This causes problems when using libtool. I.e, I compile a c++ libary (in
this case libsigc++-2.0) and then that library gets in it's .la file a
dependency for ?/usr/arm-linux-uclibc/lib/libstdc++.la and when I in
turn compile a program that uses libsigc++ libtool fails because it
can't find /usr/arm-linux-uclibc/lib/libstdc++.la.
If I manually edit libstdc++.la for it to point to the correct place,
things work as expected when I recompile my dependent libraries.
Have anyone else had this problem and have any idea where I should look
for a more permanent fix instead of doing things manually. I know I can
probably use sed somewhere to change the offending line, but I would
really like to know why it sets it wrong the first time around.
Any help is appreciated.
/Ragnar Ouchterlony
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2008-05-04 18:39 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-05-04 18:39 [Buildroot] libstdc++.la and it's libdir Ragnar Ouchterlony
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.