ld
C/C++ unused inline function undefined reference
Consider the following code (this is not pthread specific; other examples, such as those involving the realtime library, exhibit similar behavior):[详细]
2023-04-02 01:47 分类:问答cannot specify root sdk directory with syslibroot when linking
I have a few static libraries I want to link with ld. My libraries are in the directories /Users/rlt/p4/lib/ and /Users/rlt/p4/usr2/lib. I want to pass in the relative paths of these directories w.r.t[详细]
2023-03-31 18:28 分类:问答Ld magically overrides statically linked symbols
For a few days we are dealing with very strange problem. I can\'t understand how it even happens - when a third-party (MATLAB) program uses our shared library, it somehow overrides some of our symbol[详细]
2023-03-31 11:52 分类:问答linking object files and linking static libraries containing these files
Hello Stack Overflow Community, i am working on a c project to interleave multiple c programs into one binary, which can run the interleaved programs as treads or forks for benchmarking purposes.[详细]
2023-03-30 17:51 分类:问答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 installed by default with Xcode.[详细]
2023-03-26 08:14 分类:问答LD_PRELOAD_PATH for 32bits application on 64bits environment
I am on a 64bits linux running an application which is compiled for 32bits and have some libs in its directory.[详细]
2023-03-26 04:19 分类:问答GDC D2 Compile: undefined reference to `_Unwind_SjLj_XYZ'
Ijust downloaded GDC (gcc-4.5.2-tdm-1-gdc-r575-20110723.zip) to use with MinGW-w32, and upon trying to compile/link a file, I got these errors:[详细]
2023-03-24 13:35 分类:问答Injecting sections into GNU ld script; script compatibility between versions of binutils.
I\'m building something like in the question How to collect data from different .a files into one array? How to keep 开发者_如何学编程sections in .a files with ld script?, i.e. arrays composed during[详细]
2023-03-23 17:43 分类:问答ld cannot find cannot find -luser32 (from Eclipse)
I am trying do CPP development from Eclipse.. I\'ve installed cgywin.. and when try to compile, link any simple Hello World App, I got the following while linking ...[详细]
2023-03-23 10:20 分类:问答GCC/G++ equivalent of ldconfig -n
When I create my own non-standard path for library files (say, ~/lib) I can run ldconfig -n ~/lib and this directory is added to the list of locations ld uses to search for non-standard libraries.[详细]
2023-03-23 05:47 分类:问答