Parse Linux static Libraries (.a) in C [closed] - c

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
I want to know how to parse a linux static librarie (.a) to get content of each files.
Thank's to help me !

In addition to objdump mentioned, you can use nm to list the content of a dot-a file, both what is defined inside (as well as which file.c defined them, when not stripped), as well as extern (which needs to be satisfied by other libraries).

Related

Graphic programming in C, Linux [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
I save the data from USB into the database sqlite3 and I want to create a wave of these datas, I prefer to use C in Linux, maybe another language is also ok. Anyone has an idea?
Thanks.
If you can use C++ then checkout QT, has its open graphics library and supports OpenGL too

Error in code block [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 11 years ago.
I am getting two errors in code block which I am not able to remove. I think they are linking errors:
ld can't find -lc
ld can't find -lm
Ensure you have set correctly LD_LIBRARY_PATH for searching library path. The linker is looking for static library files libc.a and libm.a. They are standard c library and math library.

How to use and edit Windows exceutable resources from C? [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 11 years ago.
Can anyone tell me how to add a Windows string resource?
How to read it?
And, lastly, code for another C program to edit that resource.
thanx a lot in advance...hope you guyz don't laugh ..;)
Assuming that you are talking about Windows resources inside of executables, see this:
http://www.codeproject.com/KB/cpp/dynares.aspx

Convert a .c file, that was created on a Mac, to Windows [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 11 years ago.
Is there a way to convert a .c file that was created on a Mac to be compatible with VS2010? Or am I stuck having to re-type the code by hand?
Thanks!
You could try mac2dos.

calling convention in c [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
some one please tell me
how to change the default calling convention in c?
Calling conventions are not specified by the language. They are extensions to your compiler.
That said, commonly you do something like:
void __fastcall my_func(void);
But this is completely dependent on your compiler and platform.
This largely depends on your compiler, toolchain, and platform. You will need to be more specific on what your environment is, and what you wish to change to.

Resources