Libraries in cc

Gary Duzan gdtltr at freezer.it.udel.edu
Thu Oct 11 00:17:47 AEST 1990


   Is it just me, or is the fact that "cc -lm mmnn.c" doesn't work but
"cc mmnn.c -lm" does extremely non-intuitive? Last I heard, the general
idea was to have <command> <flags> <filename(s)>. I know at least one
compiler has fixed this, but others, including GCC (at least our version)
haven't.

                                        Gary Duzan
                                        Time  Lord
                                    Third Regeneration



-- 
                          gdtltr at freezer.it.udel.edu
   _o_                    --------------------------                      _o_
 [|o o|]        An isolated computer is a terribly lonely thing.        [|o o|]
  |_O_|         "Don't listen to me; I never do." -- Doctor Who          |_O_|



More information about the Comp.unix.questions mailing list