On 7 October 2014 06:10, Jérôme Duval <jerome.duval@xxxxxxxxx> wrote: > 2014-10-04 3:45 GMT+02:00 <jessica.l.hamilton@xxxxxxxxx>: >> Revision: btrev43090 >> Commit: aeb1fcf62f3b60585fdb39fb646417982700c2df >> URL: http://cgit.haiku-os.org/buildtools/commit/?id=aeb1fcf >> Author: Nick Smallbone <nick.smallbone@xxxxxxxxx> >> Date: Fri Oct 3 14:16:03 2014 UTC >> Committer: Jessica Hamilton <jessica.l.hamilton@xxxxxxxxx> >> Commit-Date: Sat Oct 4 01:41:05 2014 UTC >> >> ---------------------------------------------------------------------------- >> >> 4 files changed, 4 insertions(+), 4 deletions(-) >> gcc/gcc/config/arm/haiku.h | 2 +- >> gcc/gcc/config/i386/haiku.h | 2 +- >> gcc/gcc/config/mips/haiku.h | 2 +- >> legacy/gcc/gcc/config/i386/haiku.h | 2 +- > > You might also adjust gcc/gcc/config/i386/haiku64.h, > gcc/gcc/config/rs6000/haiku.h and gcc/gcc/config/m68k/haiku.h. > Question: what means the option "-r"? I couldn't find any reference to it. > > BTW where did this patch come from? A ticket would have been nice to > understand the context, it's not very easy with a one-liner summary. The -r and -shared options are mutually exclusive. The Glasgow Haskell Compiler makes use of the -r option. Haiku's default of forcing the -shared switch broke the -r switch. See some more about http://stackoverflow.com/questions/2980102/combine-two-gcc-compiled-o-object-files-into-a-third-o-file Will update the extra files I missed shortly. Thanks for noticing!