Questions tagged [compile]

To compile is to convert the source code of a program into lower-level machine code that can be executed on a computing device.

Filter by
Sorted by
Tagged with
37 votes
5 answers
58k 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 ...
Kurru's user avatar
  • 1,704
35 votes
8 answers
146k views

Where do I find nmake for Windows 7 x64

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 ...
manyxcxi's user avatar
  • 508
31 votes
4 answers
45k 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".
Lenik's user avatar
  • 18.3k
27 votes
7 answers
23k views

Does compiling a program twice 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 ...
David's user avatar
  • 471
25 votes
7 answers
47k 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?
Remus Rigo's user avatar
  • 2,999
20 votes
3 answers
17k views

Re-compile VIM with options

I have VIM installed but I need to compile it with specific options: In addition to the most commonly used features, the plugin requires: +python or +python3, +clientserver and +conceal. What ...
bdeonovic's user avatar
  • 547
20 votes
3 answers
23k views

How to get `make` to recognize alias command

I am installing MOOG, and when I make -f Makefile.maclap I get the error: $ make -f Makefile.maclap g77 -w -c -o Abfind.o Abfind.f make: g77: No such file or directory make: *** [Abfind.o] Error 1 ...
user avatar
19 votes
1 answer
8k 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 ...
Rob's user avatar
  • 747
17 votes
7 answers
14k 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?
Rob Allen's user avatar
  • 1,879
16 votes
5 answers
21k 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 ...
ant2009's user avatar
  • 3,115
15 votes
2 answers
7k views

Python ./configure does not find g++ compiler

I'm trying to compile Python 3.4.1 on an emulated ARM machine (with Debian 7). ./configure gives me checking for g++... no but g++ is installed. So what could be the problem? I know it's not ...
Marco Sulla's user avatar
12 votes
2 answers
21k views

How to compile the best version of FFmpeg for Cygwin/Windows

It's generally accepted that, by default, FFmpeg comes packaged with lower-quality encoders - particularly when it comes to the default AAC encoder and the default resampler. According to these ...
Hashim Aziz's user avatar
  • 12.8k
12 votes
6 answers
8k 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 ...
Nemoden's user avatar
  • 2,477
11 votes
1 answer
2k views

Why windows executables show incorrect compiler timestamps?

