Re: [Fedora] Re: gcc questions

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Dotan Cohen wrote:

Thank you, it compiled now. I just spacebar'ed about 100 times in the
gcc man page looking for the "m" option that you mention. I did find
the "l" option (search the library named library when linking), but
not the "m" option.
The 'm' (in THIS case*) is not a gcc option, it's a library, namely the math library.

   -l<library>

You can compile against a bunch of different library, depending on what your program is calling for. For example, if you're going to be using SSL functions, then you'll have to link -lssl.

   * gcc's -m is for emulation

--
R | I haven't lost my mind; it's backed up on tape somewhere.
 +--------------------------------------------------------------------
 Ashley M. Kirchner <mailto:ashley@xxxxxxxxxx>   .   303.442.6410 x130
 IT Director / SysAdmin / WebSmith             .     800.441.3873 x130
 Photo Craft Laboratories, Inc.            .     3550 Arapahoe Ave. #6
 http://www.pcraft.com ..... .  .    .       Boulder, CO 80303, U.S.A.



[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux