Re: [patch] Failed to build mips64-elf with NLS on OSX

Masaki Muranaka
2006-06-15T10:04:11Z

On 2006/06/15, at 18:24, Andreas Schwab wrote:
> GCC _does_ work so.

After sent the previous mail, I've built GDB on my Linux box.
The build was succeeded without my patch.
So I believe you are right.
Then, I confused why the build was failed on OSX.

The use of intl/ is a one of the configuration diffence
between my Linux host and my OSX one.
In my Linux box, Gettext has installed. so intl/libintl.h
is not generated.

How do you think possibilities about bugs in intl/ causes
the build failed?

The cpp'ed code under OSX is like this:
internal_error ("../../src/gdb/mips-tdep.c", 273, libintl_gettext
("bad switch"));
And the definition of internal_error is like this:
extern void internal_error ( char *file, int line,
char *, ...) __attribute__
((noreturn)) __attribute__ ((format(printf, 3, 4)));