ld
Link with SDL using Cocotron CDT
I\'m trying to use Cocotron to compile for Linux in Xcode. Everything\'s working great with Foundation, but I\'m trying to also use SDL. I\'ve copied the libraries over from Linux (Ubuntu) but I\'m ha[详细]
2023-02-02 01:16 分类:问答How to set the dynamic linker path for a shared library?
I want to compile a shared library with an .interp segment. #include <stdio.h> int foo(int argc, char** argv) {[详细]
2023-01-31 22:48 分类:问答Linker (ld) crashes on Mac OS X when compiling with debuginfo, but works fine without
I\'m working on a snow leopard machine (10.6.5) and I\'m hunting a bug in our C++ application. However, I can\'t build our app with g++ -O0 -g, because the linker crashes:[详细]
2023-01-31 15:43 分类:问答Why do I get "ld: in libUnitTest++.a, archive has no table of contents" when building UnitTest++ on Mac OS X?
After I download UnitTest++ version 1.4 (from http://sourceforge.net/projects/unittest-cpp/) and do a make, I get:[详细]
2023-01-30 09:43 分类:问答Linking raw data/resource into executable using LD
Until now I\'ve always used resources under MSVC++ to get access to raw data from inside of my programs and I\'ve never worked with a linker directly, but now I\'m under Linux and I\'m using a cross-c[详细]
2023-01-29 21:54 分类:问答Non-.bss uninitialized data section
I\'m using a custom linker script to split a kernel image into two parts. The first is normal code and data, and the second is initialization code and data to be discarded when it\'s no longer needed.[详细]
2023-01-26 20:19 分类:问答Incremental linking using gcc on linux. Is it possible?
The way my team\'s project is developed, we generate a Shared Object library for our application from all all of our .o object files. My task (hopefully it is specific enough but also general enough t[详细]
2023-01-26 15:31 分类:问答C++: compilation error - "no .eh_frame_hdr table will be created"
I\'m supposed to use a data analysis program for a physics experiment. I can\'t get it to compile though.[详细]
2023-01-15 15:50 分类:问答LD: linking with STL libraries
I was trying to compile a OpenCV\'s VideoCapture example. When I compile it, I get the following output:[详细]
2023-01-14 22:55 分类:问答Force gcc to use one linker over another
Lately I have been working on OS X.Things were going pretty peachy for a while until somehow ld got on my system and now gcc won\'t use dyld.Furthermore, all of my shared libraries are in *.dylib form[详细]
2023-01-13 01:57 分类:问答