This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.
See the CrossGCC FAQ for lots more information.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Hi. I have got a cross-gcc and cross-gdb ( Thank all helped me ) . Now I want to build really a program for mips (IDT 79RC32332 ). But now I don't know which crt0.o I should use. It seemed too many crt0.o. That the result of the command : csh/find /home/yliu/local -name crt0.o /home/yliu/local/mipself/mips-elf/lib/soft-float/el/mips3/crt0.o /home/yliu/local/mipself/mips-elf/lib/soft-float/el/crt0.o /home/yliu/local/mipself/mips-elf/lib/soft-float/mips3/crt0.o /home/yliu/local/mipself/mips-elf/lib/soft-float/crt0.o /home/yliu/local/mipself/mips-elf/lib/single/el/mips3/crt0.o /home/yliu/local/mipself/mips-elf/lib/single/el/crt0.o /home/yliu/local/mipself/mips-elf/lib/single/mips3/crt0.o /home/yliu/local/mipself/mips-elf/lib/single/crt0.o /home/yliu/local/mipself/mips-elf/lib/el/mips3/crt0.o /home/yliu/local/mipself/mips-elf/lib/el/crt0.o /home/yliu/local/mipself/mips-elf/lib/mips3/crt0.o So now these are my questions: 1. How can I know which files I should use (crt0.o , crtbegin.o ,...) ? 2. What shall I do specially for debugging(Gdb5.0) . 3. Where is the interface with the low level functions ? In the libgloss? 4. Next step I will use the IDT79s332 evaluation board , are there any advices for me? Too many questions , :-) . Would you mind tell me where can find the answer? Maybe I need the doc really. These is what have done and result : csh/ mips-elf-gcc -c hello.c csh/ mips-elf-ld -L /home/yliu/local/mipself/lib/gcc-lib/mips-elf/2.95.3/ -o hello hello.o -lgcc -lc -v mips-elf-ld: warning: cannot find entry symbol _start ; defaulting to 0000000000400000 csh/ gdb hello (exec-file hello ; run ) (gdb) don't how to run . Try " help target" I don't know how to fix it. I think it is generated by no crt0.o used , am I right? Or what shall I do ? Thanks. Best Regards. Yong Liu ------ Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/ Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |