22 votes
Accepted

Why windows executables show incorrect compiler timestamps?

They're deliberately set to a fixed value: The Old New Thing: Why are the module timestamps in Windows 10 so nonsensical? One of the changes to the Windows engineering system begun in Windows 10 is ...
u1686_grawity's user avatar
15 votes
Accepted

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

This is easier said than done, and has taken me over a month to figure out how to do without any issues, but I've spent enough time on it that I decided I'd document the process well enough to be ...
Hashim Aziz's user avatar
  • 12.8k
12 votes
Accepted

Compiling Emacs 25.1 on Ubuntu 16.04

Based on the comments, I got Xwidgets and Cairo to work. Here's what I did: Install gtk3 libraries: sudo apt-get install libgtk-3-dev libwebkitgtk-3.0-dev Configure with ./configure --with-cairo --...
tom4everitt's user avatar
10 votes

Does compiling a program twice produce a bit-for-bit identical binary?

-frandom-seed=123 controls some GCC internal randomness. man gcc says: This option provides a seed that GCC uses in place of random numbers in generating certain symbol names that have to be ...
Ciro Santilli OurBigBook.com's user avatar
8 votes
Accepted

Compiling pinfo on OS X

I guess people may be aware but pinfo is now available from brew: brew install pinfo If you're curious about obtaining autopoint on MacOS/X - it's available from the gettext brew formula - the catch ...
Pierz's user avatar
  • 1,989
8 votes

Compiling the Linux kernel, how much size is needed?

