I'm confused about the usage of crt0.s in newlib.
Cliff
timntsai@pchome.com.tw
Fri Mar 9 01:49:00 GMT 2001
Hi:
ÃÂ ÃÂ ÃÂ When building,the makefile
shows that /sys/crt0.s
ÃÂ ÃÂ ÃÂ is linked into libraries.And
after libc.a lim.a is
ÃÂ ÃÂ ÃÂ created,we can link functions in theses
library like
ÃÂ ÃÂ ÃÂ this.
ÃÂ ÃÂ ÃÂ ÃÂ $crossgcc -oÃÂ xxx.exe crt0.o
xxxtest.o -lc -lm ...
ÃÂ ÃÂ ÃÂ
ÃÂ ÃÂ ÃÂ My question is:
ÃÂ ÃÂ ÃÂ 1.What's the
difference in these two crt0.s
ÃÂ ÃÂ ÃÂ 2.WhyÃÂ newlibÃÂ still need a
crt0.s
ÃÂ
ÃÂ ÃÂ ÃÂ Thanks a
lot!ÃÂ ÃÂ ÃÂ ÃÂ
ÃÂ
ÃÂ ÃÂ ÃÂ ÃÂ
More information about the Newlib
mailing list