This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Cross compilation and compilation flags
- To: egcs at cygnus dot com
- Subject: Cross compilation and compilation flags
- From: grahams at rcp dot co dot uk
- Date: Mon, 10 Nov 1997 19:33:05 GMT
All,
I have egcs-971105 configured to cross compile from a linux Intel host to a
Arm target.
I would like to specify different compilation flags for host and target
compilations.
For example specify "-mpentium" for host and" -mcpu=strongarm110" for
target.
Is this currently possible with egcs-971105?
There does not appear to be any macros in the top-level Makefile which will
consistantly ripple down to all the sub makefiles and always specify the
appropriate compilation flags.
I have managed to hack all the Makefile.in files and configure.in to do what
I
want.
Graham