public inbox for gas2@sourceware.org
 help / color / mirror / Atom feed
* Sunos4-1-4 builds...
@ 1995-10-05  1:13 David S. Miller
  1995-10-05  8:13 ` Ian Lance Taylor
  0 siblings, 1 reply; 4+ messages in thread
From: David S. Miller @ 1995-10-05  1:13 UTC (permalink / raw)
  To: gas2

Building the linker uses flex, however the configuration process does
not add '-lfl' to the list of libraries to link the final ld.new
binary with.  Is there a certain reason that -lfl is not added to the
set of libs to link with?

Later,
David S. Miller
davem@caip.rutgers.edu


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Sunos4-1-4 builds...
  1995-10-05  1:13 Sunos4-1-4 builds David S. Miller
@ 1995-10-05  8:13 ` Ian Lance Taylor
  1995-10-05 14:13   ` Grrr: " David S. Miller
  0 siblings, 1 reply; 4+ messages in thread
From: Ian Lance Taylor @ 1995-10-05  8:13 UTC (permalink / raw)
  To: davem; +Cc: gas2

   Date: Thu, 5 Oct 1995 03:47:53 -0400
   From: "David S. Miller" <davem@caip.rutgers.edu>

   Building the linker uses flex, however the configuration process does
   not add '-lfl' to the list of libraries to link the final ld.new
   binary with.  Is there a certain reason that -lfl is not added to the
   set of libs to link with?

It shouldn't be necessary, at least not for modern versions of flex.
-lfl just defines main and yywrap.  main is defined in ldmain.c, and
yywrap is defined in ldlex.l.  Is it causing trouble?  What version of
flex are you using?

Ian


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Grrr: Sunos4-1-4 builds...
  1995-10-05  8:13 ` Ian Lance Taylor
@ 1995-10-05 14:13   ` David S. Miller
  1995-10-05 14:58     ` Ian Lance Taylor
  0 siblings, 1 reply; 4+ messages in thread
From: David S. Miller @ 1995-10-05 14:13 UTC (permalink / raw)
  To: ian; +Cc: gas2

   From: Ian Lance Taylor <ian@cygnus.com>
   Date: Thu, 5 Oct 1995 11:13:46 -0400

      Date: Thu, 5 Oct 1995 03:47:53 -0400
      From: "David S. Miller" <davem@caip.rutgers.edu>

      Building the linker uses flex, however the configuration process does
      not add '-lfl' to the list of libraries to link the final ld.new
      binary with.  Is there a certain reason that -lfl is not added to the
      set of libs to link with?

   It shouldn't be necessary, at least not for modern versions of flex.
   -lfl just defines main and yywrap.  main is defined in ldmain.c, and
   yywrap is defined in ldlex.l.  Is it causing trouble?  What version of
   flex are you using?

Currently flex 2.4.5 is installed on the machine which I do SunOS gas
testing..  Precisely, without adding -lfl the compilation fails with
undefined references to:

_yy_flex_realloc
_yy_flex_free
_yy_flex_alloc

This could be something stupid with the way I installed flex or the
fact that is an older version.

Later,
David S. Miller
davem@caip.rutgers.edu


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Grrr: Sunos4-1-4 builds...
  1995-10-05 14:13   ` Grrr: " David S. Miller
@ 1995-10-05 14:58     ` Ian Lance Taylor
  0 siblings, 0 replies; 4+ messages in thread
From: Ian Lance Taylor @ 1995-10-05 14:58 UTC (permalink / raw)
  To: davem; +Cc: gas2

   Date: Thu, 5 Oct 1995 16:25:08 -0400
   From: "David S. Miller" <davem@caip.rutgers.edu>

   Currently flex 2.4.5 is installed on the machine which I do SunOS gas
   testing..  Precisely, without adding -lfl the compilation fails with
   undefined references to:

   _yy_flex_realloc
   _yy_flex_free
   _yy_flex_alloc

   This could be something stupid with the way I installed flex or the
   fact that is an older version.

I don't have any copies of flex which are that old, so I don't know
what the problem is.

We are running flex 2.5.2.

Linking against -lfl will cause problems if people are not using lex
rather than flex, since in that case -lfl won't exist.  You can use a
different lexer by building with make LEX=lex.

Ian


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~1995-10-05 14:58 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1995-10-05  1:13 Sunos4-1-4 builds David S. Miller
1995-10-05  8:13 ` Ian Lance Taylor
1995-10-05 14:13   ` Grrr: " David S. Miller
1995-10-05 14:58     ` Ian Lance Taylor

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).