This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Problems ...
- To: Lars Segerlund <lars dot segerlund at comsys dot se>
- Subject: Re: Problems ...
- From: Alexandre Oliva <aoliva at redhat dot com>
- Date: 04 Jun 2001 16:26:27 -0300
- Cc: gcc-help at gcc dot gnu dot org
- Organization: GCC Team, Red Hat
- References: <3B1B8949.933E2329@comsys.se>
On Jun 4, 2001, Lars Segerlund <lars.segerlund@comsys.se> wrote:
> when I use the code, so does anybody know why these functions are not
> found as I link with -lm ?
Is -lm linked in after object files that depend on it? The order
matters.
Also consider using gcc/g77 for linking, instead of ld directly.
--
Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist *Please* write to mailing lists, not to me