From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23015 invoked by alias); 21 Feb 2013 12:37:19 -0000 Received: (qmail 22832 invoked by uid 22791); 21 Feb 2013 12:37:16 -0000 X-SWARE-Spam-Status: No, hits=-0.8 required=5.0 tests=BAYES_00,URI_HEX X-Spam-Check-By: sourceware.org Received: from sam.nabble.com (HELO sam.nabble.com) (216.139.236.26) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 21 Feb 2013 12:37:07 +0000 Received: from [192.168.236.26] (helo=sam.nabble.com) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1U8VOc-0004tp-Jj for gcc-help@gcc.gnu.org; Thu, 21 Feb 2013 04:37:06 -0800 Date: Thu, 21 Feb 2013 12:37:00 -0000 From: ehuijben To: gcc-help@gcc.gnu.org Message-ID: <1361450226605-916014.post@n5.nabble.com> Subject: unknown cpu 'cortex-m0' MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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: 2013-02/txt/msg00142.txt.bz2 Dear all, I have some serious issues with the GCC compiler when using a cortex-M0 (STM32F051) When compiling my code with GCC version 4.6.3, which should support cortex-M0 microcontrollers, I get next messages: Error: unknown cpu `cortex-m0' Error: unrecognized option -mcpu=cortex-m0 When compiling the same code with the codesourcery lite package (same gcc version), it works fine, however I like to configure my own gcc version. I configured GCC with next options: ../configure --target=arm-axon-eabi --prefix=toolchain \ --with-cpu=cortex-m0 --with-mode=thumb \ --enable-interwork --disable-multilib \ --enable-languages="c" --with-newlib --without-headers \ --disable-shared --with-gnu-as --with-gnu-ld \ 2>&1 | tee configure.log Looking in the logging, the cortex-m0 is recognized Also with the newest version 4.7.2 I have the same problems Who can help me with this issue? Regards, Evert -- View this message in context: http://gcc.1065356.n5.nabble.com/unknown-cpu-cortex-m0-tp916014.html Sent from the gcc - Help mailing list archive at Nabble.com.