Tag: gcc

1997 Why doesn't GCC optimize a*a*a*a*a*a to (a*a*a)*(a*a*a)? 2011-06-21T18:49:55.103

1319 Compiling an application for use in highly radioactive environments 2016-04-24T19:09:40.713

939 Why does the C preprocessor interpret the word "linux" as the constant "1"? 2013-10-06T16:09:48.263

791 fatal error: Python.h: No such file or directory 2014-02-03T15:00:16.653

708 What is the difference between g++ and gcc? 2008-10-05T20:25:13.563

708 Why is my program slow when looping over exactly 8192 elements? 2012-09-04T13:51:31.017

505 How to automatically generate a stacktrace when my program crashes 2008-09-16T20:58:35.487

458 "Agreeing to the Xcode/iOS license requires admin privileges, please re-run as root via sudo." when using GCC 2014-10-04T21:25:32.237

394 How do I list the symbols in a .so file 2008-08-29T16:57:47.920

394 Why does GCC generate 15-20% faster code if I optimize for size instead of speed? 2013-10-19T20:36:16.310

390 Why does the order in which libraries are linked sometimes cause errors in GCC? 2008-09-05T02:24:19.677

389 How to get rid of `deprecated conversion from string constant to ‘char*’` warnings in GCC? 2008-09-12T18:15:55.320

347 GCC -fPIC option 2011-03-15T12:12:16.993

320 Debug vs Release in CMake 2011-10-11T10:26:54.997

307 This C function should always return false, but it doesn’t 2016-04-07T12:27:08.240

304 How do you get assembler output from C/C++ source in gcc? 2008-09-26T00:10:21.527

294 gcc makefile error: "No rule to make target ..." 2009-05-07T13:49:54.637

294 How exactly does __attribute__((constructor)) work? 2010-01-12T22:43:04.910

287 How to use/install gcc on Mac OS X 10.8 / Xcode 4.4 2012-02-19T21:32:35.977

285 How does the likely/unlikely macros in the Linux kernel works and what is their benefit? 2008-09-20T23:04:16.813

281 Convert char to int in C and C++ 2011-02-17T13:57:37.613

269 Can't install Ruby under Lion with RVM – GCC issues 2011-11-07T04:46:11.163

250 setup script exited with error: command 'x86_64-linux-gnu-gcc' failed with exit status 1 2014-09-26T07:12:25.050

246 Undefined reference to vtable 2010-06-17T19:57:22.633

241 How to add a default include path for GCC in Linux? 2009-02-17T21:25:57.133

234 std::vector performance regression when enabling C++11 2014-01-07T17:13:05.107

229 Is bool a native C type? 2009-10-22T16:11:54.587

228 Constructor initialization-list evaluation order 2009-08-07T04:00:01.723

225 Objective C for Windows 2008-09-11T14:38:42.883

215 Using GCC to produce readable assembly? 2009-08-17T19:22:17.137

213 GCC dump preprocessor defines 2010-02-08T19:40:28.507

207 Clang vs GCC - which produces better binaries? 2010-07-06T15:01:50.923

191 How do I force make/gcc to show me the commands? 2011-04-28T14:35:17.420

181 What is makeinfo, and how do I get it? 2008-12-03T18:51:38.740

181 I don't understand -Wl,-rpath -Wl, 2011-07-03T10:41:48.257

181 Why does GCC generate such radically different assembly for nearly the same C code? 2012-04-20T16:59:24.940

179 How do I best silence a warning about unused variables? 2009-09-28T13:04:07.963

174 Why does GCC use multiplication by a strange number in implementing integer division? 2016-12-16T11:59:45.513

173 Inheriting constructors 2008-12-07T07:41:57.027

173 Removing trailing newline character from fgets() input 2010-04-22T19:21:18.627

173 typedef fixed length array 2010-12-24T00:35:01.007

171 How to suppress "unused parameter" warnings in C? 2010-08-30T09:14:21.773

169 An expensive jump with GCC 5.4.0 2016-12-06T09:22:39.197

168 How do I install imagemagick with homebrew? 2011-08-13T23:41:48.400

166 How to disable GCC warnings for a few lines of code 2010-07-31T14:41:39.997

156 ld cannot find an existing library 2008-12-03T00:41:50.623

154 Where does gcc look for C and C++ header files? 2008-12-05T16:02:35.207

154 Realistic usage of the C99 'restrict' keyword? 2009-04-14T00:09:53.303

153 Strange linking error: DSO missing from command line 2013-11-11T08:33:39.460

150 How to generate gcc debug symbol outside the build target? 2009-05-15T02:06:52.893

