This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: config.h/m68k-macintosh-linux/sys_siglist



  In message <9802200252.AA18669@axp745.gsfc.nasa.gov>you write:
  > 
  > Using egcs-1.0.1 on a Macintosh IIsi running Linux 2.0.29:
  > 
  > I had to manually define SYS_SIGLIST_DECLARED in gcc/config.h.  I
  > don't know why the configure didn't automagically set this.
  > Perhaps this is fixed in the latest snapshot?
>From the gcc manual:

@vindex sys_siglist
Some systems do provide this variable, but with a different name such
as @code{_sys_siglist}.  On these systems, you can define
@code{sys_siglist} as a macro which expands into the name actually
provided.

Autoconf normally defines @code{SYS_SIGLIST_DECLARED} when it finds a
declaration of @code{sys_siglist} in the system header files.
However, when you define @code{sys_siglist} to a different name
autoconf will not automatically define @code{SYS_SIGLIST_DECLARED}.
Therefore, if you define @code{sys_siglist}, you should also define
@code{SYS_SIGLIST_DECLARED}.

@findex USE_PROTOTYPES

So this would most likely mean the your config  file has defined
sys_siglist without defining SYS_SIGLIST_DECLARED.

jeff


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]