The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
1answer
119 views

C compiler cannot create executables whilst creating backport in Debian

I am trying to create a gcc-defaults-1.133 backport for my Debian Wheezy installation from Sid/Jessie. As this requires dpkg-dev greater than version 1.17.11 I assume I need a backport of this too. ...
0
votes
1answer
19 views

-fPIC Flag System-wide?

Position Independent Code means that the generated machine code is not dependent on being located at a specific address in order to work. and the jumps are relative. So is it OK to declare -fPIC ...
4
votes
1answer
118 views

Replace FreeBSD base clang with ports clang

FreeBSD 10 was the first release that officially released with Clang as the default, base compiler. Most ports, unless specially marked, now compile using the base ("pre-installed") clang. ...
5
votes
1answer
836 views

Build Transmission 2.84 .deb package with checkinstall

I'm trying to compile and make by myself some .deb packages to keep my Raspbian more up to date than the repository. Now I want to update Transmission to v 2.84. Here's what I've done: Download the ...
1
vote
0answers
102 views

Has anyone got the Android NDK toolchains to run on ARM instead of x86 or x86_64?

I have been going over the "dev scripts" in the $NDK/build/tools directory of the Android NDK and have been modifying them to build host/build tool-chains that run on ARM instead of x86 or x86_64. For ...
8
votes
3answers
370 views

How does make continue compilation?

I know that I can interrupt a make process anytime without having to recompile the entire source tree again. As I know, make only compiles a target if it's not compiled yet, or the source code is ...
0
votes
1answer
363 views

Clang with Code::Blocks on Debian Wheezy [Stable]

In my pretty default Debian install: devsys@zotac:~$ lsb_release -a No LSB modules are available. Distributor ID: Debian Description: Debian GNU/Linux 7.4 (wheezy) Release: 7.4 Codename: ...
2
votes
1answer
316 views

How to add new gcc compiler to my Linux mint OS

I want to add new gcc cross compiler to my Linux mint. I need this compiler to compile codes that should run on a Khepera III Robot. I have searched a round but I didn't find any clear answer to my ...
0
votes
1answer
970 views

How to install C++ compiler for Eclipse

Im unable to run my C++ codes because Eclipse has not c++ compiler installed in it . How can I install C++ compiler for eclipse on Fedora 20 or other linux os's? When I execute my codes it says: ...
0
votes
1answer
483 views

How to set g++ 4.8 to be the default after installing? [closed]

After executing the following on Ubuntu 12.10 how do I set 4.8 to be the default C++ compiler? sudo add-apt-repository ppa:ubuntu-toolchain-r/test sudo apt-get update sudo apt-get install g++-4.8 ...
46
votes
5answers
2k views

How to compile the C compiler from scratch, then compile Unix/Linux from scratch

Let's say I work for a large services organisation outside the US/UK. We use UNIX and Linux servers extensively. Reading through this article it mentions that it would be easy to insert a backdoor ...
1
vote
1answer
51 views

How can I get a regular gcc etc. under HomeBrew under Mac OSX Mountain Lion?

I have a Mac with command-line developer tools installed, including Apple's LLVM C compiler, present as /bin/gcc. How can I get a real gcc installed so that e.g. make will see the standard gcc ...
0
votes
1answer
190 views

Can we run objective c on UNIX operating system? [duplicate]

How can I run objective c on Unix systems?
0
votes
2answers
199 views

how to code c++ via ssh with Vim or Vi? [closed]

Would I have to rent and configure a server or something? I'm sort of new to unix, but when I was in school I had this nifty setup where I could ssh from any terminal in linux or mac or putty in ...
0
votes
2answers
2k views

Unable to compile simple Less file using node-less

I'm trying to compile a very simple less file which simply includes Bootstrap: /* application.less: The most awesomely complicated file in the whole world. */ @import "bootstrap/bootstrap.less"; ...
1
vote
0answers
169 views

Making CodeBlocks work with Terminator?

I want to make the programs compiled by Codeblocks, run the shell program 'Terminator'. So I went into Environment Settings > Terminal to launch console programs, the default value is xterm -T $TITLE ...
2
votes
2answers
273 views

Is there a good FOSS utility for converting machine code to assembly or even C?

If I buy a piece of x86 32-bit or 64-bit software but I don't receive the source code, and I need to modify the software, I'll need to convert the machine code back into a high level language or at ...
12
votes
2answers
3k views

Why can't I run this C program?

I'm trying to run my first "process" program, but I get the following error : ./fork.c: line 4: syntax error near unexpected token `(' ./fork.c: line 4: `int main()' I'm pretty sure that the code ...
5
votes
1answer
1k views

How can I get a static C compiler?

I'm playing around with chroot environments, and I'd like to have a portable C compiler so that I can easily set up some basic build-tools in each environment without having to move too many libraries ...
2
votes
1answer
245 views

What flags are used to compile debian stable packages?

Ubuntu wiki states that its packages are compiled with secure flags and secure kernel options. I cannot find this information about debian. See https://wiki.ubuntu.com/CompilerFlags
5
votes
1answer
364 views

What distribution-maintained cross-compile toolchain packages exist?

I have just learned of Gentoo's sys-devel/crossdev package. This is a package that is useful for creating a cross-compiling toolchain. Are there any other such packages out there on other ...
13
votes
5answers
9k views

Can we get compiler information from an elf binary?

Is there some chance to know how a binary was built, under Linux? (and or other Unix) Compiler, version, time, flags etc... I looked at readelf and couldn't find much, but there might be other ways ...