Please do not reply directly to this email. All additional comments should be made in the comments box of this bug report. Summary: Review Request: avr-gcc - Cross Compiling GNU GCC targeted at avr https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=238705 ------- Additional Comments From rc040203@xxxxxxxxxx 2007-05-02 11:34 EST ------- (In reply to comment #6) > Notice that the link above is THE install manual of THE libc for avr. Also avr > has (rudimentary) C++ support, but no libstdc++ support. Well, normally, g++ is tied to libstdc++ and is useless without libstdc++. > Its libc also has no > threading support etc. That's clear. Threads are part of the OS, so there is no way to support them without OS. > This is a microcontroller environment with as little as > 512 bytes of total RAM (not Kbytes but bytes! including space for the stack). I know. > Thus most of the gcc features which require libc support simply do not apply. Probably such as g++. > Also see: > http://gcc.gnu.org/install/specific.html#avr > And notice how it says: "Use `configure --target=avr --enable-languages="c"' This makes sense. AFAICT, c++ on the avr is not supported at all. Anyway, a bug in your package: ./avr-g++ -v -c tmp.cc -o tmp.o Using built-in specs. Target: avr Configured with: ../gcc-4.1.2/configure --prefix=/usr --enable-languages=c,c++ --target=avr --disable-nls --mandir=/usr/share/man --infodir=/usr/share/info Thread model: single gcc version 4.1.2 /users/packman/src/rpms/SPECS/usr/bin/../libexec/gcc/avr/4.1.2/cc1plus -quiet -v -iprefix /users/packman/src/rpms/SPECS/usr/bin/../lib/gcc/avr/4.1.2/ tmp.cc -quiet -dumpbase tmp.cc -auxbase-strip tmp.o -version -fno-rtti -fno-enforce-eh-specs -fno-exceptions -o /tmp/ccQf1d25.s ignoring nonexistent directory "/users/packman/src/rpms/SPECS/usr/bin/../lib/gcc/avr/4.1.2/../../../../include/c++/4.1.2" ignoring nonexistent directory "/users/packman/src/rpms/SPECS/usr/bin/../lib/gcc/avr/4.1.2/../../../../include/c++/4.1.2/avr" ignoring nonexistent directory "/users/packman/src/rpms/SPECS/usr/bin/../lib/gcc/avr/4.1.2/../../../../include/c++/4.1.2/backward" ignoring nonexistent directory "/users/packman/src/rpms/SPECS/usr/bin/../lib/gcc/avr/4.1.2/../../../../avr/sys-include" ignoring nonexistent directory "/users/packman/src/rpms/SPECS/usr/bin/../lib/gcc/avr/4.1.2/../../../../avr/include" ignoring nonexistent directory "/usr/lib/gcc/../../include/c++/4.1.2" ignoring nonexistent directory "/usr/lib/gcc/../../include/c++/4.1.2/avr" ignoring nonexistent directory "/usr/lib/gcc/../../include/c++/4.1.2/backward" ignoring nonexistent directory "/usr/lib/gcc/avr/4.1.2/include" ignoring nonexistent directory "/usr/lib/gcc/../../avr/sys-include" ignoring nonexistent directory "/usr/lib/gcc/../../avr/include" #include "..." search starts here: #include <...> search starts here: /users/packman/src/rpms/SPECS/usr/bin/../lib/gcc/avr/4.1.2/include End of search list. GNU C++ version 4.1.2 (avr) compiled by GNU C version 4.1.1 20070105 (Red Hat 4.1.1-51). GGC heuristics: --param ggc-min-expand=64 --param ggc-min-heapsize=64013 Compiler executable checksum: b37c1702f0f613ffe6c2ea8cd679740a /usr/lib/gcc/../../avr/bin/as -o tmp.o /tmp/ccQf1d25.s Note the c++ header search paths! These refer to the host's libstdc++'s headers, not the target ones. You want to use %configure --enable-version-specific-runtime-libs This will cause gcc to search for libstdc++ only on its internal search paths. -- Configure bugmail: https://bugzilla.redhat.com/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug, or are watching the QA contact. _______________________________________________ Fedora-package-review mailing list Fedora-package-review@xxxxxxxxxx http://www.redhat.com/mailman/listinfo/fedora-package-review