Sponsored Content
Top Forums Programming Create a lib from a c program Post 31225 by Vishnu on Monday 4th of November 2002 02:14:44 PM
Old 11-04-2002
this link is for AIX, but I used the procedure to test out on my RHL 7.3 and it works fine... so I think you should not have problem save a little exercise for you to find the appropriate option for your cc implementation...

http://www.faqs.org/faqs/aix-faq/part4/section-1.html

Cheers!
Vishnu.
 

10 More Discussions You Might Find Interesting

1. Programming

HOw to load dynamic lib from a statically linked program ?

I need to load a dynamic library from a statically linked program. Is there a way without recompiling my program. when i try to do that my program just crashes. If not possible, how can I avoid crashing the program when i try to load the dynamic lib, again without recompiling. If my... (1 Reply)
Discussion started by: disclaimer
1 Replies

2. Programming

Using a C program to create directories in UNIX

Aloha, I'm attempting to use a C program to create directories and then use a system call to have another program write .dat files into that directory. I understand that I could use the "system("mkdir directory_name")" function however, I would like my program to create a new directory each time... (3 Replies)
Discussion started by: aloha_boi
3 Replies

3. Programming

How to create a new unix user in through a c program

Hi , I want to create a new user using c program not with unix adduser command . is it possible to write a cprogram to create a new user account , it should accept username , grouid , group name and all other privilages . i can use system calls inside c program to do this . i will... (5 Replies)
Discussion started by: naren_chella
5 Replies

4. Shell Programming and Scripting

create a .dll using cygwin and a .lib

Hi, I inherited a .lib file that I need to use to make a .dll file from a c++ file. I am able to do this in visual studio but I can not do this using cygwin. I would like to build the dll using the commandline in order to create a make file. Can someone help me. I would really appreciate it. ... (0 Replies)
Discussion started by: lsoleyma
0 Replies

5. Programming

create sound using C program

I could not recall the function in C to generate diff type of sounds. Can somebody help me out. (2 Replies)
Discussion started by: bishweshwar
2 Replies

6. Shell Programming and Scripting

Shell Program to create a RPM name

Hi Guru,s/Geek,s I need help to create RPM names from rpms. Example : a2ps-4.14-6.fc10.i386 perl-Email-Find-0.10-2.fc10.noarch directfb-1.2.7-2.fc10.i386 libid3tag-0.15.1b-7.fc10.i386 apr-util-1.3.7-1.fc10.i386 libquicktime-1.0.3-4.fc10.i386 The Desired Output is : a2ps... (2 Replies)
Discussion started by: anand.linux1984
2 Replies

7. Red Hat

ls: /lib/libattr.so.1: no version information available (required by /lib/libacl.so.1)

Hello, I'm experimenting a problem on my rh server. Red Hat Enterprise Linux AS release 3 (Taroon Update 8) 2.4.21-47.ELsmp #1 SMP i686 i686 i386 GNU/Linux It started with a segmentation fault on #id root To resolve it, I've installed coreutils-4.5.3-28.4.i386.rpm But, I... (6 Replies)
Discussion started by: gogol_bordello
6 Replies

8. Programming

Can I create a shared object by using an static lib?

for example, I have a static lib name liba.a it offers some interface such a1();a2(); but i do not have the source code of liba.a; If i would like to create a shared object, and offer the similar interface of a1 and a2; Is there a way to fulfill such requirement? thanks. (7 Replies)
Discussion started by: flost
7 Replies

9. Homework & Coursework Questions

create a program that runs two processes linked oven

I need help program in C... :create a program that runs two processes linked oven (1 Reply)
Discussion started by: gizmo16
1 Replies

10. Shell Programming and Scripting

Create a program illustrating SUID

To understand SUID feature, I set SUID bit for a SHELL script. Then I executed the program by a different user. In order to understand how it works, I tried different ways like: 1) I didn't give execute permission for the other user (not an owner) and then he tried to execute it. 2) I... (15 Replies)
Discussion started by: ravisingh
15 Replies
elksemu(1)						      General Commands Manual							elksemu(1)

NAME
elksemu - Embedded Linux Kernel Subset emulator SYNOPSIS
/lib/elksemu program [arguments] DESCRIPTION
Elksemu is a program that allows 8086 ELKS programs to be run under Linux-i386. These programs can be compiled using the bcc(1) C compiler. It is not usual to invoke /lib/elksemu directly, either the simple patch or kernel module distributed with it will cause the kernel to run /lib/elksemu with the correct arguments whenever the user tries to execute an ELKS executable directly. OPTIONS
There are no flag options to elksemu, the first argument is the name of the program to run the rest are arguments that are passed to the Elks program. The elksemu program is normally installed suid-root and in this event it is able to run execute only (chmod 111) elks executables and act correctly on the suid permission bits on those executable. This may be considered a security hazard so elksemu does not have to be installed suid-root. SEE ALSO
bcc(1), as86(1), ld86(1) BUGS
Elksemu is incomplete. The program may still have security bugs! Jan, 1997 elksemu(1)
All times are GMT -4. The time now is 06:56 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy