Gilles Ganault wrote: > Sorry about that :-/ Apparently, gcc will compile and link in one go. > Is a Makefile required to add the -lpthread switch, or can this be > done on the command line?
You can do it on the command line -- just try it. make(1) (and its typical input, a set of makefiles) is just a clever wrapper for shell commands. It's not "required" to do anything at all, though life soon becomes miserable without it or something similar. > BTW, am I correct in understanding that originally, gcc stood for "GNU > C compiler", while now, gcc is just a language-neutral front-end that > can compile different source files (C, C++, Fortran, etc.) and is > smart enough to guess what type of source files it is handed and call > the right compiler accordingly? gcc == command line tool for preprocessing/compiling/linking C programs. GCC == GNU Compiler Collection, a suite of tools for compiling tons of different languages. See http://gcc.gnu.org. Eric -- Eric A. Smith Wright, rightly righting waiting wights' weighty writing rights writ white, writes right. -- artifex2004 _______________________________________________ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users