From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3109 invoked by alias); 11 May 2006 08:51:05 -0000 Received: (qmail 3076 invoked by uid 22791); 11 May 2006 08:51:04 -0000 X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (66.187.233.31) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 11 May 2006 08:51:02 +0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.12.11.20060308/8.12.11) with ESMTP id k4B8ojKt009228; Thu, 11 May 2006 04:50:45 -0400 Received: from pobox.surrey.redhat.com (pobox.surrey.redhat.com [172.16.10.17]) by int-mx1.corp.redhat.com (8.12.11.20060308/8.12.11) with ESMTP id k4B8oivQ009369; Thu, 11 May 2006 04:50:45 -0400 Received: from [10.32.68.2] (vpn-68-2.surrey.redhat.com [10.32.68.2]) by pobox.surrey.redhat.com (8.12.11.20060308/8.12.11) with ESMTP id k4B8oghq006210; Thu, 11 May 2006 09:50:44 +0100 Message-ID: <4462FAD8.7010700@redhat.com> Date: Thu, 11 May 2006 14:54:00 -0000 From: Nick Clifton User-Agent: Thunderbird 1.5 (X11/20051201) MIME-Version: 1.0 To: Pedro Alves CC: binutils@sourceware.org Subject: Re: Binutils on arm : pls advice me how to proceed References: <1146765307.4177.16.camel@dannypc> <20060504180348.GA5785@nevyn.them.org> <445A4FF9.2020903@portugalmail.pt> <4461C504.6050208@redhat.com> <44627BF4.1080608@portugalmail.pt> In-Reply-To: <44627BF4.1080608@portugalmail.pt> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact binutils-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: binutils-owner@sourceware.org X-SW-Source: 2006-05/txt/msg00213.txt.bz2 Hi Pedro, > Made a small test: > Three objects (from main.cpp main2.cpp main3.cpp), one function each, > each calls the other in chain, and both all -lc functions (printf). > > Linked with: > > ${OUTFILE}.exe : $(OBJECTS) Makefile > $(CXX) -v main.o main2.o -nostdlib -r -o partial.o > $(CXX) -v partial.o main3.o -static $(LDFLAGS) -o ${OUTFILE}.exe > > Tested with runtime as dll and with -static. > And it ran ok. Excellent - thanks for doing that. I have now checked in your patches to the mainline sources. Cheers Nick