| | ___cmpsi2 Eric Swalens
|
| | Using a multiplication between an int (in my case time_t) and a double number results in the following error: main.o(.text+0x72):main.c: undefined reference to `___cmpsi2' Can someone help me? I'm running egcs 1.1.2 and binutils 2.12. Eric (23 years ago, 9-May-02, to lugnet.robotics.rcx.legos)
|
| | |
| | | | Re: ___cmpsi2 Michael Obenland
|
| | | | (...) cmpsi2 is part of the libmint.a library. Would you please post (or send me) your source code and your Makefile? Regards, Mike (23 years ago, 9-May-02, to lugnet.robotics.rcx.legos)
|
| | | | |
| | | | | | Re: ___cmpsi2 Eric Swalens
|
| | | | (...) I don't find cmpsi2 in the sources of LegOS 0.2.5 (in lib/mint)! I found a _cmpsi2.o in libgcc.a (from egcs 1.1.2), but I really don't know how gcc (and ld) uses that library. The makefiles come from the LegOS tarball. According to the output, (...) (23 years ago, 9-May-02, to lugnet.robotics.rcx.legos)
|
| | | | |
| | | | | | Re: ___cmpsi2 Michael Obenland
|
| | | | (...) Had to look myself to belive it. But you are right, cmpsi2 is in the 0.2.6 system, but not in the 0.2.5 system. (...) No, that are the wrong ones. You need the lib functions for the cross compiled code. libgcc.a is code that gcc needs on your (...) (23 years ago, 9-May-02, to lugnet.robotics.rcx.legos)
|
| | | | |
| | | | | | Re: ___cmpsi2 Kekoa Proudfoot
|
| | | | | (...) How did *that* happen?!!?!? Just curious. Somebody should point a finger, just for yuks. -Kekoa (23 years ago, 9-May-02, to lugnet.robotics.rcx.legos)
|
| | | | | |
| | | | | | | Re: ___cmpsi2 Michael Obenland
|
| | | | | | (...) Don't know. Just made a quick download from sourceforge. Didn't install, just looked through with mc. Seems that in the mint-lib, both cmp2-files are missing. And no printf in the c library path. Regards, Michael (23 years ago, 9-May-02, to lugnet.robotics.rcx.legos)
|
| | | | | | |
| | | | | | Re: ___cmpsi2 Eric Swalens
|
| | | | (...) OK, I planned to test 0.2.6; this is the right moment to do it. (...) Do you know why? (I'm just curious) (...) Thank you very much. This was really important to me. Eric (23 years ago, 9-May-02, to lugnet.robotics.rcx.legos)
|
| | | | |