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

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

Re: [avr-gcc-list] building gcc/g++ for AVR


From: Joerg Wunsch
Subject: Re: [avr-gcc-list] building gcc/g++ for AVR
Date: Wed, 7 Nov 2001 11:49:48 +0100 (MET)

[Well, this mail's already a few days old here.]

Peter Jansen <address@hidden> wrote:

> I'm trying to build g++ for the AVR and the following works but
> don't quite what is in the libstdc++ that was too big to combile for
> the AVR.

My FreeBSD port of avr-gcc builds the C++ frontend, but it uses the
following patch to not build those parts that don't seem to be useful
(or don't compile at all) for the AVR target.

--- configure.in.orig   Sun Aug 12 18:18:37 2001
+++ configure.in        Sun Aug 12 18:18:13 2001
@@ -665,6 +665,9 @@
           target_configdirs="${target_configdirs} target-bsp target-cygmon"
     fi
     ;;
+  avr-*-*)
+    noconfigdirs="$noconfigdirs ${libstdcxx_version} target-libgloss 
target-libiberty"
+    ;;
   arm-*-oabi*)
     noconfigdirs="$noconfigdirs target-libgloss ${libgcj}"
     ;;
--- Makefile.in.orig    Sun Aug 12 16:44:46 2001
+++ Makefile.in Sun Aug 12 16:45:18 2001
@@ -169,7 +169,7 @@
 
 # This is set by the configure script to the list of directories which
 # should be built using the target tools.
-TARGET_CONFIGDIRS = libiberty libgloss $(SPECIAL_LIBS) newlib librx winsup 
opcodes bsp libstub cygmon libf2c libchill libobjc
+TARGET_CONFIGDIRS = libgloss $(SPECIAL_LIBS) newlib librx winsup opcodes bsp 
libstub cygmon libf2c libchill libobjc
 
 # Target libraries are put under this directory:
 # Changed by configure to $(target_alias) if cross.

(I don't need libiberty, YMMV.)
-- 
J"org Wunsch                                           Unix support engineer
address@hidden        http://www.interface-systems.de/~j/



reply via email to

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