Sponsored Content
Top Forums UNIX for Advanced & Expert Users AIX runtime programming issue Post 302964337 by agent.kgb on Wednesday 13th of January 2016 04:27:10 PM
Old 01-13-2016
From the information you've provided I can make only general recommendation - use IBM C Compiler, not GCC. Try to debug your code with dbx or IBM Debugger, but what I see - your code even doesn't come to the execution. Possibly you've linked it with wrong C runtime (crt0.o/crt0_64.o) or with wrong linker (GNU linker instead of IBM linker).
 

10 More Discussions You Might Find Interesting

1. AIX

Programming Tools for Aix

I am searching for a good debugger and memory leak detection tools like for AIX. Right now we use Xldb for debugging, which is not bad, but detecting memory leaks is a pain... Unfortunately Purify is not aviable for the AIX plattform. DDD is not bad as an alternative debugger but he is... (0 Replies)
Discussion started by: Lazzar
0 Replies

2. AIX

Aix Shell Programming

HI I am trying to write a shell script which accepts two strings from user and finds the matching number of characters in those two ex: string 1 abcd string 2 bcgt result is bc (matching characters) pls provide me with a basic script for doing that (1 Reply)
Discussion started by: akmtcs
1 Replies

3. Shell Programming and Scripting

Sed issue in K Shell programming

I am doing the following script in k shell sed -i 's/FILENAME/$i/g' TEST/test$j.ctl > TEST/control$j.ctl In the file it replaces $i for all FILENAME, it doesnot replace with the value of i. I put single quotes like below sed -i 's/FILENAME/'$i'/g' TEST/test$j.ctl > TEST/control$j.ctl I... (9 Replies)
Discussion started by: toshidas2000
9 Replies

4. UNIX for Advanced & Expert Users

Allocate memory for a shell script in Aix at runtime-urgent critical

How to allocate memory for a shell script on aix box at the time of execution i.e at runtime Are there any commands for AIX in specific Thanks in Advance (1 Reply)
Discussion started by: aixjadoo
1 Replies

5. AIX

runtime libs accessed by application in AIX

Hi , I need some inputs on runtime or shared libs for an application(s) in AIX . i have a requirement saying i need to rehost all the production applications into new AIX OS . Here Source and target oS is AIX but with different versions so for this i need to identify what are the... (1 Reply)
Discussion started by: naren_chella
1 Replies

6. Programming

programming in C, C++ on AIX 6.1 requirments

I want to start programming in C, C++ on AIX 6.1 and I want to know what I need to install on the server to do so. Do I only need to install "gcc" GNU Compiler Collection & "gcc-c++" C++ support for GCC. or do I also need "libgcc" GCC compiler dynamic runtime library? am I missing any files to... (1 Reply)
Discussion started by: daveisme
1 Replies

7. AIX

How to Check the what runtime package is applied on AIX OS

Hi Experts, How to Check the what runtime package is applied on AIX OS? I would like to verify if “xlcpp.rte.10.1.0.aix.base” package is applied or not ? thanks in advance. -Mallela (1 Reply)
Discussion started by: meetmallela
1 Replies

8. Shell Programming and Scripting

Need help with programming issue

I need a UNIX shellscript command that will remove the 'Paragraph' mark from a simple text file. The Paragraph mark I'm referring to is the special character you can see in a WORD documant (similar to a backwards 'P') when you select the Show Paragraph Marks icon. If someone can give me the... (6 Replies)
Discussion started by: varefump
6 Replies

9. AIX

Embedding Runtime Search Path into Library on AIX

My product has 2 libraries say "x & y". x depends on y. During the installation of my products package, user will be prompted for his own location to copy my product libraries. Installation will copy libraries "x & y" and create my product specific ENV variable say "MYPATH" pointing to User... (4 Replies)
Discussion started by: erra_krishna
4 Replies

10. Shell Programming and Scripting

Perl programming issue

Dears, I want to print filename and count of each file in perl but failing to implement. `find $srcFolder -maxdepth 1 -type f -name "*$workDate*$fileExt" -exec sh -c ' && printf "$workDate|%s|%s\n" "$(wc -l<"$0")" *$workDate*$fileExt' {} \ >> /Sadique/filelog.out \\; 2> /dev/null`; ... (2 Replies)
Discussion started by: sadique.manzar
2 Replies
ASLINK(1)						      General Commands Manual							 ASLINK(1)

NAME
ASLINK - companion linker for the ASxxxx assemblers. SYNOPSIS
aslink [options] filenames link-gbz80 [options] filenames link-z80 [options] filenames WARNING
The information in this man page is an extract from the full documentation of SDCC, and is limited to the meaning of the options. For complete and current documentation, refer to the ASxxxx Cross Assembler Documentation, available in /usr/share/doc/sdcc-doc/aslink. DESCRIPTION
The ASLINK is general relocating companion linker for the ASxxx assemblers. MCS51 family is supported by aslink. Z80family is supported by link-z80. GBZ80 (GameBoy Z80-like CPU) is supported by link-gbz80. OPTIONS
The linker may run in the command line mode or command file modes. The allowed startup linker commands are: -c/-f command line / command file modes -p/-n enable/disable echo file.lnk input to stdout If command line mode is selected, all linker commands come from stdin, if the command file mode is selected the commands are input from the specified file (extension must be .lnk). After invoking the linker the valid options are: -i/-s Intel Hex (file.ihx) or Motorola S19 (file.s19) image output file. -z Specifies that symbol names are case sensitive. -m Generate a map file (file.map). This file contains a list of the symbols (by area) with absolute addresses, sizes of linked areas, and other linking information. -w Specifies that a wide listing format be used for the map file. -xdq Specifies the number radix for the map file (Hexidecimal, Decimal, or Octal). -u Generate an updated listing file (file.rst) derived from the relocated addresses and data from the linker. fileN Files to be linked. Files may be on the same line as the above options or on a separate line(s) one file per line or multiple files separated by spaces or tabs. -b area = expression (one definition per line) This specifies an area base address where the expression may contain constants and/or defined symbols from the linked files. -g symbol = expression (one definition per line) This specifies the value for the symbol where the expression may contain constants and/or defined symbols from the linked files. -k library directory path (one definition per line) This specifies one possible path to an object library. More than one path is allowed. -l library file specification (one definition per line) This specifies a possible library file. More than one file is allowed. -e or null line, terminates input to the linker. SEE ALSO
sdcc(1), asxxxx(1), link-z80(1), link-gbz80(1). AUTHOR
This manual page was written by Aurelien Jarno <aurel32@debian.org>, for the Debian GNU/Linux system (but may be used by others). ASLINK(1)
All times are GMT -4. The time now is 05:34 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy