Peter L. Peres writes: > The question is in the $SUBJ. I have a certain piece of software > (assembler) that uses Flex. The source is ~500-1000 lines and should yield > a 60-70k executable (ok, maybe 120k). There are no static tables, no > recursive mallocs etc. > > This code compiles to 350k + dynamic ELF ! I have tried every optimization > flag of the linker and compiler in turn, nada. First I had thought it is > statically linked, but, nada, it's dynamic. > > So, before I remove Flex from my horizon permanently, can I have your > opinion on this ? Possibly it is full of symbols and/or debug info. Run strip on your binary to remove them. Mal -- Netherlands Foundation for Research in Astronomy http://www.nfra.nl/~mgoris/ Phone: +31 521 595 286 (work) Fax: +31 521 597 332 +31 528 274 156 (home)