echo deps Simple.cppdeps Simple.cppgrc -e i586-mingw32msvc-g++ -O2 -Wall -Wextra --pedantic `pkg-config --cflags ` -M -MP -MQ Simple.d -MQ Simple.o -o Simple.d Simple.cppMust specify package names on the command lineecho g++ Simple.cppg++ Simple.cppgrc -e i586-mingw32msvc-g++ -O2 -Wall -Wextra --pedantic `pkg-config --cflags ` -c -o Simple.o Simple.cppMust specify package names on the command lineSimple.cpp:72: warning: unused parameter ‘state’Simple.cpp:72: warning: unused parameter ‘x’Simple.cpp:72: warning: unused parameter ‘y’Simple.cpp:94: warning: unused parameter ‘x’Simple.cpp:94: warning: unused parameter ‘y’echo linking testlinking testi586-mingw32msvc-ld -lglut `pkg-config --libs ` -o test.exe Simple.o Must specify package names on the command lineSimple.o:Simple.cpp:(.text+0xf): undefined reference to `_glLoadIdentity@0'Simple.o:Simple.cpp:(.text+0x42): undefined reference to `_gluLookAt@72'Simple.o:Simple.cpp:(.text+0x4d): undefined reference to `_glClear@4'Simple.o:Simple.cpp:(.text+0x54): undefined reference to `_glBegin@4'Simple.o:Simple.cpp:(.text+0x62): undefined reference to `_glColor3f@12'Simple.o:Simple.cpp:(.text+0x6e): undefined reference to `_glVertex3f@12'Simple.o:Simple.cpp:(.text+0x7a): undefined reference to `_glColor3f@12'Simple.o:Simple.cpp:(.text+0x8a): undefined reference to `_glVertex3f@12'Simple.o:Simple.cpp:(.text+0x96): undefined reference to `_glColor3f@12'Simple.o:Simple.cpp:(.text+0xa2): undefined reference to `_glVertex3f@12'Simple.o:Simple.cpp:(.text+0xa8): undefined reference to `_glEnd@0'
`pkg-config --libs `
#pkg-config --libs openssl-L/usr/kerberos/lib -lssl -lcrypto -ldl -lz