150 warning: incompatible implicit declaration of built-in function ‘xyz’ 2009-06-10T18:01:49.933

150 Error "gnu/stubs-32.h: No such file or directory" while compiling Nachos source code 2011-09-14T07:12:58.217

150 Why does this loop produce "warning: iteration 3u invokes undefined behavior" and output more than 4 lines? 2014-06-18T23:27:31.010

149 Why does flowing off the end of a non-void function without returning a value not produce a compiler error? 2009-10-22T21:21:24.220

148 Is errno thread-safe? 2009-11-07T19:39:54.473

146 Useful GCC flags for C 2010-07-30T22:04:21.377

145 How to turn on (literally) ALL of GCC's warnings? 2012-07-30T02:39:08.720

145 Modulo operation with negative numbers 2012-07-30T11:31:22.290

145 Why does the enhanced GCC 6 optimizer break practical C++ code? 2016-04-27T14:45:27.760

144 Disable all gcc warnings 2009-09-21T02:48:41.707

144 Clang vs GCC for my Linux Development project 2011-11-21T00:01:51.723

139 function declaration isn't a prototype 2008-09-03T17:08:18.163

139 How to see which flags -march=native will activate? 2011-03-29T09:14:56.467

137 How do you use gcc to generate assembly code in Intel syntax? 2008-10-14T03:52:47.140

135 Is gcc's __attribute__((packed)) / #pragma pack unsafe? 2011-12-19T22:28:00.550

135 Is using an outdated C compiler a security risk? 2016-05-27T09:09:28.047

132 "/usr/bin/ld: cannot find -lz" 2010-07-30T17:34:21.403

128 LD_LIBRARY_PATH vs LIBRARY_PATH 2010-11-22T22:02:20.443

128 Why is a simple loop optimized when the limit is 959 but not 960? 2017-02-10T12:30:25.933

123 /usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.15' not found 2011-03-07T06:04:55.827

123 Build .so file from .c file using gcc command line 2013-02-14T21:11:53.870

121 Multiple glibc libraries on a single host 2009-05-11T08:20:37.167

121 How to compile a 32-bit binary on a 64-bit linux machine with gcc/cmake 2009-08-13T14:35:27.823

121 Why does integer overflow on x86 with GCC cause an infinite loop? 2011-10-07T02:24:43.140

121 How to print the ld(linker) search path 2012-03-29T09:50:25.150

120 What does the -all_load linker flag do? 2010-05-25T15:36:37.633

119 LLVM vs clang on OS X 2011-04-18T20:38:25.260

117 What does gcc's ffast-math actually do? 2011-09-14T17:45:30.233

117 How did I get a value larger than 8 bits in size from an 8-bit integer? 2013-04-20T22:02:58.770

114 What is the purpose of using -pedantic in GCC/G++ compiler? 2010-05-18T07:07:52.310

114 What is the advantage of GCC's __builtin_expect in if else statements? 2011-09-08T10:55:42.153

114 undefined reference to 'std::cout' 2015-01-30T13:20:37.970

113 Static link of shared library function in gcc 2009-04-07T12:34:56.373

113 How to compile a static library in linux? 2010-04-29T04:06:18.777

112 Explicit specialization in non-namespace scope 2010-06-16T10:46:38.220

112 Is it intended by the C++ standards committee that in C++11 unordered_map destroys what it inserts? 2014-02-03T05:30:19.233

111 how to install gcc on windows 7 machine? 2011-06-18T08:16:26.270

110 How do I fix "for loop initial declaration used outside C99 mode" GCC error? 2008-08-24T06:30:09.760

110 error: ‘NULL’ was not declared in this scope 2009-01-20T17:05:40.377

109 How do I make a simple makefile for gcc on Linux? 2009-09-27T23:50:17.440

109 brew install gcc too time consuming 2014-07-26T00:39:44.427

109 Why don't two binaries of programs with only comments changed exactly match in gcc? 2015-09-04T14:48:41.230

108 GCC compile error with >2 GB of code 2011-06-09T17:26:05.753

108 Will strlen be calculated multiple times if used in a loop condition? 2012-07-06T15:18:52.917

107 What are the differences between -std=c++11 and -std=gnu++11? 2012-05-16T06:29:23.757

106 Why do I get a warning every time I use malloc? 2009-08-04T23:15:41.560

106 Is there a compiler hint for GCC to force branch prediction to always go a certain way? 2015-05-08T18:54:47.960

105 How to install GCC piece by piece with GMP, MPFR, MPC, ELF, without shared libraries? 2012-02-26T03:53:35.750

104 Undefined reference to `pow' and `floor' 2011-12-29T17:50:48.790