12-07-2001
Need to port C dll to UNIX
I have source code of a Windows C DLL. It complies properly and works. Now I need to port it to UNIX environment.
I need to know if I can create a Dynamic Library or only Static Library is possible in UNIX.
In case I can create a Dynamic Library please guide me how to proceed. Or if there is any book available which I refer to.
Also is only Forte C the avialble C development environment in UNIX or is there any other user friendly environement avaiable.
Thanks in advance
![Smilie Smilie](https://www.unix.com/images/smilies/smile.gif)
10 More Discussions You Might Find Interesting
1. Programming
I am porting Dll from Windows NT to Unix,
Could any body pls guide me how should I proceed?? (3 Replies)
Discussion started by: Vipin
3 Replies
2. Programming
Hello all
is there any concept of DLL in UNIX if so mention
the name of the library linking dynamically
Bye
Raj (1 Reply)
Discussion started by: rajashekaran
1 Replies
3. IP Networking
Hi all ,
How can I achieve getting the IP address of a local machine,
by sending packet over dll layer with its mac address,
and how should the frame be consturcted without providing
the IP address of the destination machine.
Thanx (0 Replies)
Discussion started by: netsavy
0 Replies
4. UNIX for Advanced & Expert Users
Is it possible for a Unix script to execute a .dll. If so, where would I find information/examples of how to do that?
Thanks, in advance, for any help. :rolleyes: (2 Replies)
Discussion started by: BCarlson
2 Replies
5. What is on Your Mind?
I have created DLLs in c++. Is it possible to run these DLLs in unix so that I can save time converting function/scripts in unix? In this way I can reuse these DLL in Unix. Thanks. (2 Replies)
Discussion started by: alestoquia
2 Replies
6. Programming
Hello,
I am sorry to bother you all but I am thinking about switching to UNIX and I am a complete novice there.
The problem is that I need to call a C++ dll on UNIX platform which was compiled on Windows. I don't have the source code of the dll as well. I just need to call this dll in my C++... (2 Replies)
Discussion started by: clickoo
2 Replies
7. UNIX for Dummies Questions & Answers
Hi...
I have build a program for the Velleman K8000 interface card, in java, which works just fine in windows, but now I want to use the program on a Unix-System.
Is it possible to somehow convert the dll file to a format that Unix supports, or do I have to find another way?
Dll-file:... (3 Replies)
Discussion started by: Scorp-D
3 Replies
8. Programming
Hi all,
I had trouble compiling my application with a custom dll, the error appear to be some undefined reference to the functions i had created in my dll. Is there a need to update any environmental variable such as LD_LIBRARY_PATH as in linux system. Please advise.
One more thing is do... (2 Replies)
Discussion started by: dwgi32
2 Replies
9. UNIX for Advanced & Expert Users
hello Forum members,
what is internal mechanism of DLL's in Unix kernal.what is the major advantage over static libraries.
Thanks & Regards
Siva Ranganath (2 Replies)
Discussion started by: workforsiva
2 Replies
10. Solaris
please find the below o/p for your reference
bash-3.00# fcinfo hba-port
HBA Port WWN: 21000024ff295a34
OS Device Name: /dev/cfg/c2
Manufacturer: QLogic Corp.
Model: 375-3356-02
Firmware Version: 05.03.02
FCode/BIOS Version: BIOS: 2.02; fcode: 2.01;... (3 Replies)
Discussion started by: sb200
3 Replies
LEARN ABOUT DEBIAN
unw_is_signal_frame
UNW_IS_SIGNAL_FRAME(3) Programming Library UNW_IS_SIGNAL_FRAME(3)
NAME
unw_is_signal_frame -- check if current frame is a signal frame
SYNOPSIS
#include <libunwind.h>
int unw_is_signal_frame(unw_cursor_t *cp);
DESCRIPTION
The unw_is_signal_frame() routine returns a positive value if the current frame identified by cp is a signal frame, and a value of 0 other-
wise. For the purpose of this discussion, a signal frame is a frame that was created in response to a potentially asynchronous interrup-
tion. For UNIX and UNIX-like platforms, such frames are normally created by the kernel when delivering a signal. In a kernel-environment,
a signal frame might, for example, correspond to a frame created in response to a device interrupt.
Signal frames are somewhat unusual because the asynchronous nature of the events that create them require storing the contents of registers
that are normally treated as scratch (``caller-saved'') registers.
RETURN VALUE
On successful completion, unw_is_signal_frame() returns a positive value if the current frame is a signal frame, or 0 if it is not. Other-
wise, a negative value of one of the error-codes below is returned.
THREAD AND SIGNAL SAFETY
unw_is_signal_frame() is thread-safe as well as safe to use from a signal handler.
ERRORS
UNW_ENOINFO
Libunwind is unable to determine whether or not the current frame is a signal frame.
SEE ALSO
libunwind(3), unw_get_reg(3), unw_set_reg(3), unw_get_fpreg(3), unw_set_fpreg(3)
AUTHOR
David Mosberger-Tang
Email: dmosberger@gmail.com
WWW: http://www.nongnu.org/libunwind/.
Programming Library 16 August 2007 UNW_IS_SIGNAL_FRAME(3)