Usage: ld [options] file...
Options:
-a KEYWORD Shared library control for HP/UX compatibility
-A ARCH, --architecture ARCH
Set architecture
-b TARGET, --format TARGET Specify target for following input files
-c FILE, --mri-script FILE Read MRI format linker script
-d, -dc, -dp Force common symbols to be defined
-e ADDRESS, --entry ADDRESS Set start address
-E, --export-dynamic Export all dynamic symbols
-EB Link big-endian objects
-EL Link little-endian objects
-f SHLIB, --auxiliary SHLIB Auxiliary filter for shared object symbol table
-F SHLIB, --filter SHLIB Filter for shared object symbol table
-g Ignored
-G SIZE, --gpsize SIZE Small data size (if no size, same as --shared)
-h FILENAME, -soname FILENAME
Set internal name of shared library
-I PROGRAM, --dynamic-linker PROGRAM
Set PROGRAM as the dynamic linker to use
-l LIBNAME, --library LIBNAME
Search for library LIBNAME
-L DIRECTORY, --library-path DIRECTORY
Add DIRECTORY to library search path
-m EMULATION Set emulation
-M, --print-map Print map file on standard output
-n, --nmagic Do not page align data
-N, --omagic Do not page align data, do not make text readonly
--no-omagic Page align data, make text readonly
-o FILE, --output FILE Set output file name
-O Optimize output file
-Qy Ignored for SVR4 compatibility
-q, --emit-relocs Generate relocations in final output
-r, -i, --relocatable Generate relocatable output
-R FILE, --just-symbols FILE
Just link symbols (if directory, same as --rpath)
-s, --strip-all Strip all symbols
-S, --strip-debug Strip debugging symbols
--strip-discarded Strip symbols in discarded sections
--no-strip-discarded Do not strip symbols in discarded sections
-t, --trace Trace file opens
-T FILE, --script FILE Read linker script
-u SYMBOL, --undefined SYMBOL
Start with undefined reference to SYMBOL
--unique [=SECTION] Don't merge input [SECTION | orphan] sections
-Ur Build global constructor/destructor tables
-v, --version Print version information
-V Print version and emulation information
-x, --discard-all Discard all local symbols
-X, --discard-locals Discard temporary local symbols (default)
--discard-none Don't discard any local symbols
-y SYMBOL, --trace-symbol SYMBOL
Trace mentions of SYMBOL
-Y PATH Default search path for Solaris compatibility
-(, --start-group Start a group
-), --end-group End a group
--accept-unknown-input-arch Accept input files whose architecture cannot be determined
--no-accept-unknown-input-arch
Reject input files whose architecture is unknown
-assert KEYWORD Ignored for SunOS compatibility
-Bdynamic, -dy, -call_shared
Link against shared libraries
-Bstatic, -dn, -non_shared, -static
Do not link against shared libraries
-Bsymbolic Bind global references locally
--check-sections Check section addresses for overlaps (default)
--no-check-sections Do not check section addresses for overlaps
--cref Output cross reference table
--defsym SYMBOL=EXPRESSION Define a symbol
--demangle [=STYLE] Demangle symbol names [using STYLE]
--embedded-relocs Generate embedded relocs
-fini SYMBOL Call SYMBOL at unload-time
--force-exe-suffix Force generation of file with .exe suffix
--gc-sections Remove unused sections (on some targets)
--no-gc-sections Don't remove unused sections (default)
--hash-size=<NUMBER> Set default hash table size close to <NUMBER>
--help Print option help
-init SYMBOL Call SYMBOL at load-time
-Map FILE Write a map file
--no-define-common Do not define Common storage
--no-demangle Do not demangle symbol names
--no-keep-memory Use less memory and more disk I/O
--no-undefined Do not allow unresolved references in object files
--allow-shlib-undefined Allow unresolved references in shared libaries
--no-allow-shlib-undefined Do not allow unresolved references in shared libs
--allow-multiple-definition Allow multiple definitions
--no-undefined-version Disallow undefined version
--no-warn-mismatch Don't warn about mismatched input files
--no-whole-archive Turn off --whole-archive
--noinhibit-exec Create an output file even if errors occur
-nostdlib Only use library directories specified on
the command line
--oformat TARGET Specify target of output file
-qmagic Ignored for Linux compatibility
--reduce-memory-overheads Reduce memory overheads, possibly taking much longer
--relax Relax branches on certain targets
--retain-symbols-file FILE Keep only symbols listed in FILE
-rpath PATH Set runtime shared library search path
-rpath-link PATH Set link time shared library search path
-shared, -Bshareable Create a shared library
-pie, --pic-executable Create a position independent executable
--sort-common Sort common symbols by size
--spare-dynamic-tags COUNT How many tags to reserve in .dynamic section
--split-by-file [=SIZE] Split output sections every SIZE octets
--split-by-reloc [=COUNT] Split output sections every COUNT relocs
--stats Print memory usage statistics
--target-help Display target specific options
--task-link SYMBOL Do task level linking
--traditional-format Use same format as native linker
--section-start SECTION=ADDRESS
Set address of named section
-Tbss ADDRESS Set address of .bss section
-Tdata ADDRESS Set address of .data section
-Ttext ADDRESS Set address of .text section
--unresolved-symbols=<method>
How to handle unresolved symbols. <method> is:
ignore-all, report-all, ignore-in-object-files,
ignore-in-shared-libs
--verbose Output lots of information during link
--version-script FILE Read version information script
--version-exports-section SYMBOL
Take export symbols list from .exports, using
SYMBOL as the version.
--warn-common Warn about duplicate common symbols
--warn-constructors Warn if global constructors/destructors are seen
--warn-multiple-gp Warn if the multiple GP values are used
--warn-once Warn only once per undefined symbol
--warn-section-align Warn if start of section changes due to alignment
--warn-unresolved-symbols Report unresolved symbols as warnings
--error-unresolved-symbols Report unresolved symbols as errors
--fatal-warnings Treat warnings as errors
--whole-archive Include all objects from following archives
--add-needed Set DT_NEEDED tags for DT_NEEDE
没有合适的资源?快使用搜索试试~ 我知道了~
SGOS操作系统(国产)(附源码)
共442个文件
o:139个
c:107个
h:63个
4星 · 超过85%的资源 需积分: 10 123 下载量 186 浏览量
2007-07-16
09:53:34
上传
评论 2
收藏 2.89MB RAR 举报
温馨提示
SGOS是开源的国产PC操作系统。<br>SGOS是由几个编程达人编写的很简单的操作系统,据说支持exe程序,还有半透明窗口。大家学习一下。主页:http://www.sgos.org.cn/
资源推荐
资源详情
资源评论
收起资源包目录
SGOS操作系统(国产)(附源码) (442个子文件)
libstdc++.a 1.02MB
libtstdll.a 49KB
I386.asm 8KB
Head.Asm 5KB
MutiBoot.asm 1KB
RealMode.asm 691B
jump.asm 179B
TextBox.cpp.bak 14KB
BaseWindow.cpp.bak 6KB
VScrollBar.cpp.bak 6KB
hd.c.bak 6KB
Form.cpp.bak 5KB
ApiDef.h.bak 5KB
SystemCall.c.bak 4KB
Label.cpp.bak 3KB
Window.cpp.bak 3KB
Message.c.bak 3KB
main.cpp.bak 3KB
main.cpp.bak 2KB
Button.cpp.bak 2KB
Start.c.bak 2KB
MessageBox.cpp.bak 2KB
Message.cpp.bak 977B
Application.cpp.bak 577B
Message.h.bak 290B
Application.h.bak 194B
Debug GUI.bat 151B
Debug Kernel.bat 146B
Run.bat 123B
Bochs Run.bat 77B
Bochs Debug.bat 73B
bios.bin 64KB
vgabios-cirrus.bin 32KB
Mutiboot.bin 16KB
hd.bxrc 1KB
Jpeg.c 23KB
Pci.c 21KB
Paging.c 20KB
WindowRedraw.c 15KB
File.c 12KB
Vbe.c 10KB
SoundBlaster.c 10KB
HardDisk.c 9KB
Fat16.c 9KB
Atapi.c 9KB
Memory.c 8KB
Loader.c 8KB
Window.c 8KB
string.c 8KB
string.c 8KB
string.c 8KB
Fat32.c 7KB
Process.c 7KB
Keyboard.c 7KB
Dma.c 7KB
WinMessage.c 7KB
Pipe.c 6KB
Module.c 6KB
hd.c 6KB
vsprintf.c 6KB
vsprintf.c 5KB
vsprintf.c 5KB
Computer.c 5KB
Draw.c 5KB
Clock.c 5KB
Irq.c 4KB
Text.c 4KB
Mouse.c 4KB
Isr.c 4KB
Protect.c 4KB
File.c 4KB
Blit.c 4KB
SystemCall.c 4KB
Memory.c 4KB
Region.c 3KB
osApi.c 3KB
AlphaBlend.c 3KB
Message.c 3KB
Buffer.c 3KB
GfxMain.c 3KB
malloc.c 3KB
BmPicture.c 3KB
Device.c 3KB
Debug.c 3KB
ctype.c 2KB
DirtyRectangle.c 2KB
Display.c 2KB
I386Process.c 2KB
Font.c 2KB
Bitmap.c 2KB
Start.c 2KB
init.c 2KB
MaskBlit.c 2KB
Binary.c 2KB
Process.c 2KB
Atom.c 2KB
Mouse.c 1KB
Console.c 1KB
Atom.c 1KB
WindowSystem.c 1KB
共 442 条
- 1
- 2
- 3
- 4
- 5
资源评论
- 西北浪子2014-07-16我怎么运行不了?
- caike01182014-11-29开源的国产PC操作系统,感觉还不错,正在尝试中,值得仔细分析
ldragon08
- 粉丝: 0
- 资源: 1
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- IMG_20240425_190941.jpg
- 基于stm32的pid控制算法附带串口控制台
- 实验项目一:线性表(模板 ).docx
- 基于LM317A设计交流220V输入可调5V-12V直流输出稳压电源电路multisim10仿真源文件.zip
- Screenshot_2024-04-25-17-04-18-55_2332cb9b27b851b548ba47a91682926c.jpg
- -基于AVR单片机的LNG加液机控制器设计.pdf
- ThePowerOfNow-EckhartTolle.mobi
- BLOCK_TYPE_HEARTBEAT_D70A3465D4EE4E9_046141_dump_1st.dmp
- 项目方法测试调用接口工具
- studyupdate
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功