From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13375 invoked by alias); 8 Sep 2008 18:42:13 -0000 Received: (qmail 13367 invoked by uid 22791); 8 Sep 2008 18:42:12 -0000 X-Spam-Check-By: sourceware.org Received: from exhub016-3.exch016.msoutlookonline.net (HELO EXHUB016-3.exch016.msoutlookonline.net) (207.5.72.226) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 08 Sep 2008 18:41:33 +0000 Received: from EXVMBX016-1.exch016.msoutlookonline.net ([207.5.72.171]) by EXHUB016-3.exch016.msoutlookonline.net ([207.5.72.226]) with mapi; Mon, 8 Sep 2008 11:41:32 -0700 From: Alex Austin To: "gcc-help@gcc.gnu.org" Date: Mon, 08 Sep 2008 18:42:00 -0000 Subject: Crosscompiling libstdc++-v3 for embedded platform Message-ID: <3463DABD7D4AA04C80638C42C9CAB55A2C62EB2299@EXVMBX016-1.exch016.msoutlookonline.net> Accept-Language: en-US Content-Language: en-US x-cr-hashedpuzzle: BwPm DLcC D83T E6Pa FML4 FTcW GKap GMhe G4Pc HRET H9wJ IJhb Jqxa JyAh J7fA K/Ex;1;ZwBjAGMALQBoAGUAbABwAEAAZwBjAGMALgBnAG4AdQAuAG8AcgBnAA==;Sosha1_v1;7;{65BE842E-4089-42DD-AEE2-64ED1E97B28A};YQBsAGUAeAAuAGEAdQBzAHQAaQBuAEAAcwBwAGUAYwB0AHIAdQBtAGQAcwBpAC4AYwBvAG0A;Mon, 08 Sep 2008 18:39:19 GMT;QwByAG8AcwBzAGMAbwBtAHAAaQBsAGkAbgBnACAAbABpAGIAcwB0AGQAYwArACsALQB2ADMAIABmAG8AcgAgAGUAbQBiAGUAZABkAGUAZAAgAHAAbABhAHQAZgBvAHIAbQA= x-cr-puzzleid: {65BE842E-4089-42DD-AEE2-64ED1E97B28A} acceptlanguage: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-IsSubscribed: yes Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org X-SW-Source: 2008-09/txt/msg00054.txt.bz2 On the platform we're working with, there is no equivalent of "main". Thus,= it doesn't matter that gcc/newlib haven't built any crt0.o. On the other h= and, libstdc++-v3 configure fails with "C compiler cannot create executable= s" because the linker can't find crt0.o. It doesn't matter on our platform,= but how can I get the configure past that? Secondly, what C++-specific startup do crt*.o do that I will have to emulat= e? Thanks, - Alex