This is the mail archive of the
mailing list for the GCC project.
Multiple cc's, one gcc -- is it possible?
- From: Konstantin Vladimirov <konstantin dot vladimirov at gmail dot com>
- To: GCC Development <gcc at gcc dot gnu dot org>
- Date: Thu, 17 Apr 2014 14:39:28 +0400
- Subject: Multiple cc's, one gcc -- is it possible?
- Authentication-results: sourceware.org; auth=none
I want to support, say arch1 and arch2 in custom gcc in the way
gcc -march1 test.c
gcc -march2 test.c
Are there any way to do it? Maybe not exactly as I outlined, but the
whole idea is clear, I think. I looked through multilib and multiarch
options, but it seems to be nothing like this.
I may correct anything in build system and arch1 and arch2 backends,
but I don't want to change any core gcc code, say inside gcc.c. Is it
possible? Are there examples how is it possible?
With best regards, Konstantin