| delorie.com/archives/browse.cgi | search |
| From: | kccheng AT hep2 DOT phys DOT sinica DOT edu DOT tw (Kuang-Chun Cheng) |
| Newsgroups: | comp.os.msdos.djgpp |
| Subject: | linker script ? |
| Date: | 26 Dec 1996 05:56:29 GMT |
| Organization: | Computing Center, Academia Sinica |
| Lines: | 14 |
| Message-ID: | <59t42d$k31@gate.sinica.edu.tw> |
| NNTP-Posting-Host: | kccheng AT hep2 DOT phys DOT sinica DOT edu DOT tw |
| To: | djgpp AT delorie DOT com |
| DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Hi,
As djgpp FAQ said, the default linker script is c:/djgpp/lib/djgpp.lnk (
assume djgpp installed at c:/djgpp/). However, the following command gave me
different result:
ld -Tc:/djgpp/lib/djgpp.lnk -o test1 test.o
ld -o test2 test.o
test1 is smaller than test2. Could someone explain this? Thanks.
Btw, what does .bss (in asm code) stand for?
Kuang-chun Cheng
kccheng AT hep2 DOT phys DOT sinica DOT edu DOT tw
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |