9 More Discussions You Might Find Interesting
1. Programming
recently i was been to an interview to an automotive company, they have posed me a question that what section of compiler must be changed if the target is changed.
ie,if ur compiler is meant for generating executable to a 8051 target what changes do you do to make it flexible to generate the... (2 Replies)
Discussion started by: shyam.sunder91
2 Replies
2. Linux
Building a ppc476 enabled GCC cross compiler and tool chain
Hello,
I am trying to build a cross GCC compiler for PPC476.
I applied all the relevant patches. Cross compiler build was successful.
When i try to compile the source code using the cross compiler i am getting the below error... (1 Reply)
Discussion started by: raghuhb
1 Replies
3. UNIX for Advanced & Expert Users
Building a ppc476 enabled GCC cross compiler and tool chain
Hello,
I am trying to build a cross GCC compiler for PPC476.
I applied all the relevant patches. Cross compiler build was successful.
When i try to compile the source code using the cross compiler i am getting the below error... (1 Reply)
Discussion started by: raghuhb
1 Replies
4. Red Hat
Building a ppc476 enabled GCC cross compiler and tool chain
Hello,
I am trying to build a cross GCC compiler for PPC476.
I applied all the relevant patches. Cross compiler build was successful.
When i try to compile the source code using the cross compiler i am getting the below error... (0 Replies)
Discussion started by: raghuhb
0 Replies
5. Red Hat
While i try to install the gcc cross compiler using following commands in fedora 6
commands
cd /etc/yum.repos.d/
# wget http://fedora-arm.wantstofly.org/cross/cross.repo
# yum install armv5tel-redhat-linux-gnueabi-gcc
i got an error
# cd yum.repos.d
# wget... (3 Replies)
Discussion started by: sujith4u87
3 Replies
6. SuSE
Hi All
I want to create build machine for three architecture (i386, amd64 and ia64) on 32bit machine on OpenSUSE 10.0
I installed:
cross-i386-gcc-icecream-backend-4.3.1_20080507-7.1
cross-i386-binutils-2.18.50.20080409-12.1
cross-x86_64-gcc-icecream-backend-4.3.1_20080507-7.1... (0 Replies)
Discussion started by: Kolesar
0 Replies
7. Linux
Hi,
I am building GCC cross compiler for x86_64-elf
for that a have followed steps,
1. mkdir build-gmp build-mpfr
2. cd build-gmp
3. ../gmp-4.2/configure --prefix=/usr/local
4. make all install
5. make check
6.cd ../build-mpfr
7. ../mpfr-2.3.2/configure... (5 Replies)
Discussion started by: Mandar123
5 Replies
8. Linux
Hi
I compiled a hello world program on two different 64-bit Linux machines, named quimby and node0331. When I compile on quimby and run on node0331 I get a "Floating exception (core dumped)" error. But if I do it in reverse, things work fine.
Here's my compilation on quimby:
$ uname -a... (3 Replies)
Discussion started by: same1290
3 Replies
9. UNIX for Dummies Questions & Answers
Hi,
we are converting from IBM-AIX(xl c/c++ compiler) to Linux(GCC complier).
As a part of this i need to change the CFLAGS.
The xl c/c++ complier CFLAGS is
CFLAGS := $(CDEBUG) $(PROJECT_INCLUDE_DIRS) $(COBJECT_MODE) -qcpluscmt -qmakedep -qcheck=all \
-qalign=bit_packed $(LINT_FLAGS)... (0 Replies)
Discussion started by: pbattu1
0 Replies
binfmtc(1) binfmt_C binfmtc(1)
NAME
binfmtc-interpreter - binfmt_misc C handler
SYNOPSIS
binfmtc-interpreter C-source-file-name [command-line opions ...]
DESCRIPTION
binfmtc-interpreter compiles a C source file specified on the command-line using C compiler, and executes the resulting file.
It is designed to be used as a handler for binfmt_misc handler, which is a system used in Linux for handling arbitrary files as executa-
bles.
The command-line options are passed on to the compiled binary.
FILE MAGIC
There is a requirement for C source files to have the magic characters /*BINFMTC: at the beginning of the file.
That line also is used to specify the additional command-line options for C compiler.
ENVIRONMENT
GCC The compiler used. The default is to use gcc
CC The compiler used, if GCC variable is not set.
BINFMTCTMPDIR
Temporary directory used for binary and execution.
Falls back to $TMPDIR $TEMPDIR or /tmp
BINFMTC_DEBUG
enables debug output if set.
BINFMTC_GCC_OPTS
Additional GCC options. Use BINFMTC_DEBUG to verify the options being passed on to gcc.
The default is -O2 -Wall -g
AUTHOR
Junichi Uekawa (dancer@debian.org)
Upstream page is available at http://www.netfort.gr.jp/~dancer/software/
SEE ALSO
binfmtasm-interpreter(1), binfmtcxx-interpreter(1), binfmtf-interpreter(1), binfmtf95-interpreter(1), binfmtgcj-interpreter(1)
binfmt_misc Dancer 2009 Feb 8 binfmtc(1)