control of symbols exported by shared libraries

2005-07-25 Thread Bruno Haible
Hi, gcc-4.0 now provides support for controlling the set of symbols exported from a shared library in a reasonable, maintainable way. I have added a gnulib module to this effect. With documentation, this time :-) Bruno = modules/visibility

Re: control of symbols exported by shared libraries

2005-07-25 Thread Simon Josefsson
Bruno Haible [EMAIL PROTECTED] writes: Hi, gcc-4.0 now provides support for controlling the set of symbols exported from a shared library in a reasonable, maintainable way. I have added a gnulib module to this effect. With documentation, this time :-) How does this relate to something like

Re: control of symbols exported by shared libraries

2005-07-25 Thread Bruno Haible
Simon Josefsson wrote: gcc-4.0 now provides support for controlling the set of symbols exported from a shared library in a reasonable, maintainable way. I have added a gnulib module to this effect. With documentation, this time :-) How does this relate to something like Libtool's

Re: control of symbols exported by shared libraries

2005-07-25 Thread Simon Josefsson
Bruno Haible [EMAIL PROTECTED] writes: Simon Josefsson wrote: gcc-4.0 now provides support for controlling the set of symbols exported from a shared library in a reasonable, maintainable way. I have added a gnulib module to this effect. With documentation, this time :-) How does this

Re: control of symbols exported by shared libraries

2005-07-25 Thread Bruno Haible
Albert Chin wrote: The AIX v7 compiler compiles the following: $ cat vis.c extern __attribute__((__visibility__(hidden))) int hiddenvar; extern __attribute__((__visibility__(default))) int exportedvar; extern __attribute__((__visibility__(hidden))) int hiddenfunc (void); extern

Re: patch for regex.m4

2005-07-25 Thread Paul Eggert
James Gallagher [EMAIL PROTECTED] writes: I added AC_LANG_SOURCE to fix the error and figured I might as well make the switch to RUN_IFELSE at the same time since the docs say TRY_RUN is obsolete. That makes sense, yes. I installed the patch below (plus some unimportant indenting changes)

Re: patch for regex.m4

2005-07-25 Thread Paul Eggert
I removed m4_syscmd, ..., because they were not working on either Mac OS/X or RHEL3. Hmm, why not? Shouldn't they be working? What versions of m4 and Autoconf were you using? Let's try to see what the underlying problem is first, before removing this from regex.m4. Well, I have to

Re: tempfailure: adding TEMP_FAILURE_RETRY

2005-07-25 Thread Paul Eggert
Oskar Liljeblad [EMAIL PROTECTED] writes: It backports the TEMP_FAILURE_RETRY macro from GNU Libc to Gnulib. The proposed implementation isn't portable; it assumes GCC syntax. And it should probably defer to the unistd.h implementation if available. My kneejerk reaction is that it's a bit

Re: patch for regex.m4

2005-07-25 Thread James Gallagher
On Jul 25, 2005, at 3:49 PM, Paul Eggert wrote: I removed m4_syscmd, ..., because they were not working on either Mac OS/X or RHEL3. Hmm, why not? Shouldn't they be working? What versions of m4 and Autoconf were you using? Let's try to see what the underlying problem is first, before