Using lex in a shared library

Garrett Cooper yanefbsd at gmail.com
Fri Jul 2 23:05:33 UTC 2010


On Fri, Jul 2, 2010 at 3:53 PM, Philip Herron <redbrain at gcc.gnu.org> wrote:
> On 2 July 2010 23:31, Matthew Fleming <mdf356 at gmail.com> wrote:
>> On Fri, Jul 2, 2010 at 2:54 PM, Philip Herron <redbrain at gcc.gnu.org> wrote:
>>> Although maybe not helpful but have you considered using
>>> automake/libtool instead makes it so much simpler in my opinion.
>>
>> Instead of... ?  Instead of this makefile?
>
> Yeah to create your self a shared library using automake:

...

> This will generate you all the Makefie.in files recursively over your
> work dir. When building these Makefile.in you only need do it once
> really, unless you change your makefile.am files. The makefiles.in are
> designed to be portable. All they need is some configuration though
> autoconf to tell it what compiler to use etc.

Why create a dependency on several ports (which tends to be painful to
maintain) instead of using what's available to you in the base system?
Thanks,
-Garrett


More information about the freebsd-hackers mailing list