Hi,
On Wednesday 28 February 2007 09:21:46 Rene Rebe wrote:
> Hi,
>
> On Wednesday 28 February 2007 01:05:56 Claudio Leonel wrote:
>
> > I included the full gcc in my target an now
> > I have libstdc++ and the C++ headers, but
> > the build of libusb continues to abort
> > because it doesn't find the C++ headers:
> >
> > -----------------
> > i586-t2-linux-gnu-ar cru .libs/libusb.a usb.o error.o descriptors.o linux.o
> > i586-t2-linux-gnu-ranlib .libs/libusb.a
> > creating libusb.la
> > (cd .libs && rm -f libusb.la && ln -s ../libusb.la libusb.la)
> > if /bin/sh ./libtool --mode=compile i586-t2-linux-gnu-g++
> > -DHAVE_CONFIG_H -I. -g -O2 -MT usbpp.lo -MD -MP -MF ".deps/usbp
> > p.Tpo" -c -o usbpp.lo usbpp.cpp; \
> > then mv -f ".deps/usbpp.Tpo" ".deps/usbpp.Plo"; else rm -f
> > ".deps/usbpp.Tpo"; exit 1; fi
> > i586-t2-linux-gnu-g++ -DHAVE_CONFIG_H -I. -g -O2 -MT usbpp.lo -MD -MP
> > -MF .deps/usbpp.Tpo -c usbpp.cpp -fPIC -DPIC -o .libs
> > /usbpp.o
> > usbpp.cpp:11:19: error: cstdlib: No such file or directory
> > usbpp.cpp:15:20: error: iostream: No such file or directory
> > In file included from usbpp.cpp:17:
> > usbpp.h:5:18: error: string: No such file or directory
> > usbpp.h:6:16: error: list: No such file or directory
> > ----------------
> >
> > but these headers are installed in:
> >
> > $root/usr/include/c++/4.1.2
> >
> > Is there a way to force the inclusion of this path
> > in the build of libusb ?
>
> This used to work some time ago. Interestingly I hit the same
> problem (though with a differnt package) on a custom embedded
> target just last night. Initially I thought that is because I have to use
> an old GCC-4.0.x with some patches on that "CPU". I'll review today
> and take a deep look.
Ok, it appears this has never worked. Apparently I only tested
the C++ support with stuff such as groff, just need a C++ compiler,
not the STL.
As far as I have seen scrolling the GCC sources for some time this
can only be addressed by patching GCC and this is what I committed
with r22875..
Tested with i486-glibc/{escreen,libusb} and avr32/escreen.
Yours,
--
René Rebe - ExactCODE GmbH - Europe, Germany, Berlin
http://exactcode.de | http://t2-project.org | http://rene.rebe.name
+49 (0)30 / 255 897 45
-----------------------------------------------------------
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of: unsubscribe t2