12-03-2004
HP-UX 11 supports 64 bit mode. Programs can be either SOM or ELF. This is why macros like that vanished. Using such a macro is non-portable. There really is no guarantee that a object called a "stack" will exist. About the best you could do is take the address of the first automatic variable.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I'm having a problem with a macro i put in my .exrc file.
Here's what I put: map #I ^[
^ [ is control-v and the escape key.
It places a # a the beginning of a line by simply hitting the # on the keyboard. Problem is, now when I hit "o" or "O" to move up or down a line, it places a # at... (1 Reply)
Discussion started by: Atama
1 Replies
2. Programming
Can i define a macro for a function of 10 LOC. (9 Replies)
Discussion started by: bankpro
9 Replies
3. Programming
Hi,
In my application I have some number c files. In each of the file the following line will be the first statement.
#ident "@(#) set.c 14.1.2.2 05/15/01 17:06:32"
I would like to know what is the use of the above statement.
Thanks
Sarwan (1 Reply)
Discussion started by: sarwan
1 Replies
4. Programming
I think there is no problem to use any macro in a new macro definishion, but I have a problem with that.
I can not understand why?
I have a *.mak file that inludes file with many definitions and rules.
##############################################
include dstndflt.mak
...
One of the... (2 Replies)
Discussion started by: alex_5161
2 Replies
5. Shell Programming and Scripting
Hi Experts,
i would like to get your help to do some development to the below linux commands which i run under .cmd file in windows
@echo off
call f:\linuxutils\grep.exe "T11" f:\blocked_ranges\dump3.txt|f:\linuxutils\grep.exe ",9647800"|f:\linuxutils\grep.exe... (3 Replies)
Discussion started by: mustafa.abdulsa
3 Replies
6. Shell Programming and Scripting
Hi,
I just opened one old RH box and found number of "macros" in there, that how they called in how-to doc, let say you type <rx> and this does a lot of stuff.
I can't figure out how it work, how I can edit/display these macros? Can anybody point to the right directions? I have some academic... (3 Replies)
Discussion started by: trento17
3 Replies
7. UNIX for Dummies Questions & Answers
Hi everyone,
What I am trying to do is assign a F-key a macro to save a file in vi and display said file in firefox. The details are as follows:
I am using a Win 7 laptop with and ssh program to log into a unix system.
What I am trying to do is figure out how to bring up the firefox... (1 Reply)
Discussion started by: csharp100
1 Replies
8. UNIX for Dummies Questions & Answers
Can I create a macro in UNIX? If so where do I find out how? (1 Reply)
Discussion started by: JD_Sal
1 Replies
9. UNIX for Dummies Questions & Answers
Hey guys, thanks for lookin....my question is I want to create a macro on HPUX to SFTP a .xls to my Windows Server....I have exstensively searched and all I can find is What a macro is not how to create one.
Reasoning for having a macro is to put it in a file creation script and have it run at... (7 Replies)
Discussion started by: DStewart
7 Replies
10. Programming
Can some body explain this part in a header file for me?
#include <limits.h>
#define BIGNUM unsigned long long
typedef BIGNUM (*hash_t) (char *str);
......I have hard time for the second part:
typedef BIGNUM (*hash_t) (char *str); First, I could not find the definition of hash_t, which... (1 Reply)
Discussion started by: yifangt
1 Replies
as_ia(1) General Commands Manual as_ia(1)
NAME
as_ia: as - assembler for Integrity systems
SYNOPSIS
outfile] [file]
Remarks
This manpage describes on Integrity systems. For on PA-RISC systems, see as_pa(1).
DESCRIPTION
assembles the named source file file, or the standard input if file is not specified. The output of the assembler is an ELF relocatable
object file that must be processed by before it can be executed.
Assembler output is stored in file outfile. If the option is not specified, the assembler constructs a default name. If no source file is
specified, outfile will be otherwise the suffix (if present) is stripped from the name of the source file and is appended to it. Any
directory names are removed from the name so that the object file is always written to the current directory.
does not not perform any macro processing. Standard C preprocessor constructs can be used if the assembler is invoked through the C com-
piler.
Options
recognizes the following options:
Specify that the source file contains 32-bit ABI targeted code.
This option is overridden by the assembler directive in the source file. The object file is a 32-bit ELF file by default.
Specify that the source file contains 64-bit ABI targeted code.
This option is overridden by the assembler directive in the source file. The object file is a 64-bit ELF file by default.
Permit an unlimited number of errors to be tolerated before the assembly
process is abandoned. By default, one hundred errors are allowed before the assembler aborts.
Specify that the object file should be 32-bit ELF.
This is the default (see also Note that it is valid to write 64-bit ABI targeted code to a 32-bit ELF file. All 32-bit
addresses in the object file are zero-extended to 64-bit upon loading. Zero-extension, however, may invalidate any negative
addresses (such as with relocations).
Specify that the object file should be 64-bit ELF (see also
See
See
Set dependency checking.
lvl must be one of the following: or what must be one of the following: or
Produce an output object file with the name
outfile instead of constructing a default name.
Print the version information to stderr before assembling the input.
Suppress the specified warning messages.
Promote the specified warning messages to errors.
Suppress all warning messages.
EXTERNAL INFLUENCES
Environment Variables
determines the location of the message catalog for the processing of
controls which assembler to invoke and enables support for multiple (cross-) development kits. The variable points to the root of a spe-
cific SDK. No provision has been made to validate the value of the variable or the suitability of the assembler that's being invoked.
International Code Set Support
Single- and multi-byte character code sets are supported.
WARNINGS
The assembler does not check dependencies.
DIAGNOSTICS
When syntactic or semantic errors occur, a single-line diagnostic is displayed on standard error, together with the line number and the
file name in which it occurred.
FILES
assembler error message catalog
default assembler output file
SEE ALSO
cc(1), ld(1), elf(3E).
Integrity Systems Only as_ia(1)