Skip to content

Instantly share code, notes, and snippets.

@bazhenovc
Created January 10, 2013 20:07
Show Gist options
  • Save bazhenovc/4505347 to your computer and use it in GitHub Desktop.
Save bazhenovc/4505347 to your computer and use it in GitHub Desktop.
cc -o libcheetah.so src/image_write.o src/filesystem.o src/particles.o src/framebuffer.o src/window.o src/atlas.o src/generator.o src/tilemap.o src/event.o src/vbo.o src/font.o src/graphics.o src/thread.o src/image.o src/render.o src/shader.o src/SOIL/image_DXT.o src/SOIL/stb_image_aug.o src/SOIL/SOIL.o src/SOIL/image_helper.o -Ofast -fomit-frame-pointer -funroll-loops -mmmx -msse -ftree-vectorize -flto -m32 -fprofile-use -Wall -Winline -pipe -fPIC -shared -L"lib" -lSDL -lGL
/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/../../../libSDL.so when searching for -lSDL
/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/libSDL.so when searching for -lSDL
/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lSDL
src/generator.o (symbol from plugin): warning: memset used with constant zero length parameter; this could be due to transposed parameters
collect2: выполнение ld завершилось с кодом возврата 1
make: *** [libcheetah.so] Ошибка 1
strip: './bin/Release/bin/linux32/libcheetah.so': Нет такого файла
@scriptum
Copy link

Also make_all builds for all platforms (Linux native, Linux 32, Win32) so you can use only ./make.sh native release

I didn't write manual for the new build system yet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment