How do I link programs created with flex and bison.

Mumit Khan
Thu Dec 24 14:51:00 GMT 1998

On 22 Dec 1998, Tony Stratton wrote:

> I am attempting to link the programs with VC++ instead of gcc, because the resultant .exe is one-tenth the size.

Interesting, since I get similar file sizes after I "strip" the GCC
created executables. The sizes are however quite a bit larger for C++ 
programs since we don't (yet) have a DLL for C++ runtime library.

  $ gcc -o foo foo.c
  $ striop foo.exe


  $ gcc -s -o foo foo.c

Could you please check and see if you still get GCC created executables
that are 10 times larger than VC++ created ones?


For help on using this list (especially unsubscribing), send a message to
"" with one line of text: "help".

More information about the Cygwin mailing list