This is the mail archive of the gcc-help@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: A tricky problem


On Wed, May 2, 2018 at 7:46 PM, Tadeus Prastowo
<tadeus.prastowo@unitn.it> wrote:
> On Wed, May 2, 2018 at 1:15 PM, yiliang chen <chenyiliangex@gmail.com> wrote:
> #!/bin/bash
> /path/to/real/gcc -masm=intel

The last line should be: /path/to/real/gcc -masm=intel "$@"

In that way, you can call the script with further command-line options
to be passed to the real gcc.

--
Best regards,
Tadeus


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