On Tuesday 21 April 2009 00:49:23 Jeff Gilchrist wrote: > On Mon, Apr 20, 2009 at 3:35 PM, Jason Moxham <[email protected]> wrote: > >> cc -c jeff32.s jeff32.c gives no errors > >> but linking it does. gcc gives errors as well. > > > > that because your gcc is 64 bit > > Of course, should have thought of that. > > > gcc on a 32bit K7 compiles those files you attached No problem > > > > gmp-4.3.0 config.guess does the same thing , can you see what files it > > creates > > gmp has a two-stage system at the end. It generates two different .s > files, first it tries: > cc dummy-278371.s dummy-278372.c -o dummy > > If that fails (which it does and looks similar to the mpir > config.guess output) it tries the other .s file: > cc dummy-278370.s dummy-278372.c -o dummy > > which succeeds. Running the binary returns "core2". I will attach > both .s and the .c file for you to look at. > > Jeff. >
Your attatched gmp dummy32bit asm file is exactly the same as mpir dummy32bit asm file , so it must be either our C file , which has only one main , or how we call the compiler , again exactly the same as gmp I have NO IDEA whats going on Help Jason > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "mpir-devel" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/mpir-devel?hl=en -~----------~----~----~----~------~----~------~--~---
