This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: gengenrtl needs to link with libintl
- To: dave at hiauly1 dot hia dot nrc dot ca
- Subject: Re: gengenrtl needs to link with libintl
- From: DJ Delorie <dj at redhat dot com>
- Date: Mon, 12 Nov 2001 16:44:46 -0500
- Cc: gcc-bugs at gcc dot gnu dot org, gcc-patches at gcc dot gnu dot org
- References: <200111122127.fACLRNuY000940@hiauly1.hia.nrc.ca>
> However, I still think there should be a better way to turn
> internationalization ON and OFF in obstack.c. Maybe obstack
> should do something similar to gcc/intl.h. It defines
> gettext(msgid) to (msgid) when ENABLE_NLS is undefined.
If glibc has a suitable patch, please feel free to post it to
gcc-patches for libiberty too. I saw a similar patch for regex go by,
they might already have one for obstack.
> It seems obstack.c needs memcpy, exit (in some cases), malloc and free.
I think exit, malloc, and free are reasonably portable.