This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: .opt file help
- From: Jonathan Wakely <jwakely dot gcc at gmail dot com>
- To: Paul Smedley <paul at smedley dot id dot au>
- Cc: gcc at gcc dot gnu dot org
- Date: Mon, 9 Apr 2012 13:24:56 +0100
- Subject: Re: .opt file help
- References: <jlubu3$3ip$1@dough.gmane.org>
On 9 April 2012 10:59, Paul Smedley wrote:
> Hi All,
>
> As part of updating the OS/2 port of GCC from v4.4.x to v4.6.x I've hit a
> snag where the passing of options to the linker is no longer working.
>
> Previous OS/2 builds of gcc have supported -Zlinker zzzz on the command line
> to pass the option zzzz to the linker.
>
> With previous gcc versions this worked, however with 4.6 I get an error
> about gcc not recognising the option.
>
> I added:
> -Zlinker
> driver separate
Can you simply make it an alias of the existing -Xlinker option?
-Zlinker
Driver Separate Alias(-Xlinker)