This is the mail archive of the
mailing list for the GCC project.
Re: Question for ARM person re asm_fprintf
- From: David Wohlferd <dw at LimeGreenSocks dot com>
- To: Hans-Peter Nilsson <hp at bitrange dot com>
- Cc: "gcc at gcc dot gnu dot org" <gcc at gcc dot gnu dot org>
- Date: Wed, 23 Jul 2014 22:35:56 -0700
- Subject: Re: Question for ARM person re asm_fprintf
- Authentication-results: sourceware.org; auth=none
- References: <53CDC26F dot 2020604 at LimeGreenSocks dot com> <alpine dot BSF dot 2 dot 02 dot 1407231733240 dot 79570 at arjuna dot pair dot com>
Not that the following would constitute the actual testing
usually required for a patch, but:
/path/to/toplevel/configure --target=arm-eabi && make all-gcc
# Yay, the compiler-proper for a "bare iron" ARM compiler.
./gcc/xgcc -B./gcc -S test.c
Woot, compiled your first ARM program. :) Just emitting text
assembly code, and #include's won't work, but a missing-case
leading-to-abort would be prominently noticed as an internal
I just tried this and I did get it to build and run. And it's true that
invalid formats do cause an error, even just using -S. But I'm still
glad that kyrill tried it too.
So I've sent this to gcc-patches. Now comes the hard part: Patience...