This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
[AVR,Committed]: Re: How to run a compiled C program?
- From: Georg-Johann Lay <avr at gjlay dot de>
- To: Ian Lance Taylor <iant at google dot com>, gcc-patches at gcc dot gnu dot org
- Cc: gcc at gcc dot gnu dot org, "Jörg Wunsch at google dot com" <joerg_wunsch at uriah dot heep dot sax dot de>, Eric Weddington <eric dot weddington at atmel dot com>, Denis Chertykov <chertykov at gmail dot com>
- Date: Tue, 29 May 2012 17:34:59 +0200
- Subject: [AVR,Committed]: Re: How to run a compiled C program?
- References: <4FC0A3F5.3010403@gjlay.de> <mcrzk8uixby.fsf@dhcp-172-18-216-180.mtv.corp.google.com>
Ian Lance Taylor wrote:
> Georg-Johann Lay <avr@gjlay.de> writes:
>
>> The avr backend auto-generates a part of the texi documentation by
>> means of a small C program. The relevant part of t-avr reads:
>>
>> s-avr-mmcu-texi: gen-avr-mmcu-texi$(build_exeext)
>> $(RUN_GEN) $< | sed -e 's:\r::g' > avr-mmcu.texi
>>
>>
>> There was a problem report that the executable cannot be found.
>>
>> When I wrote that I checked other uses of RUN_GEN (which is empty) in
>> $(builddir)/gcc/Makefile that do calls like $(RUN_GEN) build/...
>>
>> What is the correct way to call the executable? Add ./ like so?
>>
>> s-avr-mmcu-texi: gen-avr-mmcu-texi$(build_exeext)
>> $(RUN_GEN) ./$< | sed -e 's:\r::g' > avr-mmcu.texi
>
> Yes.
>
> Ian
Thanks, applied here:
http://gcc.gnu.org/viewcvs?view=revision&revision=187968
Johann