1 | Configure run on Mon Jul 2 14:59:47 2018
|
---|
2 | testing compiler: g++
|
---|
3 | success testing compiler: g++
|
---|
4 |
|
---|
5 | int main(void) {
|
---|
6 | #ifndef __GNUC__
|
---|
7 | syntax error
|
---|
8 | #endif
|
---|
9 | return 0;
|
---|
10 | }
|
---|
11 |
|
---|
12 | g++ -Wl,--no-keep-memory -L/sdk/local/newlib/lib -g ./scummvm-tools-conf.cpp -o ./scummvm-tools-conf -c
|
---|
13 | return code: 0
|
---|
14 |
|
---|
15 |
|
---|
16 | int main(int argc, char *argv[]) { if (argv == nullptr) return -1; else return 0; }
|
---|
17 |
|
---|
18 | g++ -Wl,--no-keep-memory -L/sdk/local/newlib/lib -g ./scummvm-tools-conf.cpp -o ./scummvm-tools-conf -std=c++11
|
---|
19 | return code: 0
|
---|
20 |
|
---|
21 |
|
---|
22 | int main(void) { return 0; }
|
---|
23 |
|
---|
24 | g++ -Wl,--no-keep-memory -L/sdk/local/newlib/lib -L/sdk/local/newlib/lib -g -W -Wno-unused-parameter -Wno-empty-body ./scummvm-tools-conf.cpp -o ./scummvm-tools-conf -lm
|
---|
25 | return code: 0
|
---|
26 |
|
---|
27 |
|
---|
28 | #include <vorbis/codec.h>
|
---|
29 | int main(void) { vorbis_packet_blocksize(0,0); return 0; }
|
---|
30 |
|
---|
31 | g++ -Wl,--no-keep-memory -L/sdk/local/newlib/lib -L/sdk/local/newlib/lib -lm -g -W -Wno-unused-parameter -Wno-empty-body ./scummvm-tools-conf.cpp -o ./scummvm-tools-conf -lvorbisfile -lvorbis -logg
|
---|
32 | return code: 0
|
---|
33 |
|
---|
34 |
|
---|
35 | #include <tremor/ivorbiscodec.h>
|
---|
36 | int main(void) { vorbis_info_init(0); return 0; }
|
---|
37 |
|
---|
38 | g++ -Wl,--no-keep-memory -L/sdk/local/newlib/lib -L/sdk/local/newlib/lib -lm -g -W -Wno-unused-parameter -Wno-empty-body ./scummvm-tools-conf.cpp -o ./scummvm-tools-conf -lvorbisidec
|
---|
39 | ./scummvm-tools-conf.cpp:1:33: fatal error: tremor/ivorbiscodec.h: No such file or directory
|
---|
40 | compilation terminated.
|
---|
41 | return code: 1
|
---|
42 |
|
---|
43 |
|
---|
44 | #include <FLAC/format.h>
|
---|
45 | #include <FLAC/stream_encoder.h>
|
---|
46 | FLAC__StreamEncoderInitStatus x;
|
---|
47 | int main(void) { return FLAC__STREAM_SYNC_LEN >> 30; /* guaranteed to be 0 */ }
|
---|
48 |
|
---|
49 | g++ -Wl,--no-keep-memory -L/sdk/local/newlib/lib -L/sdk/local/newlib/lib -lm -g -W -Wno-unused-parameter -Wno-empty-body ./scummvm-tools-conf.cpp -o ./scummvm-tools-conf -lFLAC -logg
|
---|
50 | return code: 0
|
---|
51 |
|
---|
52 |
|
---|
53 | #include <mad.h>
|
---|
54 | int main(void) { return 0; }
|
---|
55 |
|
---|
56 | g++ -Wl,--no-keep-memory -L/sdk/local/newlib/lib -L/sdk/local/newlib/lib -lm -g -W -Wno-unused-parameter -Wno-empty-body ./scummvm-tools-conf.cpp -o ./scummvm-tools-conf -lmad
|
---|
57 | return code: 0
|
---|
58 |
|
---|
59 |
|
---|
60 | #include <png.h>
|
---|
61 | int main(void) {
|
---|
62 | #if PNG_LIBPNG_VER >= 10208
|
---|
63 | #else
|
---|
64 | syntax error
|
---|
65 | #endif
|
---|
66 | return 0;
|
---|
67 | }
|
---|
68 |
|
---|
69 | g++ -Wl,--no-keep-memory -L/sdk/local/newlib/lib -L/sdk/local/newlib/lib -lm -g -W -Wno-unused-parameter -Wno-empty-body ./scummvm-tools-conf.cpp -o ./scummvm-tools-conf -lpng
|
---|
70 | return code: 0
|
---|
71 |
|
---|
72 |
|
---|
73 | #include <string.h>
|
---|
74 | #include <zlib.h>
|
---|
75 | int main(void) { return strcmp(ZLIB_VERSION, zlibVersion()); }
|
---|
76 |
|
---|
77 | g++ -Wl,--no-keep-memory -L/sdk/local/newlib/lib -L/sdk/local/newlib/lib -lm -g -W -Wno-unused-parameter -Wno-empty-body ./scummvm-tools-conf.cpp -o ./scummvm-tools-conf -lz
|
---|
78 | return code: 0
|
---|
79 |
|
---|
80 |
|
---|
81 | #include <ft2build.h>
|
---|
82 | #include FT_FREETYPE_H
|
---|
83 |
|
---|
84 | int main(int argc, char *argv[]) {
|
---|
85 | FT_Library library;
|
---|
86 | FT_Error error = FT_Init_FreeType(&library);
|
---|
87 | FT_Done_FreeType(library);
|
---|
88 | }
|
---|
89 |
|
---|
90 | g++ -Wl,--no-keep-memory -L/sdk/local/newlib/lib -L/sdk/local/newlib/lib -lm -g -W -Wno-unused-parameter -Wno-empty-body ./scummvm-tools-conf.cpp -o ./scummvm-tools-conf -L/SDK/local/newlib/lib -lfreetype -I/SDK/local/common/include/freetype2
|
---|
91 | return code: 0
|
---|
92 |
|
---|
93 |
|
---|
94 | #include <iostream>
|
---|
95 | #include <boost/version.hpp>
|
---|
96 | int main(void) { if (BOOST_VERSION < 103200) return 1; return 0; }
|
---|
97 |
|
---|
98 | g++ -Wl,--no-keep-memory -L/sdk/local/newlib/lib -L/sdk/local/newlib/lib -lm -g -W -Wno-unused-parameter -Wno-empty-body ./scummvm-tools-conf.cpp -o ./scummvm-tools-conf
|
---|
99 | ./scummvm-tools-conf.cpp:2:29: fatal error: boost/version.hpp: No such file or directory
|
---|
100 | compilation terminated.
|
---|
101 | return code: 1
|
---|
102 |
|
---|
103 |
|
---|
104 | #include <iconv.h>
|
---|
105 | int main(int, char **) {
|
---|
106 | return 0;
|
---|
107 | }
|
---|
108 |
|
---|
109 | g++ -Wl,--no-keep-memory -L/sdk/local/newlib/lib -L/sdk/local/newlib/lib -lm -g -W -Wno-unused-parameter -Wno-empty-body ./scummvm-tools-conf.cpp -o ./scummvm-tools-conf
|
---|
110 | return code: 0
|
---|
111 |
|
---|
112 |
|
---|
113 | #include <iconv.h>
|
---|
114 | int main(int, char **) {
|
---|
115 | iconv_t iconv = iconv_open("UTF-32", "SJIS");
|
---|
116 | iconv_close(iconv);
|
---|
117 | return 0;
|
---|
118 | }
|
---|
119 |
|
---|
120 | g++ -Wl,--no-keep-memory -L/sdk/local/newlib/lib -L/sdk/local/newlib/lib -lm -g -W -Wno-unused-parameter -Wno-empty-body ./scummvm-tools-conf.cpp -o ./scummvm-tools-conf -liconv
|
---|
121 | Development:Coding/SDK/gcc/ppc-amigaos/bin/ld: cannot find -liconv
|
---|
122 | return code: 1
|
---|
123 |
|
---|
124 |
|
---|
125 | #include <iconv.h>
|
---|
126 | int main(int, char **) {
|
---|
127 | iconv_t iconv = iconv_open("UTF-32", "SJIS");
|
---|
128 | iconv_close(iconv);
|
---|
129 | return 0;
|
---|
130 | }
|
---|
131 |
|
---|
132 | g++ -Wl,--no-keep-memory -L/sdk/local/newlib/lib -L/sdk/local/newlib/lib -lm -g -W -Wno-unused-parameter -Wno-empty-body ./scummvm-tools-conf.cpp -o ./scummvm-tools-conf
|
---|
133 | return code: 0
|
---|
134 |
|
---|
135 |
|
---|
136 | #include <iconv.h>
|
---|
137 | int main(int argc, char **argv) {
|
---|
138 | iconv_t iconvP;
|
---|
139 | const char **inbuf = 0;
|
---|
140 | iconv(iconvP, inbuf, 0, 0, 0);
|
---|
141 | return 0;
|
---|
142 | }
|
---|
143 |
|
---|
144 | g++ -Wl,--no-keep-memory -L/sdk/local/newlib/lib -L/sdk/local/newlib/lib -lm -g -W -Wno-unused-parameter -Wno-empty-body ./scummvm-tools-conf.cpp -o ./scummvm-tools-conf
|
---|
145 | ./scummvm-tools-conf.cpp: In function 'int main(int, char**)':
|
---|
146 | ./scummvm-tools-conf.cpp:5:31: warning: 'iconvP' is used uninitialized in this function [-Wuninitialized]
|
---|
147 | iconv(iconvP, inbuf, 0, 0, 0);
|
---|
148 | ^
|
---|
149 | return code: 0
|
---|
150 |
|
---|