object-files
Structure of COFF object files
I\'m kinda having some issues with linking my assembly. I use NASM for assembly and then I link it with ld. One minor problem is that the GLOBAL directive only works if I define .data section which I[详细]
2023-01-16 00:51 分类:问答How to put generated files (e.g. object files) into a separate folder when using Qt/qmake?
I have a Qt project that uses qmake. To improve clarity and readability, I\'d like to keep the source files[详细]
2023-01-10 23:48 分类:问答Automatically choosing object files for compilation
I have recently begun writing unit tests (using GoogleTest) for a C++ project.Building the main project is fairly simple: I use GCC\'s -MM and -MD flags to automatically generate dependencies for my o[详细]
2023-01-08 20:56 分类:问答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 us开发者_高级运维ing gcc?gcc foo.o -o foo.exe[详细]
2022-12-29 15:22 分类:问答Disassemble Microsoft Visual Studio 2003 compiler output
I\'m seeing what I think is strange behaviour from object files output by the Microsoft Visual Studio 2003 tools.The file utility tells me:[详细]
2022-12-29 13:19 分类:问答How to make an executable file from a c object file?
How to make an object file to executable f开发者_如何学Goile?You need to link the object file.Your command:[详细]
2022-12-13 01:54 分类:问答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[详细]
2022-12-09 04:14 分类:问答