[RFC] Build on OSX
Masaki Muranaka
monaka@monami-software.com
Wed Feb 28 10:18:00 GMT 2007
On 2007/02/28, at 1:56, Daniel Jacobowitz wrote:
>> /usr/bin/ld: warning multiple definitions of symbol _locale_charset
>> ./../intl/libintl.a(localcharset.o) definition of _locale_charset in
>> section (__TEXT,__text)
>> /usr/lib/gcc/powerpc-apple-darwin8/4.0.1/../../../libiconv.dylib
>> (localcharset.o) definition of _locale_charset
>>
>>
>> It is well known issue. OSX (maybe also Darwin) hosts
>> need to link 'resolv' library beforge libintl.a.
>>
>> Here is a brute-forced patch. But I don't think this is
>> the good solution.
>
> I know that people built GCC on this platform all the time. GCC
> doesn't explicitly do this, so why does it work for GCC but not for
> GDB? I would recommend building GCC and trying to figure out what's
> different.
I have an mistake. In fact, there is warning already shown, but
binaries (gdb, gdbtui) are generated successfully.
> (You can build just a C compiler with --enable-languages=c, that's
> much quicker.)
I can't build GCC immediately because I don't have darwin version of
GMP/MPFR. So I'm not sure, but it is posible that GCC developers
regard this issue as harmless.
--
Masaki Muranaka
Monami software
More information about the Gdb-patches
mailing list