avr-gcc-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[avr-gcc-list] Problems compiling avr-gcc


From: Keith Gudger
Subject: [avr-gcc-list] Problems compiling avr-gcc
Date: Thu, 8 Feb 2007 13:48:00 -0800

I have successfully installed avr-gcc 4.1.1 before, but am having
problems compiling it now on an older redhat (8.2) machine.

I have successfully installed bin-utils 2.17 (configred for AVR)

I ran configure thusly:
../configure --target=avr --prefix=/usr/local/avr4 --with-dwarf2
--enable-languages=c,c++ --disable-libssp --disable-nls

I now get the error below when running make (I've googled this error,
with no success, and not found anything on this list about it,
either.)

make[2]: Entering directory `/usr/local/src/gcc-4.1.1/objdir/gcc'
gcc   -g -O2 -DIN_GCC -DCROSS_COMPILE  -W -Wall -Wwrite-strings
-Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition
-Wmissing-format-attribute    -DHAVE_CONFIG_H -I. -I../../gcc
-I../../gcc/. -I../../gcc/../include -I../../gcc/../libcpp/include
\
 -DGCC_INCLUDE_DIR=\"/usr/local/avr4/lib/gcc/avr/4.1.1/include\"
-DGPLUSPLUS_INCLUDE_DIR=\"/usr/local/avr4/lib/gcc/avr/4.1.1/../../../..`echo
/usr/local/avr4 | sed -e 's|^/usr/local/avr4||' -e
's|/[^/]*|/..|g'`/include/c++/4.1.1\"
-DGPLUSPLUS_TOOL_INCLUDE_DIR=\"/usr/local/avr4/lib/gcc/avr/4.1.1/../../../..`echo
/usr/local/avr4 | sed -e 's|^/usr/local/avr4||' -e
's|/[^/]*|/..|g'`/include/c++/4.1.1/avr\"
-DGPLUSPLUS_BACKWARD_INCLUDE_DIR=\"/usr/local/avr4/lib/gcc/avr/4.1.1/../../../..`echo
/usr/local/avr4 | sed -e 's|^/usr/local/avr4||' -e
's|/[^/]*|/..|g'`/include/c++/4.1.1/backward\"
-DLOCAL_INCLUDE_DIR=\"/usr/local/include\"
-DCROSS_INCLUDE_DIR=\"/usr/local/avr4/lib/gcc/avr/4.1.1/../../../../avr/sys-include\"
-DTOOL_INCLUDE_DIR=\"/usr/local/avr4/lib/gcc/avr/4.1.1/../../../../avr/include\"
\
 -c ../../gcc/cppdefault.c -o cppdefault.o
/usr/local/avr4/bin/avr-as: unrecognized option `-Qy'
make[2]: *** [cppdefault.o] Error 1
make[2]: Leaving directory `/usr/local/src/gcc-4.1.1/objdir/gcc'
make[1]: *** [all-gcc] Error 2
make[1]: Leaving directory `/usr/local/src/gcc-4.1.1/objdir'
make: *** [all] Error 2

Any suggestions are appreciated.  Thanks.
Keith




reply via email to

[Prev in Thread] Current Thread [Next in Thread]