Connect system call in SCO The proper link line is...
Boyd Lynn Gerber
gerberb@zenez.com
Thu Dec 13 23:11:00 GMT 2001
Robert Lipe wrote-------------
>$ gcc c.cpp -lgthreads -lsocket && ./a.out
>
>Of course, if you get the library link order wrong, you'll get different
>results:
>
>$ gcc c.cpp -lsocket -lgthreads && ./a.out
The proper link if -lgthreads -lsocket -lgthreads if this is not done you
will not get proper code to work.
tt,
--
Boyd Gerber <gerberb@zenez.com>
ZENEZ 3748 Valley Forge Road, Magna Utah 84044
More information about the Gcc
mailing list