Sponsored Content
Top Forums Programming determining the object files... Post 302221716 by xyzt on Tuesday 5th of August 2008 04:05:22 AM
Old 08-05-2008
determining the object files...

hello,
is there a utility to determine which object files are used to create a binary executable file?let me explain, please:
for ex. there are three files:
a.o b.o c.o
and these files are used to create a binary called:
prg
namely, a.o b.o c.o -> prg
so, how can i determine these three object files by investigating the binary file,prg ?
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

object files ?? Files within Files??

:D can you? and if you can... how do you create oject files.. Files within Files...!!? if this is not possible no answer required..! thanx moxxx68 ps.. excuse my logic if this is under the wrong topic.....:) (1 Reply)
Discussion started by: moxxx68
1 Replies

2. Programming

creating object files in a specific directory

hello, i have a makefile in which i am specifying the option for creating the object files of the source files. The option which i am using is this : gcc -c main.c first.c by default these object files are created in the same directory in which the makefile is present. what option... (1 Reply)
Discussion started by: svh
1 Replies

3. Solaris

Determining processes that have been swapped out

Is there a way to do this in Solaris? For instance, suppose I run the following: $ swap -l swapfile dev swaplo blocks free /dev/md/dsk/d501 85,501 16 16780208 16780208 $ swap -s total: 3377368k bytes allocated + 519416k reserved = 3896784k used, 11011992k available... (1 Reply)
Discussion started by: lyonsd
1 Replies

4. AIX

Can I link object files compiled with xlC and g++?

Hello, Is it possible to link object files compiled with different compilers on AIX, say xlC and g++? Thanks Ping (0 Replies)
Discussion started by: luop0812
0 Replies

5. Shell Programming and Scripting

Determining number of overlaps between two files using Hashes?

Hi there, I have a doubt about how to set this up. This is the situation. I have two files, one that is ~31,000 in length and has the following information (7 fields): file1 1 + 100208127 100261594 6 100208127,100231680,100237404,100245177,100249508,100260529, ... (35 Replies)
Discussion started by: labrazil
35 Replies

6. UNIX for Dummies Questions & Answers

Object reference not set to an instance of an object

I am new to PHP and UNIX. I am using Apache to do my testing on a Windows Vista machine. I am getting this error when I am trying to connect to a web service. I did a search and did not see any posts that pertain to this. Here is my function: <?php function TRECSend($a, $b, $c, $d,... (0 Replies)
Discussion started by: EddiRae
0 Replies

7. UNIX for Dummies Questions & Answers

How to obtain list of object files in a shared (dynamic) library?

How can I simply obtain a list of the object files in a shared (dynamic) library. I am looking for the equivalent of "ar -t <lib>" for archived (static) libraries. Thanks in advance. :rolleyes: ---------- Post updated at 01:47 PM ---------- Previous update was at 12:16 PM ---------- The... (1 Reply)
Discussion started by: chatieremerrill
1 Replies

8. Programming

determining the IP of a function

Is there a way to determine the "Instruction Pointer" of a function in c++, and if so can someone tell me? (5 Replies)
Discussion started by: neur0n
5 Replies

9. UNIX for Dummies Questions & Answers

Determining file size for a list of files with paths

Hello, I have a flat file with a list of files with the path to the file and I am attempting to calculate the filesize for each one; however xargs isn't playing nicely and I am sure there is probably a better way of doing this. What I envisioned is this: cat filename|xargs -i ls -l {} |awk... (4 Replies)
Discussion started by: joe8mofo
4 Replies

10. Programming

How to initialize an object with another object of different class?

How to initialize an object of class say "A", with an object of type say "B". The following code give the error message "error: conversion from âAâ to non-scalar type âBâ requested" #include <iostream> using namespace std; class B; class A{ public: A() { cout <<"\nA()" << endl; } ... (1 Reply)
Discussion started by: techmonk
1 Replies
getprdfent(3)						     Library Functions Manual						     getprdfent(3)

NAME
getprdfent(), getprdfnam(), setprdfent(), endprdfent(), putprdfnam() - manipulate system default database entry for a trusted system SYNOPSIS
DESCRIPTION
and each returns a pointer to an object with the following structure containing the broken-out fields of a line in the system default data- base. Each line in the database contains a pr_default structure, declared in the header file: struct system_default_fields { time_t fd_inactivity_timeout ; char fd_boot_authenticate ; } ; struct system_default_flags { unsigned short fg_inactivity_timeout:1, fg_boot_authenticate:1, } ; struct pr_default { char dd_name[20] ; char dg_name ; struct pr_field prd ; struct pr_flag prg ; struct t_field tcd ; struct t_flag tcg ; struct dev_field devd ; struct dev_flag devg ; struct system_default_fields sfld ; struct system_default_flags sflg ; } ; Currently there is only one entry in the system default database referenced by name The System Default database contains default values for all parameters in the Protected Password, Terminal Control, and Device Assignment databases, as well as configurable system-wide parameters. The fields from the other databases are described in the corresponding manual entries. fd_inactivity_timeout is the number of seconds until a session is terminated on trusted systems. fd_boot_authenticate is a Boolean flag that indicates whether an authorized user must authenticate before the system begins operation. returns a pointer to the first pr_default structure in the database when first called. Thereafter, it returns a pointer to the next pr_default structure in the database so that successive calls can be used to search the database (only one entry is supported). searches from the beginning of the file until a default entry matching name is found, and returns a pointer to the particular structure in which it was found. If an end-of-file or an error is encountered on reading, these functions return a NULL pointer. Currently, all pro- grams access the default database by calling (the entry name is A call to has the effect of rewinding the default control file to allow repeated searches. can be called to close the database when pro- cessing is complete. puts a new or replaced default control entry pr with key name into the database. If the prg.fd_name field is 0, the requested entry is deleted from the system default database. locks the database for all update operations and performs an after the update or failed attempt. Notes The value returned by and refers to a structure that is overwritten by calls to these routines. To retrieve an entry, modify it, and replace it in the database, copy the entry using structure assignment and supply the modified buffer to Programs using these routines must be compiled with APPLICATION USAGE
In a multithreaded application, these routines are safe to be called only from one dedicated thread. These routines are not POSIX.1c async-cancel safe nor async-signal safe. RETURN VALUE
and return NULL pointers on or error. returns 0 if it cannot add or update the entry. WARNINGS
Do not delete the system default entry. HP-UX 11i Version 3 is the last release to support trusted systems functionality. FILES
System Defaults database SEE ALSO
authcap(4), default(4), getprpwent(3), getprtcent(3), getdvagent(3). TO BE OBSOLETED getprdfent(3)
All times are GMT -4. The time now is 05:49 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy