Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

binfmtasm-interpreter(1) [debian man page]

binfmtasm(1)							     binfmt_C							      binfmtasm(1)

NAME
binfmtasm-interpreter - binfmt_misc Assembly handler SYNOPSIS
binfmtasm-interpreter Assembly-source-file-name [command-line opions ...] DESCRIPTION
binfmtasm-interpreter compiles an assembly source file specified on the command-line using gas 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 /*BINFMTASMCPP: at the beginning of the file. That line also is used to specify the additional command-line options for the assmebler. ENVIRONMENT
GAS The compiler used. The default is to use gcc AS The compiler used, if GAS variable is not set. Will fall back to using GCC and CC BINFMTCTMPDIR Temporary directory used for binary and execution. Falls back to $TMPDIR $TEMPDIR or /tmp BINFMTC_DEBUG enables debug output if set. BINFMTASM_GAS_OPTS Additional G++ options. Use BINFMTC_DEBUG to verify the options being passed on to g++. The default is -O2 -Wall AUTHOR
Junichi Uekawa (dancer@debian.org) Upstream page is available at http://www.netfort.gr.jp/~dancer/software/ SEE ALSO
binfmtc-interpreter(1), binfmtcxx-interpreter(1), binfmtf-interpreter(1), binfmtf95-interpreter(1), binfmtgcj-interpreter(1) binfmt_misc Dancer 2005 May 3 binfmtasm(1)

Check Out this Related Man Page

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)
Man Page

6 More Discussions You Might Find Interesting

1. Programming

Executing command line options

Can someone please tell me how to modify/add to this code so that it recognizes UNIX command options (all beginning with "-") and executes the command with options? #include<stdio.h> #include<stdlib.h> int main(int argc, char *argv) { int i; system("stty -echo"); ... (8 Replies)
Discussion started by: Safia
8 Replies

2. Programming

When I am writing my own interpreter...

While trying out my hand at writing an interpreter, I was wondering about a a few issues one of which is the following: When I run a command such as jobs in the shell, I get a list of all the background jobs that are running... But if I need my interpreter to run that command, how would I be doing... (34 Replies)
Discussion started by: Legend986
34 Replies

3. Linux

GCC compiler issue on redhat4.5

Hi all, I am using gcc4.1.1 on redhat4.5 and when i rethrow an exception and I am catching it .. The application aborts and throws the following error message to stdout - the error that's been thrown is been caught but never gets that far as it falls over on throw statement Has anyone ever... (0 Replies)
Discussion started by: nano2
0 Replies

4. UNIX Desktop Questions & Answers

How to remove text in each line after hyphen?

Hi, I'm trying to do something relatively simple. I have a txt file that has the following kinds of lines (and many more lines): CP19 Oahu - Maunawili Falls CP20 Oahu - Maunawili Falls AG12 Oahu - Maunawili Falls CP22 Oahu - Maunawili Falls, Local area AG14 Oahu CP141 KZ102 Kauai -... (7 Replies)
Discussion started by: euspilapteryx
7 Replies

5. Linux

interpreter files

Can you explain me what is ment by interpreter files ?? Why and how they are used?? (1 Reply)
Discussion started by: kkalyan
1 Replies

6. UNIX for Advanced & Expert Users

GNU C Compiler

Hi Frds, I am new to unix forums. With lot of hope, i'm posting this thread. I want to understand GCC functionality(from commandline parsing to Assembly code generatio). i have relavant source code with me. But i felt little bit difficulty in understanding / reading each line of code. Is... (5 Replies)
Discussion started by: muthu_u
5 Replies