This is the mail archive of the gcc-patches@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]

Re: [PATCH] Pass -mtune and -march options to assembler.


Dave Korn <dave.korn.cygwin@googlemail.com> wrote:
I think your best choice would be to use the build-time autoconf tests to
decide if we think we're talking to GNU as, and pass the options in that case,
or not if not, optionally with a new command-line switch to override the default.

What about different choice - add information about options to assembler file.
Alternatives:


# COMMAND_LINE gcc -o test.c test.c -O2 -mtune=core2

or

.ident COMMAND_LINE gcc -o test.c test.c -O2 -mtune=core2

What's better?
---
Professional hosting for everyone - http://www.host.ru


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]