Skip to content
Advertisement

Tag: gcc

How can I set rpath on gcc binaries during bootstrap?

I am trying to build gcc 4.7.2 using a custom prefix $PREFIX I have built and installed all the prerequisites into my prefix location, and then successfully configured, built and installed gcc. The problem that I now have is that $PREFIX is not in the library search path, and therefore the shared libraries cannot be found. What works, but isn’t

why am i not able to declare sigset_t with std=c99?

If i compile the below program with std=c99, i get an error, but the program compiles fine without the c99 flag. Why? Answer Because sigset_t is not part of <signal.h> in standard C and you requested strict standards compatibility with -std=c99. That is, a strictly standard C program can do: and expect it to work.

GCC 4.7.2 requires ppl?

I’m trying to configure GCC 4.7.2, but it’s failing with configure: error: Unable to find a usable PPL I’ve looked in GCC prerequisites page and PPL isn’t mentioned anywhere. I’m using CLooG 0.17.0, which uses ISL, and as such no longer requires PPL (as far as I can tell) Is there some other requirement on PPL in GCC which means

What is the performance penalty of C++11 thread_local variables in GCC 4.8?

From the GCC 4.8 draft changelog: G++ now implements the C++11 thread_local keyword; this differs from the GNU __thread keyword primarily in that it allows dynamic initialization and destruction semantics. Unfortunately, this support requires a run-time penalty for references to non-function-local thread_local variables even if they don’t need dynamic initialization, so users may want to continue to use __thread for

Where is PATH_MAX defined in Linux?

Which header file should I invoke with #include to be able to use PATH_MAX as an int for sizing a string? I want to be able to declare: But when I do so my compiler (Clang/LLVM on Linux) issues the following error: I tried doing a google search but still no luck. #include <limits.h> Does NOT fix the problem/error. Am

Need a simple Linux C++ IDE (Android NDK) [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers. We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations. Closed 2 years ago. Improve this question I need an IDE that must: allow running the ~/android-ndk-r7/ndk-build script

Advertisement