This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Porting gcc to a nonstandard platform requires to call external program after linking
- From: Florian Weimer <fw at deneb dot enyo dot de>
- To: Cosimo Caproni <cosimocaproni at me dot com>
- Cc: "gcc-help\ at gcc dot gnu dot org" <gcc-help at gcc dot gnu dot org>
- Date: Fri, 15 Mar 2013 19:01:42 +0100
- Subject: Re: Porting gcc to a nonstandard platform requires to call external program after linking
- References: <E1DEAA23-01D6-4A7C-8A45-B86E10EC84E8@me.com>
* Cosimo Caproni:
> I am currently working in porting gcc to a non standard platform
> which requires to call a program after having linked the program in
> order to make it executable. Where can I add such call?
This platform is totally standard. GNU/Linux behaves the same way,
except that the linker automatically marks the program as executable.
I think this also answers your question: you should fix the linker.