[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: linking question
From: |
Hans-Bernhard Broeker |
Subject: |
Re: linking question |
Date: |
Wed, 03 Dec 2003 14:31:21 +0100 (CET) |
On Wed, 3 Dec 2003, Buday Gergely wrote:
> I've tried to compile my source by
>
> gcc -lfl lex.yy.c
[...error]
> but with
>
> gcc lex.yy.c /usr/lib/libfl.a
>
> it went smoothly. What should I set in order to use -lfl?
You have to set the right order of things in the command line.
gcc lex.yy.c -lfl
would have worked nicely. Re-check your understanding of the GCC
command line options against the manual to see why.
--
Hans-Bernhard Broeker (address@hidden)
Even if all the snow were burnt, ashes would remain.
- linking question, Buday Gergely, 2003/12/03
- Re: linking question,
Hans-Bernhard Broeker <=