object-file

My C++ object file is too big

I am working on a C++ program and the compiled object code from a single 1200-line file (which initializes a rather complex state machine) comes out to nearly a megabyte. What could be making the file so large? Is there a way I can find what takes space inside the object file? ...

Object files in an executable in Linux

Is there a way to find the object files from which the current executable is generated in Linux (RHEL to be specific). I understand that one can use "nm" to find the exported symbols, "ldd" to find dependent shared object. But I could not find command to find out the name of object (.o) files of which executable is composed of. Is it p...

What is the difference between a .o object file and a .so library file ?

Like the title says, what is the difference between a "program object file" (.o extension) and a "library file" (.so extension) ...

Problem when using C object file (.o) in different computers

I'm trying to create an object file which can be useable in any computer. So what I did was create bunch of functions and placed them in a .c file. Used gcc -c myfile.c which produces myfile.o. (I'm running Windows XP and got gcc from DevC++) I then create another program which uses my object file. All seems fine except when I try copyi...

".OFF" descriptions

I'd like to make a scene that uses meshes and primitives (such as spheres, cylinders, boxes, etc). I was wondering if there are any recommendations with regard to where I can go to find .off files that describes complex meshes, such as mountains, rocks, trees, animals, etc. ...

Doubts in executable and relocatable object file

Hello, I have written a simple Hello World program. #include <stdio.h> int main() { printf("Hello World"); return 0; } I wanted to understand how the relocatable object file and executable file look like. The object file corresponding to the main function is 0000000000000000 <main>: 0: 55 ...

Convert .o file to .exe

Is it possible to convert an object file .o that was created from a .c source code to .exe? And if it is possible is there a direct command using gcc? ...

.obj file conversion to OpenGL model header file - indices and f parameters?

The OpenGL model header file I'm working with contains definitions along the following: static const float modelVertices[NUM_OBJECT_VERTEX * 3] = {} static const float modelTexCoords[NUM_OBJECT_VERTEX * 2] = {} static const float modelNormals[NUM_OBJECT_VERTEX * 3] = {} static const unsigned short modelIndices[NUM_OBJECT_INDEX] = {} ...

MIPS simulator of object files

Hi, i need some MIPS simulator who can work with object files .elf or .o. I have some mips object files, and I want to simulate those files. Is this possible? ...