This is an old revision of the document!
$ cat hello.c
#include <stdio.h> int main () { printf("Hello World\n"); }
$ cc hello.c -o hello.exe $ ./hello.exe Hello World
$ cat hello.c
#include <stdio.h> extern char* str; int main () { printf("%s",str); }
$ cat string.c
char* str="Hello World 3\n";
$ cc -c hello.c $ cc -c string.c $ cc hello.o string.o -o hello.exe $ ./hello.exe Hello World 3
$ cat Makefile
hello.exe: hello.o string.o cc hello.o string.o -o hello.exe hello.o: hello.c cc -c hello.c string.o: string.c cc -c string.c
$ cat string.c
char* str="Hello World 4\n";
$ make cc -c string.c cc hello.o string.o -o hello.exe $ ./hello.exe Hello World 4
$ cat Makefile
... install: cp hello.exe /usr/local/bin clean: rm *.o rm *.exe
$ sudo make install cp hello.exe /usr/local/bin $ hello.exe Hello World 4 $ make clean rm *.o rm *.exe
freebsd$ fetch http://invisible-mirror.net/archives/lynx/tarballs/lynx2.8.5rel.1.tar.gz или gentoo$ wget http://invisible-mirror.net/archives/lynx/tarballs/lynx2.8.9rel.1.tar.gz $ tar -xvf lynx2.8.*.tar.gz $ cd lynx<TAB> $ more README $ ./configure --help gentoo$ ./configure --prefix=/usr/local freebsd$ ./configure --prefix=/usr/local/lynx $ make $ make install $ make clean $ lynx https://ya.ru !!! не работает, нужно было собирать с поддержкой ssl !!! $ lynx http://val.bmstu.ru $ lynx http://www.bmstu.ru