What is different about the linker ld(1)?
BSD/OS 4.0 uses the GNU binutils 2.8.1 linker. This linker is substantially different from the GNU linker that we provided in previous releases. For a full description, you may view the on-line documentation with `info ld’. Here are some of the highlights: • The -T flag to set the base address of a program has been changed. There are now separate -Ttext, -Tdata and -Tbss flags to set the addresses of specific segments. -T by itself means something completely different. • The -static flag tells the linker to create a statically linked program. Static linking was the default and only style of linking with previous versions of the linker. Without this flag, ld will create a dynamically linked program. • The -shared flag tells the linker to produce a shared object or shared library. The object files in a shared object or shared library should use position-independent code (usually, this means compiling with -fPIC). • The -rpath flag causes the linker to include the given directory name in
Related Questions
- How is sensory integration dysfunction related to different diagnoses such as ADHD, ADD, autism, LD, NVLD, etc.? Can a child benefit from sensory integration therapy if there is another diagnosis?
- What does linker error "Tag_Memory_Model attribute value of "1" that is different than one previously seen ("2"); combining incompatible files" mean?
- What is different about the linker ld(1)?