Tag Info

Hot answers tagged

6

Adding the appropriate directory to your include path is exactly what you're supposed to do in this case, only you're supposed to do it by pkg-config. Accessing the files directly using full pathnames is unsupported. Add something like this to your Makefile: CFLAGS += `pkg-config --cflags gtk+-3.0` LIBS += `pkg-config --libs gtk+-3.0` This will ...


4

GCC on Solaris has some defaults that are different, for example, than GCC on Linux. For compiling 64 binaries you have to add -m64 to your compile and link lines. This makes GCC compatible to the Solaris Studio C compiler, in that respect. On SPARC, compiling programs as 32 bit does not have as much disadvantages as on e.g. x86, where 64 Bit also ...


4

TL;DR I have a different take on this as a Gentoo user. While I agree with peterph's approach of "Let the System Decide," I disagree when it comes to an ABI Update. An ABI Update is sometimes a major shift in behavior. In the case of GCC 4.7, the ABI Change was the adoption of the new C++11 Standard, which peterph also pointed out. Here is why I write ...


3

I was using a driver for <3.4 kernel and I have the 3.13. I had downloaded a new driver. I saw "3.1.3"...


2

The PATH environment variable is the search path for executables, not for other kinds of files. For include files, you need to arrange to pass the option -I/usr/include/gtk-3.0/gtk to the compiler. Typically, you do that by setting a variable defined by a makefile (usually CFLAGS='-I/usr/include/gtk-3.0/gtk'), or by passing an argument to ./configure ...


2

The -m option takes a directory name, not a filename. bmake -m /usr/local/share/mk Otherwise, your version of bmake doesn't match the version of the mk files in /usr/local/share/mk.


2

The OpenBSD FAQ is your friend in this case. They have extensive documentation on how to build your own kernel. In particular you want section 5.3.4 but before you do that make sure and read all of section 5.3 to get a feel for the bigger picture. I'd also recommend taking a look at Absolute OpenBSD by Michael Lucas. He's got a pretty good walk through on ...


2

Update It looks like terdon added and updated some commands over the Thanksgiving Holiday. These add extra and or needed functionality. I want to thank him for adding these. Task First, let's start with a clean slate. cd ~ && rm -Rv workspace Now, we make sure we have the right tools for Ubuntu: sudo apt-get update ## run make sure you get ...


1

I can't say I understand what a "statically linked dynamic library", nor do I know anything about signatures contained in libraries (sounds interesting though: does this mean the linker is able to check for type mismatches in arguments and return types at link time? ELF definitely does not have such a feature.) so this answer will not be from a comparative ...


1

For my situation, I found the solution to be distcc, which eyoung100 suggested in the comments.


1

You might want to look at Sabayon Linux, a child of Gentoo. It uses pre-compiled packages, a.k.a binaries stored in repos, that are remote. What actually happens is that maintainers configure the package using predetermined USE Flags, and then compile the package with portage. Then using the Sabayon Binary Package Manager, Entropy, the maintainers upload ...



Only top voted, non community-wiki answers of a minimum length are eligible