On my recent AMD64 build of 4.4.0-57 on Ubuntu 16.04, I needed about 14.5 GB of space for the build outputs. That seems a a lot and it seems that is mostly transiently needed files (e.g., .o files ...
BeeOnRope's user avatar
  • 1,070
7 votes

Detect compiler used for EXE file

When this question was asked, PEiD was only a couple of years out of date. These days, you're probably better off using Detect It Easy: https://github.com/horsicq/DIE-engine/releases or https://...
Adam Baxter's user avatar
4 votes

python3.2 - ERROR:root:code for hash md5 was not found

Your problem is that you're using OpenSSL 1.1 and an old version of Python that doesn't support that version of OpenSSL. Python 3.2 was released in 2011 and OpenSSL 1.1.0 was released in 2016. Since ...
bk2204's user avatar
  • 2,626
3 votes
Accepted

How to compile an HTML file to run as an application

Check out Electron. I personally don't use it, but it sounds right up your alley. https://electronjs.org/ As you mention you are open to Windows options, check out HTA (HTML applications) though ...
ttaylor1218's user avatar
3 votes

What is the difference between "make modules" and "make modules_install"

prior to 2.6, you need make modules, while after 2.6, make will also do make modules
Chen Li's user avatar
  • 133
3 votes

Where do I find nmake for Windows 7 x64

Nmake doesn't come natively in Windows 10, but you could include it without installing the complete Visual Studio by installing Microsoft Visual C++ Build Tools. when complete, navigate to this ...
osazemeu's user avatar
3 votes

Compiling the Linux kernel, how much size is needed?

Refer to this link >> https://ubuntuforums.org/showthread.php?t=2266609 I compiled/made linux kernel 4.0.0-rc1 on my HP Stream 13 (2GB RAM, dual core Intel Celeron N2840) based on the clear ...
Deeksha Varshney's user avatar
3 votes

Re-compile VIM with options

Configure, Compile and Install Vim Install required libraries sudo apt-get build-dep vim Download the latest VIM version from github, e.g. mkdir -p ./git/vim; cd ./git/vim git clone https://github....
abu_bua's user avatar
  • 439
3 votes
Accepted

What other build options exist to compile the most superior configuration of FFmpeg?

First of all, to see a complete list of configure options refer to ./configure --help. According to the FFmpeg documentation... This isn't actually the documentation but is a wiki that is editable ...
llogan's user avatar
  • 59.7k
3 votes

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

Instead of doing everything manually, you can use the media-autobuild_suite for Windows, which builds FFmpeg with almost all of its dependencies: This Windows Batchscript setups a MinGW/GCC ...
slhck's user avatar
  • 228k
3 votes
Accepted

why most applications are precompiled?

There must be difference between Intel and AMD CPUs There is very little. All 64-bit Intel CPUs essentially use the "AMD64" instruction set, with only minor differences between AMD64 and ...
u1686_grawity's user avatar
2 votes

Does compiling a program twice produce a bit-for-bit identical binary?

The project https://reproducible-builds.org/ is all about this, and is trying hard to make the answer to your question "no, they will not differ" in as many places as possible. NixOS and Debian are ...
clacke's user avatar
  • 308
2 votes
Accepted

fatal error: 'mysql/mysql.h' not found (but added in path)

You have to add -I(replace this with the path where the mysql includes are) to your CFLAGS. The C++ compiler does not look for includes on the PATH.
user4759923's user avatar
2 votes

Cannot Build Swift on FreeBSD - REPL error

You are building from a fork, not an Apple repo. Look at the contents of REPL.cpp: #if defined(__APPLE__) // FIXME: Support REPL on non-Apple platforms. Ubuntu 14.10's editline does not // include ...
Roland Smith's user avatar
  • 1,988
2 votes

How to list imported symbols in ELF executable?

Along with the other answers posted here I would like to propose another. The contents printed are a function of the file format, where ELF lends itself nicely to solving this problem. objdump -p /...
sherrellbc's user avatar
2 votes

What is a front-end for the GCC Compiler?

A GCC front end turns code into an intermediate, internal form used by GCC. A GCC back end turns this intermediate, internal form into the final form that the compiler outputs. So, for example, if ...
David Schwartz's user avatar
2 votes
Accepted

How to install Intel Fortran Compiler for Ms Visual Studio Community?

At that time, the solution was to install the VS Community 2015, like @Ramhound commented and after reinstalling the Intel Parallel Studio XE 2017. Currently, Intel Parallel Studio XE 2018 supports ...
Adolfo Correa's user avatar
2 votes
Accepted

Compiling for ARM Windows

Install the Windows 10 SDK and WDK (at least Build 16299) to get the ARM Compiler for Desktop Applications. Open the Project configuration and create ARM(64) configuration: If you try to compile it ...
magicandre1981's user avatar
2 votes
Accepted

Kernel Compilation: Force all modules to be baked in

If you do this all 3000+ modules will be built and embeded into your kernel. Your kernel will be massively oversized. This is a terrible idea, but: make allyesconfig You need to have the kernel ...
cybernard's user avatar
  • 14k
2 votes
Accepted

The simplest way of running a cross-compiled executable in a FreeBSD environment

Most modern FreeBSD installation ISOs do indeed permit live use of FreeBSD's CLI. Copying the executable into a custom-burned ISO may not be the easiest route, though. Slightly easier, assuming you ...
Jim L.'s user avatar
  • 859
2 votes

Missing file when making kernel 4.14.51

I'm testing Phoronix build-linux-kernel. Met the same missing <gelf.h> problem. sudo apt install libelf-dev Solved the problem.
spikeyang's user avatar
  • 121
2 votes

What other build options exist to compile the most superior configuration of FFmpeg?

Thanks to llogan for pointing out that the full list of configuration options can be found by doing ./configure --help in the directory containing the FFmpeg sources. Unfortunately this information ...
Hashim Aziz's user avatar
  • 12.8k
2 votes
Accepted

Understanding NDI & FFmpeg Fallout

That linked thread is from January 2019. NDI support was removed on March 20 2019 - that means all the supporting code, so you'll need an older build.
Gyan's user avatar
  • 36.4k
2 votes

ldd but for interlibrary dependencies?

As the comment states, just run ldd against the .so you are interested in, e.g.: ldd -v /usr/lib/liblapack.so.3 linux-vdso.so.1 => (0x00007fff93789000) libblas.so.3 => /usr/lib/...
Eradian's user avatar
  • 76

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