The tag has no wiki summary.

learn more… | top users | synonyms

36
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 ...
12
votes
2answers
2k 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 ...
10
votes
5answers
6k 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 ...
5
votes
1answer
292 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 ...
5
votes
1answer
841 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
2answers
227 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 ...
2
votes
1answer
195 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
1
vote
1answer
54 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 ...
1
vote
1answer
39 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 ...
1
vote
0answers
120 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 ...
0
votes
2answers
985 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"; ...
0
votes
1answer
110 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
120 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 ...
0
votes
0answers
21 views

command 'pecl install mong'o returns 'no acceptable C compiler found in $PATH' [on hold]

On debian 7.4, I have installed php 5.4 and mongoDB (shell version 2.0.6). Now I need the php extension for mongoDB. Trying "pecl install mongo" on the command Line, got the following errors: ...
0
votes
1answer
92 views

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

How can I run objective c on Unix systems?
-1
votes
2answers
152 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 ...