This is the mail archive of the crossgcc@cygnus.com mailing list for the crossgcc project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Hi, I am doing a cross compile from i586-unknown-linux to arm-linux-aout. I built binutil-2.9.1.0.7 for arm-linux-aout. I then unzipped gcc-2.7.2.2 and patched it with the 2.7.2.2 crossgcc patch. When I make gcc, the make file quits when it can't make libgcc1.a. So I have to make libgcc1.a manually. Then when I do the make, I get: /bitbucket/cheng2/build-gcc/../gcc-2.7.2.2/libgcc1-test.c:20: undefined reference to `__divsi3' /bitbucket/cheng2/build-gcc/../gcc-2.7.2.2/libgcc1-test.c:21: undefined reference to `__modsi3' /bitbucket/cheng2/build-gcc/../gcc-2.7.2.2/libgcc1-test.c:23: undefined reference to `__udivsi3' /bitbucket/cheng2/build-gcc/../gcc-2.7.2.2/libgcc1-test.c:24: undefined reference to `__umodsi3' They are defined in libgcc1.cross, because when I do nm libgcc1.cross: _udivsi3.o: 00000000 T __udivsi3 00000000 t gcc2_compiled. _divsi3.o: 00000000 T __divsi3 00000000 t gcc2_compiled. _umodsi3.o: 00000000 T __umodsi3 00000000 t gcc2_compiled. _modsi3.o: 00000000 T __modsi3 00000000 t gcc2_compiled. Any idea on why the make of gcc is quiting and how do I fix it? Thanks ------------------ _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ _/ Cheng Cheng /_/ _/ M.I.T. Email: cheng2@mit.edu /_/ _/ Homepage: http://web.mit.edu/cheng2/www/ /_/ _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/