[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: A Question About ld, please help..
Oleg Goldshmidt wrote:
> Ilya Khayutin <rilel@yahoo.com> writes:
>
> > Multipile Precision library). The GMP library on my
> > SuSe 6.3 system is at /usr/lib/libgmp.a and the header
> > file for it is at /usr/include/gmp.h . I have a
> > Makefile for compiling it but the real command for
> > compiling some files is:
>
> You mean, linking...
>
> > g++ -g -O -o -lgmp *.C
1) Put the -lgmp at the end of the command line.
2) WHere the heck is the output filename ???
Then read the fine book - "Expert C programming - Deep C Secret" by
Peter Van Der Linden.
=================================================================
To unsubscribe, send mail to linux-il-request@linux.org.il with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail linux-il-request@linux.org.il