Hi Dave, On Mon, Oct 26, 2009 at 04:36:32PM -0000, Mears, David (ADP DSI) wrote: > Hi All > > > > This is my very first post and I need some help > > I am very sorry if this is a daft question > > Is it possible to compile and link the example programs or ones I write > myself without the use of make files or libtool > > > > If so how do you do it ? > > > > Thanks Dave > > >
> _______________________________________________ > libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel To compile without any makefile a libssh2 dynamic linked program named 'sample.c' you can do this following things : - with make: make sample CLFAGS='-g -lssh2' - with gcc: gcc -lssh2 -g -o sample sample.c If your libssh2.so file isn't in common /usr/lib/, you can change path with -L/folder/where/is/it argument. Regards -- Sofian Brabez Security R&D Engineer Email: [email protected] Website: www.wallix.com _______________________________________________ libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
