This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
| Other format: | [Raw text] | |
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
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |