English 中文(简体)
在Sun Solaris网站12.2找到连接器的地方?
原标题:Where can I find the linker(ld) in Sun Solaris Studios 12.2?

At the moment I am using for linking purposes the pre-installed linker on my SPARC machine in the following directory:

/usr/ccs/bin/ld

I wanna compile my application with the Sun Studios Compiler 12.2 and so I would also like to use the linker that should come with this package. However, when checking the bin directory of Sun Studios I can just find a c compiler (cc), but no ld (linker). Anyone an idea where this has gone and how I can invoke it?

Many thanks, Mike

问题回答

缺席(例如,除非你尝试 All硬) 演播室编员将使用与操作系统一道装运的连接器作为核心(不可移动)组成部分。

并非在所有上建议,试图利用全球太阳系的链接器。 两者之间有许多特点差异。

rel=“nofollow” http://docs.oracle.com/cd/E26502_01/html/E26507/index.html>,或小组的博客――

# ls -lh /usr/ccs/bin/ld 
lrwxrwxrwx 1 root root 12 2012-01-26 05:54 /usr/ccs/bin/ld -> ../../bin/ld

/usr/bin/ld is in pkg:/developer/linker





相关问题
Where are the symbols etext, edata and end defined?

This is a code from Linux man page: #include <stdio.h> #include <stdlib.h> extern char etext, edata, end; int main() { printf("First address past: "); printf(" program text (...

Problem statically linking MFC libraries

I have a Visual Studio 6 workspace I m trying to convert to a Visual Studio 2008 solution. The output of said solution is a .dll. It has to be a .dll and it needs to statically link MFC as I can t ...

Create a shared lib using another shared lib

I have a shared library "libwiston.so". I am using this to create another shared library called "libAnimation.so", which will be used by another project. Now, the second library "libAnimation.so" can ...

C++ linker - Lack of duplicate symbols

Why does the following code not give me a duplicate symbol linker error for Impl? I ran across this problem in some code I inherited and I m recreating a shorter version here for simplicity. I have ...

problem w/ linking static function g++

I am trying to build a small program and I have my own library libfoo. I have a camera class that is calling a static function from my Vector3 class (i.e. crossProduct). My camera class and Vector3 ...

Extract statically linked libraries from an executable

I m not sure if this is even possible, but given an executable file (foo.exe), with has many libraries which has been linked statically. Is there any software that extract from this file the .lib ( ...

热门标签