This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB 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 v2 14/14] the "compile" command


On Wed, 08 Oct 2014 20:42:46 +0200, Eli Zaretskii wrote:
> AFAIK, MinGW compilers simply ignore -fPIC.

My concern was only if the compiler refuses to run with such option which it
does not.  I agree it prints:

<stdin>:1:0: warning: -fPIC ignored for target (all code is position independent) [enabled by default]

Before tuning the options to prevent for such target warnings it would be
better to know whether it works at all.  Besides other reasons (such as not
having such platform available) I am not interested in this target so I hope
it is OK to leave it up to mingw maintainers to at least test it before
deciding what next.


> But if the feature will only work with these options and no others,
> then I guess it's OK to have them as fixed strings.

As I said these options are required for {i686,x86_64}-linux.


Thanks,
Jan


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