From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27077 invoked by alias); 23 May 2005 15:05:45 -0000 Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org Received: (qmail 27027 invoked by uid 22791); 23 May 2005 15:05:37 -0000 Received: from [141.163.246.101] (HELO ils101.uopnet.plymouth.ac.uk) (141.163.246.101) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Mon, 23 May 2005 15:05:37 +0000 Received: from [141.163.121.178] ([141.163.121.178]) by ils101.uopnet.plymouth.ac.uk over TLS secured channel with Microsoft SMTPSVC(6.0.3790.0); Mon, 23 May 2005 16:05:35 +0100 Message-ID: <4291F104.5070204@beosgreece.com> Date: Mon, 23 May 2005 15:05:00 -0000 From: Athanasios Anastasiou User-Agent: Mozilla Thunderbird 1.0 (X11/20041206) MIME-Version: 1.0 To: gcc-help@gcc.gnu.org Subject: Compiling with -msoft-float Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 23 May 2005 15:05:35.0367 (UTC) FILETIME=[DF320970:01C55FA8] X-SW-Source: 2005-05/txt/msg00310.txt.bz2 Hello All I am developing a quasi realtime DSP application in C++ that is to be ported later to an ARM processor. As far as i know this processor does not have an FPU. To get an estimate on the performance penalty, i tried to g++ -o MyTest MyTest.cpp -msoft-float on the development machine (Suse 9.1 proffesional) but i get a load of linker errors reporting that specific low level math instructions "can not be found" After a search through the internet and the gcc mailing lists i found out a lot of fragmeneted information about this subject. Could you please provide a simple walk through procedure where a "Hello Soft Floating Point World" is compiled with -msoft-float succesfuly? (If this is possible...Or any other helpful comment on the subject?) In case i have not looked thoroughly, could you please provide any links, books, physical places, that compiling with soft floating point is dealt with in detail? All the best. thanOS