This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
char a[] = "foo\n"; | |
char b[] = "bar\n"; | |
char *c[] = { | |
a, | |
b | |
}; | |
char *d; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
char a[] = "foo\n"; | |
char b[] = "bar\n"; | |
char *c[] = { | |
a, | |
b | |
}; | |
// prints: "foo\n" as expected, no compile warnings |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Makefile:10: static/music/wit2.mid static/readme.txt static/readme_2.txt static/readme_3.txt | |
Makefile:11: dist/music/wit2.mid dist/readme.txt dist/readme_2.txt dist/readme_3.txt | |
cp static/music/wit2.mid dist/music/wit2.mid | |
cp static/music/wit2.mid dist/readme.txt | |
cp static/music/wit2.mid dist/readme_2.txt | |
cp static/music/wit2.mid dist/readme_3.txt |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This is the configuration file for DOSBox SVN. (Please use the latest version of DOSBox) | |
# Lines starting with a # are comment lines and are ignored by DOSBox. | |
# They are used to (briefly) document the effect of each option. | |
[sdl] | |
# fullscreen: Start dosbox directly in fullscreen. (Press ALT-Enter to go back) | |
# fulldouble: Use double buffering in fullscreen. It can reduce screen flickering, but it can also result in a slow DOSBox. | |
# fullresolution: What resolution to use for fullscreen: original, desktop or a fixed size (e.g. 1024x768). | |
# Using your monitor's native resolution with aspect=true might give the best results. | |
# If you end up with small window on a large screen, try an output different from surface. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
\version "2.18.2" | |
\language "english" | |
section-one = { | |
\key c \major | |
\time 6/16 | |
} | |
implicitTuplets = \override TupletNumber.stencil = ##f |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
~> set CMAKE_PREFIX_PATH /usr/local/Cellar/qt5/5.6.0/lib/cmake/ | |
~> cmake .. -GXcode | |
-- Target architecture: x86_64 | |
-- Boost 1.57.0 or newer not found, falling back to externals | |
<FindSDL2.cmake> | |
</FindSDL2.cmake> | |
CMake Warning at CMakeLists.txt:205 (find_package): | |
By not providing "FindQt5.cmake" in CMAKE_MODULE_PATH this project has | |
asked CMake to find a package configuration file provided by "Qt5", but | |
CMake did not find one. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/usr/local/djgpp/bin/i586-pc-msdosdjgpp-gcc -c -o src/main.o src/main.c -DHAVE_STDBOOL_H=1 -Ivendor/allegro-4.2.2-djgpp-xc/include | |
/usr/local/djgpp/bin/i586-pc-msdosdjgpp-gcc -o dist/main.exe src/main.o -Lvendor/allegro-4.2.2-djgpp-xc/lib/djgpp -lalleg | |
vendor/allegro-4.2.2-djgpp-xc/lib/djgpp/liballeg.a(allegro.o):allegro.c:(.text+0x30): multiple definition of `set_window_title' | |
src/main.o:main.c:(.text+0x1e): first defined here | |
vendor/allegro-4.2.2-djgpp-xc/lib/djgpp/liballeg.a(allegro.o):allegro.c:(.text+0x50): multiple definition of `desktop_color_depth' | |
src/main.o:main.c:(.text+0x46): first defined here | |
vendor/allegro-4.2.2-djgpp-xc/lib/djgpp/liballeg.a(allegro.o):allegro.c:(.text+0x70): multiple definition of `get_desktop_resolution' | |
src/main.o:main.c:(.text+0x6b): first defined here | |
[... about 18 thousand lines] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/usr/local/djgpp/bin/i586-pc-msdosdjgpp-gcc -v -c -o src/main.o src/main.c -DHAVE_STDBOOL_H=1 -Ivendor/allegro-4.2.2-djgpp-xc/include | |
/usr/local/djgpp/bin/i586-pc-msdosdjgpp-gcc -v -o dist/main.exe src/main.o -Lvendor/allegro-4.2.2-djgpp-xc/lib/djgpp -lalleg | |
Using built-in specs. | |
COLLECT_GCC=/usr/local/djgpp/bin/i586-pc-msdosdjgpp-gcc | |
Target: i586-pc-msdosdjgpp | |
Configured with: ../gnu/gcc-5.20/configure --target=i586-pc-msdosdjgpp --program-prefix=i586-pc-msdosdjgpp- --prefix=/usr/local/djgpp --disable-nls --disable-plugin --disable-lto --enable-lto --enable-libquadmath-support --with-gmp=/Users/msikma/Source/build-djgpp/build/djcross-gcc-5.2.0/tmpinst --with-mpfr=/Users/msikma/Source/build-djgpp/build/djcross-gcc-5.2.0/tmpinst --with-mpc=/Users/msikma/Source/build-djgpp/build/djcross-gcc-5.2.0/tmpinst --enable-version-specific-runtime-libs --enable-languages=c,c++ | |
Thread model: single | |
gcc version 5.2.0 (GCC) | |
COLLECT_GCC_OPTIONS='-v' '-c' '-o' 'src/main.o' '-D' 'HAVE_STDBOOL_H=1' '-I' 'vendor/allegro-4.2.2-d |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/usr/local/djgpp/bin/i586-pc-msdosdjgpp-gcc -o dist/main.exe src/main.o | |
src/main.o:main.c:(.text+0x15): undefined reference to `_install_allegro_version_check' | |
src/main.o:main.c:(.text+0x25): undefined reference to `system_driver' | |
src/main.o:main.c:(.text+0x31): undefined reference to `system_driver' | |
src/main.o:main.c:(.text+0x4d): undefined reference to `system_driver' | |
src/main.o:main.c:(.text+0x59): undefined reference to `system_driver' | |
src/main.o:main.c:(.text+0x72): undefined reference to `system_driver' | |
src/main.o:main.c:(.text+0x7e): more undefined references to `system_driver' follow | |
src/main.o:main.c:(.text+0x101): undefined reference to `gfx_driver' | |
src/main.o:main.c:(.text+0x1fe): undefined reference to `screen' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
I'm trying to compile Allegro for making a DOS game. My compiler is DJGPP, compiled for Mac OS X, which works for generating .exe files that run on DOS. | |
First, the compilation of the library: | |
./xmake.sh lib | |
i586-pc-msdosdjgpp-gcc -DALLEGRO_SRC -DALLEGRO_LIB_BUILD -Wall -Wno-unused -mtune=i586 -O2 -funroll-loops -ffast-math -fomit-frame-pointer -I. -I./include -o obj/djgpp/alleg/allegro.o -c src/allegro.c | |
i586-pc-msdosdjgpp-gcc -DALLEGRO_SRC -DALLEGRO_LIB_BUILD -Wall -Wno-unused -mtune=i586 -O2 -funroll-loops -ffast-math -fomit-frame-pointer -I. -I./include -o obj/djgpp/alleg/blit.o -c src/blit.c | |
i586-pc-msdosdjgpp-gcc -DALLEGRO_SRC -DALLEGRO_LIB_BUILD -Wall -Wno-unused -mtune=i586 -O2 -funroll-loops -ffast-math -fomit-frame-pointer -I. -I./include -o obj/djgpp/alleg/bmp.o -c src/bmp.c | |
... | |
i586-pc-msdosdjgpp-ar rs lib/djgpp/liballeg.a obj/djgpp/alleg/allegro.o obj/djgpp/alleg/blit.o [...] obj/djgpp/alleg/djirq.o obj/djgpp/alleg/djirqs.o |