The tag has no wiki summary.

learn more… | top users | synonyms

40
votes
2answers
23k views

What is the difference between yum, apt-get, rpm, ./configure && make install

I am new to Linux and am running CentOs. When I want to update or install certain software I came across three ways. Sometimes it's: yum install program apt-get install program rpm -i program.rpm ...
16
votes
3answers
40k views

Where do I find nmake for Windows 7

I'm trying to compile a Perl source and I can't seem to find a version of nmake that works with Windows 7 64 bit. I've searched all over Microsoft's website and my Googlefu seems to be failing me. Can ...
12
votes
7answers
2k views

Which PC components make the biggest impact on your compile times for Visual Studio?

Which PC specifications have the biggest impact on your compile times? Disk? Clock speed? Number of CPU cores?
12
votes
5answers
9k views

Detect compiler used for EXE file

Is there any way to detect (or to hide) the compiler that was used to build an executable file?
9
votes
1answer
2k views

How was the first compiler compiled?

This has always racked my brain. Compilers compile code. I imagine that the compiler is coded. So to actually run the code for a compiler, you'd have to compile it. How was the first compiler ...
8
votes
3answers
635 views

Compiling the Linux kernel

Just for the learning experience, I have recompiled the Linux kernel with different options, installed and booted from it. It was both instructive and straightforward. However, I was overwhelmed by ...
7
votes
1answer
7k views

Visual Studio not auto-building when I press the debug button

I'm writing code in Visual Studio but whenever I want to test the application and press the green arrow for "Start debugging", Visual Studio does not automatically recompile the active solution for me ...
7
votes
1answer
480 views

Compiling FFMPEG for ARM