I have observed that windows executable files show incorrect timestamps when I view them in PE studio. For example this Notepad.exe file shows a compiler timestamp of 0x86FCBD69 (Mon Oct 07 03:45:05 ...
Monk's user avatar
  • 123
9 votes
1 answer
4k 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 ...
Wasabi Fan's user avatar
8 votes
4 answers
11k views

What language are compilers written with?

Are compilers written in different languages than the language they compile?
ehsan0x's user avatar
  • 1,062
8 votes
3 answers
4k 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 ...
agz's user avatar
  • 8,268
8 votes
2 answers
2k 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 ...
Hernan's user avatar
  • 191
7 votes
1 answer
7k views

Compiling Emacs 25.1 on Ubuntu 16.04

I'm trying to compile the latest version of emacs on Ubuntu 16.04. After installing the libraries I could think of, the ./configure script outputs the following: Where should the build process find ...
tom4everitt's user avatar
7 votes
2 answers
2k 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 $(...
dbr's user avatar
  • 5,117
7 votes
2 answers
2k 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 ./...
Nicolas G's user avatar
  • 161
7 votes
3 answers
3k 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 ...
Hank Gay's user avatar
  • 297
7 votes
1 answer
136 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 ...
Martijn's user avatar
  • 3,342
6 votes
3 answers
17k 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 ...
Mr Fox's user avatar
  • 632
6 votes
2 answers
5k views

How do binary files run on different machines? [closed]

I always wondered about how executable binary files actually work. Compilation is always stated as taking the source code and translating it to machine language But what does that really mean? ...
Pithikos's user avatar
  • 1,634
6 votes
1 answer
67 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 ...
wim's user avatar
  • 3,167
6 votes
1 answer
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 compile....
Apache's user avatar
  • 16.2k
6 votes
1 answer
10k views

SSL not available when attempting to compile “wget” from source?

I was trying to install wget from source in Linux by: ./configure --with-ssl=openssl But it returns me: configure: error: --with-ssl=openssl was given, but SSL is not available. If I do: root@...
andy_ttse's user avatar
6 votes
1 answer
12k views

GCC 4.8.1 failed complilation

I am using Ubuntu 13.04 64 bit. This is the error message: checking for x86_64-unknown-linux-gnu-gcc... /home/hoangtu/Downloads/gcc-4.8.1/host-x86_64-unknown-linux-gnu/gcc/xgcc -B/home/hoangtu/...
Amumu's user avatar
  • 473
6 votes
1 answer
9k views

How to discover and list static libraries used by a software in Linux?

Background: We have a third-party vendor software for our Linux distribution that we are currently testing on lubuntu. We have the installation files and an install.sh shell script that installs the ...
learnerX's user avatar
  • 394
5 votes
2 answers
7k 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 ...
entropid's user avatar
  • 163
5 votes
1 answer
6k 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: http://code.google....
macek's user avatar
  • 6,205
5 votes
2 answers
1k views

Combine compilation-mode and ansi-term-mode in Emacs?

In Emacs, I would like to be able to combine the features of ansi-term-mode and compilation-mode. I have a build system for compiling my source code which uses terminal commands for placing the cursor....
Arne's user avatar
  • 829
5 votes
1 answer
3k views

Compiling PHP 7 with mssql support

So I'm trying to switch to PHP 7. Unfortunately I'm in need to connect to an MSSQL Server so I'll need the dblib driver for pdo. With PHP5 you could ust the php5-sybase Package. So I tried to do it ...
Shaeldon's user avatar
  • 101
5 votes
1 answer
348 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 ...
NotGaeL's user avatar
  • 577
5 votes
1 answer
1k 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.
user avatar
4 votes
2 answers
4k 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
calccrypto's user avatar
4 votes
2 answers
4k 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 ...
apoorv020's user avatar
  • 2,474
4 votes
1 answer
872 views

Compiling pinfo on OS X

I would like to install pinfo on my Mac for reading info files, instead of using the bad looking elder brother info. pinfo is not yet provided by Homebrew. Perhaps it will soon, when I will get this ...
Atcold's user avatar
  • 317
4 votes
4 answers
235 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.
Adnan's user avatar
  • 143
4 votes
1 answer
7k views

Can't compile because valac not found, but it's installed

I'm trying to compile gwibber. This is what happens when I type ./configure. checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking ...
tony_sid's user avatar
  • 14.3k
4 votes
2 answers
14k views

Portable C compiler for Windows on USB stick

I am looking for a portable C compiler to run from an USB stick on Windows (XP or higher). If it's a GCC portable version, that's a plus. If it's also (optionally) a C++ compiler, that's a plus too. ...
orlp's user avatar
  • 1,547
4 votes
2 answers
2k 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 ...
Jason Baker's user avatar
  • 8,612
4 votes
1 answer
314 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 ( create ...
Erfani's user avatar
  • 43
4 votes
1 answer
2k 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 2.6.33....
Jace Hall's user avatar
4 votes
2 answers
6k views

Add module to nginx after installation

Hi i did install nginx with this command on centos 6 sudo yum install nginx and it work but i need to compile wit rtmp module so How can I find the path to make some changes ./configure --add-...
Abdelmoula Nami's user avatar
4 votes
1 answer
1k views

Use matlab in makefiles etc. How to speed things up?

I use a lot of matlab to process data etc. Yet I find my workflow a bit of sluggish, so I was wondering if I could speed things up a little using makefiles. What I would like to do is write an .m ...
romeovs's user avatar
  • 309
4 votes
0 answers
1k 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 ...
G-71's user avatar
  • 559
3 votes
7 answers
533 views

Vista C Compiler

What is a good C compiler for Windows Vista?
The Green Frog's user avatar
3 votes
2 answers
3k views

How do I compile gVim.exe as a 64 bit executable? (Windows 8)

Very straight-forward question. I have downloaded mingw32 and the Vim source code and I have edited Make_mind.mak to use the correct Python version and location. I'm located in the src directory and I ...
Hubro's user avatar
  • 5,786

1
2 3 4 5
8