Here is an essay version of my class notes from Class 1 of CS183: Startup. Errors and omissions are my own. Credit for good stuff is Peter’s entirely.
CS183: Startup—Notes Essay—The Challenge of the Future
Purpose and Preamble
Here is an essay version of my class notes from Class 1 of CS183: Startup. Errors and omissions are my own. Credit for good stuff is Peter’s entirely.
CS183: Startup—Notes Essay—The Challenge of the Future
Purpose and Preamble
diff -r 96a023de3ddf make/sun/font/Makefile | |
--- a/make/sun/font/Makefile Wed Jun 06 18:39:46 2012 -0700 | |
+++ b/make/sun/font/Makefile Fri Jun 08 12:52:01 2012 +0900 | |
@@ -128,7 +128,7 @@ | |
ifeq ($(USING_SYSTEM_FT_LIB), false) | |
FREETYPE_LIB = $(LIB_LOCATION)/$(LIB_PREFIX)freetype.$(LIBRARY_SUFFIX).6 | |
endif | |
- OTHER_LDLIBS += -L$(FREETYPE_LIB_PATH) -lfreetype | |
+ OTHER_LDLIBS += -L$(FREETYPE_LIB_PATH) -lfreetype -lfontconfig | |
endif |
package main | |
import ( | |
"net/http" | |
"log" | |
"fmt" | |
) | |
func main() { | |
http.HandleFunc("/", func(w http.ResponseWriter, r *http.Request) { |
webserver: webserver.c libuv/uv.a http-parser/http_parser.o | |
gcc -I libuv/include \ | |
-lrt -lm -lpthread -o \ | |
webserver webserver.c \ | |
libuv/uv.a http-parser/http_parser.o | |
libuv/uv.a: | |
$(MAKE) -C libuv | |
http-parser/http_parser.o: |