FW: checking whether <arm-none-eabi-gcc accepts> -g... <no>
Sebastian Huber
sebastian.huber@embedded-brains.de
Thu Dec 4 13:01:00 GMT 2014
On 04/12/14 13:50, Kleiber Tamas (BCDS/ENG2) wrote:
> -----Original Message-----
> From: Kleiber Tamas (BCDS/ENG2)
> Sent: Thursday, December 04, 2014 1:47 PM
> To: 'Sebastian Huber'; 'newlib@sourceware.org'
> Subject: RE: FW: checking whether <arm-none-eabi-gcc accepts> -g... <no>
>
> Hello Sebastian,
>
> I have executed the following test case:
>
> arm-none-eabi-gcc -mthumb -march=armv7-m -c -g conftest.c >results
> echo Result: \"$?\"
>
> Where conftest.c had the following contents:
>
> /* confdefs.h */
> #define PACKAGE_NAME "newlib"
> #define PACKAGE_TARNAME "newlib"
> #define PACKAGE_VERSION "2.1.0"
> #define PACKAGE_STRING "newlib 2.1.0"
> #define PACKAGE_BUGREPORT ""
> #define PACKAGE_URL ""
> /* end confdefs.h. */
>
> int
> main ()
> {
>
> ;
> return 0;
> }
>
> The created "results" text file is empty.
> The echoed result of \"$?\" is: "0".
A value of $? indicates that the previous command was successful. So
what does the configure script with this value? Its always fun to debug
configure scripts.
--
Sebastian Huber, embedded brains GmbH
Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone : +49 89 189 47 41-16
Fax : +49 89 189 47 41-09
E-Mail : sebastian.huber@embedded-brains.de
PGP : Public key available on request.
Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.
More information about the Newlib
mailing list