I have a Linux ARM computer (BeagleBone Black). I am trying to do some camera streaming and need FFMPEG to do it. I have tried everything that I can think of (including following guides for compiling ...
6
votes
1answer
89 views

How do general binaries take advantage from new instructionsets on new CPUs

With every release of a new processor, there are changes to the instructionset the processor supports. For example, Haswell has Advanced Vector Extensions. However, when I run a program on a PC with a ...
6
votes
3answers
2k views

Has anyone successfully configured mutt for GMail on FreeBSD? If so, how?

I've tried following the instructions here and here. Currently, I can read email from my GMail account, but not send—this is on a personal computer, so even if I configured Sendmail, I doubt any of ...
6
votes
1answer
54 views

Is it usually best to compile on the same machine you want to execute on?

(Note: I'm just using ffmpeg as an example, I have often wondered the same thing with other programs) I have a build script for ffmpeg which compiles in support for a few non-standard features. Now ...
6
votes
1answer
2k views

How to build Firefox from 4.0 source and optimize it?

I have found tons of links, resources regarding this topic. However, most of them just compile it and that's it. I want to disable debug, enable -O3 optimization (this one fails hard at the ...
5
votes
3answers
2k views

What language are compilers written with?

Are compilers written in different languages than the language they compile?
5
votes
5answers
3k views

Compile gvim from sources?

Recently, I've installed vim like so: hg clone https://vim.googlecode.com/hg/ vim cd vim sudo ./configure --enable-rubyinterp=yes --enable-pythoninterp=yes --enable-gui=gtk2 --prefix=/opt/vim make ...
5
votes
2answers
4k views

Compiling the Linux kernel, how much size is needed?

I have downloaded the newest most stable Linux kernel, 2.6.33.2. I thought I would test this using VirtualBox. So I create a dynamically sized harddisk of 4 GB. And installed CentOS 5.3 with just the ...
5
votes
1answer
98 views

segfaults while compiling VLC on low memory system

I'm trying to compile VLC from this GitHub repo on my Allwinner device (ARM Cortex-A8 NEON with armhf kernel and about 380 MB of RAM) using instructions provided here. I keep getting segfaults, so I ...
5
votes
1answer
886 views

replace/remove background image on gimp 2.6.11

how do I remove these images by compiling gimp from source? I can't find any file containing these images.
4
votes
5answers
397 views

Does recompiling a program produce a bit-for-bit identical binary?

If I were to compile a program into a single binary, make a checksum, and then recompile it on the same machine with the same compiler and compiler settings and checksum the recompiled program, would ...
4
votes
2answers
2k views

Force specific CPU core usage in programs on Windows 7

Is there any way to force a program to run on cpu1 rather than cpu0 given that I know that there are at least two cores? I'm compiling C++ with code::blocks on Windows 7 x64
4
votes
1answer
255 views

How to fix _decimal module compilation error when installing Python 3.3.2 in CentOS 5.9 (x86_64)?

I'm getting the following error when trying to compile Python 3.3.2 in CentOS 5.9 x86_64: Failed to build these modules: _decimal I get this error when executing the "make" command (after the ...
4
votes
3answers
284 views

Difference between programs compiled for different OS

On a compiled code standpoint what is the difference between a program compiled for one os vs another (Linux vs windows for instance). Doesn't the program run directly on the cpu? Or is it because the ...
4
votes
4answers
195 views

What steps do I need to take to compile and install a Linux kernel?

What are the correct steps to compile a Linux kernel? Are these steps the same or different for different kernel versions i.e for 2.2, 2.4 and 2.6.
4
votes
1answer
238 views

Errors compiling Firefox on Debian

I want compile Firefox on Debian so I create .mozconfig like: mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/ff-dbg ac_add_options --enable-application=browser ...and now use this command to compile ( ...
4
votes
1answer
3k views

How to list imported symbols in ELF executable?

For PE executable, I can list the imported symbols using dumpbin /imports FILE.EXE or using the depends utility which is GUI application. `nm ELF-binary' just returns "no symbols".
4
votes
1answer
452 views

Where did SELinux go?

I am compiling a new kernel, and want to enable SELinux but don't see it in menuconfig anywhere. The only framework under security options is Tomoyo.....so I ask, what happened to SELinux? Both ...
3
votes
7answers
432 views

Vista C Compiler

What is a good C compiler for Windows Vista?
3
votes
4answers
4k views

Is it possible to run an x86 binary on an ARM processor?

Is it possible to convert/recompile an already compiled x86 binary into an ARM binary? I'm using a BeagleBoard with a command-line Ubuntu (Maverick) and want to run a Ventrilo server but the x86 ...
3
votes
2answers
1k views

Compile linux kernel for different machine

I am new to kernel development, and I have to compile a kernel with some specific features and then install it on some machines. The problem is that these machines are slow, and hence I want to ...
3
votes
3answers
306 views

Performance difference between yum and self-compilation

How does compiling source code oneself result in better performance than using yum?
3
votes
2answers
1k views

Installing tmux on Ubuntu from source

I've download tmux and am trying to install it on Ubuntu 10.04. $ ./configure Configured for Linux $ make cc -DBUILD="\"1.3\"" -std=c99 -D_GNU_SOURCE -D_POSIX_SOURCE -iquote. -c -o attributes.o ...
3
votes
3answers
205 views

Linux, recompiling from source

I'm relatively new to Linux but I've been messing around with a Ubuntu VM to get more acclimated with it. I set up SSH, Apache, PHP, MySQL, Ruby, Rails, Passenger, and Git to mess around with my web ...
3
votes
1answer
1k views

How to remove a package I compiled and installed manually?

I recently compiled and installed Git on a new install of Mac OS 10.6 but it didn't install the documentation. I now realize I should've used the precompiled package offered here: ...
3
votes
2answers
180 views

Is it usually necessary to do make and then make install?

This is something that has always bugged me. It seems like I always see build instructions for building and then installing something saying to do this: make sudo make install Is there really any ...
3
votes
2answers
6k views

Xcode installed, but gcc/ g++ compilers are not found

I thought Xcode would come with these compilers. Can i download them manually? Where do i find them?
3
votes
3answers
11k views

Installing Qt headers and libraries

I am trying to compile and install some software. When I do the ./configure. I get the following error: checking for Qt... configure: error: Qt (>= Qt 3.0.2) (headers and libraries) not ...
3
votes
0answers
382 views

Case-sensitive error in compiler's building using crosstool-ng under Cygwin

When I try to build gcc cross-compiler using crosstool-ng under Cygwin (running in Windows 7) I have the following message: $ /opt/ng-crosstool/bin/ct-ng build [INFO ] Performing some trivial sanity ...
3
votes
0answers
211 views

Should I replace my system drive or work files drive with an SSD? [closed]

First of all, I've read lots of questions on this site (and over the web) about this question, but I'm still not sure about my specific situation. I currently have a laptop with two 320 GB hard ...
2
votes
2answers
233 views

c code compiles but is not executed in kubuntu

I'm running kubuntu 9.10 in VirtualBox, i wrote the simplest "hello world" program in C, the code compiles, i ran it through a debugger and it seems to run fine. the only problem is nothing gets ...
2
votes
2answers
130 views

Solid-State-Drives for Improved Performance

I feel the need, the need for speed: I have a 14 MB SSIS package, and every time I run it in debug mode, it takes forever and a half to start executing. Most of the time is spent saving before it ...
2
votes
3answers
136 views

Does modern software use different CPUs features selectively?

For example can one have an executable that uses features for Core 2 processors and then selectively use other features for an older processor? Or is it a requirement to compile a different ...
2
votes
2answers
498 views

Advantages of Re-Compiling of Linux Kernels: Share your Ideas

can you give me some advantages of Recompilation of New Linux Kernel and Installations. make xconfig modules modules_install install this is what i`m talking on. can someone provide me the basic ...
2
votes
2answers
159 views

internal compiler error

I am getting this message: internal compiler error: Segmentation fault Please submit a full bug report, with preprocessed source if appropriate. See <file:///usr/share/doc/gcc-4.4/README.Bugs> ...
2
votes
2answers
266 views

Can you skip the “checking..” steps when running ./configure?

  $ ./configure configure: configuring for GNU Wget 1.11 checking build system type... i686-apple-darwin10.0.0 checking host system type... i686-apple-darwin10.0.0 checking whether make sets ...
2
votes
2answers
86 views

Which RAID setup to use for a build-computer?

I am wanting to setup a computer(actually multiple with the same setup) to build and compile programs. Security of the data is not important, and space for the most part is not important. (as in, 40G ...
2
votes
2answers
51 views

make a .deb package for a compiled source

since I'm a noob at Linux and programming...etc (I know almost nothing in programming and compiling) I downloaded the qbittorrent 3.5.1 stable source I followed the instructions here ...
2
votes
2answers
2k views

Compiling PHP on OS X: iconv works only if forced to 64-bit

I'm trying to compile PHP and I kept getting this error during make: Undefined symbols for architecture x86_64: "_iconv_open", referenced from: __php_iconv_mime_decode in iconv.o ...
2
votes
1answer
4k views

Visual Studio 2010 won't compile/create new projects

My Visual Studio 2010 Professional with SP1 installed won't compile anymore. The shown error is: TRACKER : error TRK0005: Failed to locate: "CL.exe". The system cannot find the file specified. ...
2
votes
1answer
174 views

In Linux, how to get the man page for compiled programs?

I know that installing a package through APT (apt-get or aptitude for my computer) will automatically install the appropriate man pages and update the man database. When I want to build the same ...
2
votes
3answers
613 views

Bootstrap error while compiling GCC 4.8.0

I'm getting bootstrap errors while trying to install GCC and could use some help. I'm trying to compile GCC in my home directory on a shared system (cluster). The cluster has GCC 4.4.3, which I'm ...
2
votes
1answer
245 views

Self Built MacVim on OSX 10.6 doesn't open a GUI window

I've noticed the MacVim downloads page has stopped uploading pre-compiled snapshots for OSX 10.6 (only 10.7 is supported now, with 10.6 considered LEGACY). I'm still using 10.6 and wanted to build it ...