Top "Object-files" questions

An object file is the real output from the compilation phase.

What's an object file in C?

I am reading about libraries in C but I have not yet found an explanation on what an object file …

c compilation linker object-files
How to view symbols in object files?

How can I view symbols in a .o file? nm does not work for me. I use g++/linux.

c++ linux g++ object-files
expected unqualified-id before string constant

I'm currently writing a C++ application which implements an Oscillator in conjuction with math.h. The code I have should …

c++ namespaces g++ math.h object-files
Contents of a static library

I have a static library, say mystaticlib.a. I want to see its contents, such as the number of object …

c++ c gcc static-libraries object-files
combine two GCC compiled .o object files into a third .o file

How does one combine two GCC compiled .o object files into a third .o file? $ gcc -c a.c -o …

gcc compiler-construction linker ld object-files
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 …

c++ c gcc object-files
symbol table and relocation table in object file

From what I understand, instructions and data in an object file all have addresses. First data item start at address 0 …

assembly compilation object-files symbol-table
Relation between object file and shared object file

what is the relation between shared object(.so) file and object(.o) file? can you please explain via example?

c++ linker shared-libraries object-files
Can't link assembly file in Mac OS X using ld

I'm trying to run a basic assembly file using 64 Bit Mac OS X Lion, using nasm and ld which are …

macos assembly nasm ld object-files