GENASSYM(1) BSD General Commands Manual GENASSYM(1)NAME
genassym -- emit an assym.h file
SYNOPSIS
genassym [-c] [-f] C compiler invocation
DESCRIPTION
genassym is a shell script normally used during the kernel build process to create an assym.h file. This file defines a number of cpp con-
stants derived from the configuration information genassym reads from stdin. The generated file is used by kernel sources written in assem-
bler to gain access to information (e.g. structure offsets and sizes) normally only known to the C compiler.
Arguments to genassym are usually of the form ${CC} ${CFLAGS} ${CPPFLAGS} where ${CC} is the C compiler used to compile the kernel, while
${CFLAGS} and ${CPPFLAGS} are flag arguments to the C compiler. The script creates a C source file from its input. Then the C compiler is
called according to the script's arguments to compile this file.
Normally genassym instructs the C compiler to create an assembler source from the constructed C source. The resulting file is then processed
to extract the information needed to create the assym.h file. The -c flag instructs genassym to create slightly different code, generate an
executable from this code and run it. In both cases the assym.h file is written to stdout. The -f flag instructs genassym to create forth
code.
DIAGNOSTICS
Either self-explanatory, or generated by one of the programs called from the script.
SEE ALSO genassym.cf(5)HISTORY
The genassym command appeared in NetBSD 1.3 as ``genassym.sh'' in /usr/src/sys/kern. It became a userland utility in NetBSD 4.0.
BSD April 13, 2010 BSD
Check Out this Related Man Page
MARIA-CSO(1) General Commands Manual MARIA-CSO(1)NAME
maria-cso - shared library generator for maria
SYNOPSIS
maria-cso directory library.so file.c...
maria-cso directory library.so file.c
DESCRIPTION
This manual page documents briefly the maria-cso command.
maria-cso is a shell script invoked by maria in order to compile generated C code into dynamically loadable shared object files. The
script invokes the C compiler and the linker, and it calculates checksums in order to avoid compiling unmodified modules.
The directory argument specifies the location of the source files. When the script is invoked with one file.c argument, it translates the
file to the shared object library.so.
When maria-cso is invoked with multiple file.c arguments, it computes a checksum of a file named multiset.h and of each argument. When the
header file multiset.h has been changed since the previous invocation of maria-cso, everything will be recompiled. Otherwise only those
file.c modules that have been modified will be recompiled. The checksum files are multiset.sum and c.sum.
SEE ALSO maria(1), sh(1).
ENVIRONMENT VARIABLES
CC Name of the C compiler
CFLAGS Command-line switches to be passed to the C compiler
DEFINES
Preprocessor macro definitions to be passed to the C compiler
FILES
/usr/share/maria/runtime/*.h
Header files for the run-time library
AUTHOR
This manual page was written by Marko Makela <msmakela@tcs.hut.fi>. The maria-cso script and the compilation option were designed and
implemented by Marko Makela. Please see the copyright file in /usr/share/doc/maria for details.
August 10, 2001 MARIA-CSO(1)
Hi!!,
my HP-UX - 10.2 compiler doesnt appear to support ANSI style of coding. On compiling my C code, it flags error messages like
error 1705: Function prototypes are an ANSI Feature
Is it a generic problem with the HP compiler or do I need to use some special switches on the command... (9 Replies)
Does anyone here know of any good windows c++ compiler for linux? so that I can compile c++ programs in Linux (this is very possible!). Doesnt mather if it is a real windows compiler that works in wine or if its a compiler written for linux but compiles windows binaries (4 Replies)
hello all
pls can anybody point me a direction of capturing 2 arguments: one a line of text the other is a file.
In paticular how can i get the file
so for exampls, i create a script called monalisa
monalisa this is an angel from the 7th heaven booboo
where monalisa is the script... (6 Replies)
hi.i want to create a bash script called countfiles.sh, that will count the pack of files under the current file that their term satisfy a specific pattern. The script must show the total per file or on the whole.
thank tou (4 Replies)
Hi,
I am trying to get a the process cpu usage from the /proc file recently, on the Solaris 5.10. But met some rookie issue which i need some help. for below program, compiler complains that pstatus_t is undefined, although both type are defined in the procfs.h.
#include <sys/procfs.h>... (4 Replies)
HI All,
I m compiling a 27 MB cpp file and compiler crashes.
My enviroment : RH 9, compiler g++
how i m compiling
g++ -fPIC -DWITH_OPENSSL -DWITH_COOKIES -c soapC.cpp
it took almost 30 -32 to throw error like report bug etc. I will post the same error, but if can any body tell how to... (2 Replies)
Hi, sorry for my english,
i want to find the C-sources of the compiler gcc because i must create a compiler for an educational architecture made by my information technology professor. He told me that i must start from this sources, compile the gcc with them (pratically "auto-compile" the... (2 Replies)
Hi,
There is csv file generated at /usr/data on server1 on monthly basis.
It is in the format reportYYYYDD(e.g 201105).
I needed a script which would copy the latest generated file from the location to another server at /usr/loc
Please can you help? (2 Replies)
I am using the shc shell compiler, it works fine, just that when i execute it, it displays the code at the terminal. Is there any way to hide this as well? otherwise it beats the purpose of hiding the code.
Thanks ! (7 Replies)