This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: fixinc needs check for `atexit'
- To: "Philippe De Muyter" <phdm at macqel dot be>
- Subject: Re: fixinc needs check for `atexit'
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Sun, 28 Nov 1999 00:50:31 -0700
- cc: gcc-patches at gcc dot gnu dot org (gcc-patches at gcc dot gnu dot org)
- Reply-To: law at cygnus dot com
In message <199911261043.LAA23049@mail.macqel.be>you write:
> Problem :
> cc -o fixincl fixincl.o server.o procopen.o gnu-regex.o fixlib.o ../../libi
> berty
> /libiberty.a ../../libiberty/libiberty.a
> server.o: In function `server_setup':
> server.c:224: undefined reference to `atexit'
> Could not install binary fixincludes.
>
> Fix (part 2) :
> Fri Nov 26 10:50:05 1999 Philippe De Muyter <phdm@macqel.be>
>
> * configure.in (AC_CHECK_FUNCS): Check also for `atexit'.
> * configure, config.in : Files regenerated.
I don't see how this actually fixes the problem since none of the gcc or
fixinc code will look at the value produced by configure.
Maybe you meant to put this change into libiberty?
Even that's not sufficient since libiberty can't be linked into
fixinc at the moment.
jeff