This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Well the -m<xxx> options are done by each port (ie, it is not standardized across platforms). Have you considered writing the code to do this and contributing it?
A low tech approach is to use a shell script (maybe even calling it gcc and putting it in your PATH ahead of the system gcc) that determines the machine (possibly using uname -p) type and then invokes the real gcc with those options. Of the top of my head, something like:
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |