From: Tuomo L. <dj...@ik...> - 2009-05-14 18:50:18
|
Yara Fredmann wrote: > d:\workspace\htiny\scand\lexscan>gcc lex.yy.c -llibfl http://gcc.gnu.org/onlinedocs/gcc-3.4.6/gcc/Link-Options.html#Link-Options http://gcc.gnu.org/onlinedocs/gcc-3.4.6/gcc/Directory-Options.html#Directory-Options You need to use -lfl and possibly add a directory to library search path with -L <directory>. Remember that -L is an option specifier and should be before input files on the command line whereas -l denotes a library file and needs to be at the very end. I'm pretty sure there's a FAQ entry about this somewhere. If not, there's at least *the manual*.. -- Tuomo ... <@Longcat> Could a blue screen of death constitute being defenestrated? <Edible> Thrown out of Windo- <Edible> ... * Edible goes to cry. -- http://bash.org/?756448 |