Re: [SEToolkit-developer] Building 64bit binaries
Brought to you by:
dmichelsen
|
From: Dagobert M. <da...@ba...> - 2007-08-17 07:05:35
|
Hello Jon, Am 17.08.2007 um 05:00 schrieb Jon Craig: > Once I got past my gcc issues I noticed that the binaries/objects > being generated were 32bit. When I started toptool as a test I > noticed it complained about not being able to initialize libkvm. I > manually added a '-m64' to my Makefiles to force gcc to build 64bit > binaries and was immediately faced with not have a 64bit version of > libgcc. You do not a gcc build with 64 bit libraries, yes. If you don't want to go through the hassle of building that yourself you can use the one from blastwave which has 64 bit libraries: http://www.blastwave.org/filesearch/gcc3corert > Not wanting to work through building a 64 bit version of libgcc, I > instead resurected by SUN Studio 11 install and re-ran autoreconf to > setup for builds using SUNWspro. While successful, I noticed this too > built 32 bit objects. I again manually added "-xtarget=3Dgeneric64 > -xarch=3Dv9" to my "CFLAGS" line in the Makefile to force 64bit = builds. > This was successful, and comparing the ldd output between this new > build and a 3.4.1 version in /opt/RICHPse, they now match. That's how I make the package, so they really should match ;-) http://setoolkit.svn.sourceforge.net/viewvc/setoolkit/trunk/se/pkg/=20= Makefile?revision=3D23&view=3Dmarkup > Toptool starts like a champ and no longer displays the libkvm error. > If it would be of value I can continue forward with a GCC build, but > lacking an interest by others I would most likely just stick with > SUNWspro. I personally like the idea of being able to choose between gcc and Sun Studio, although I prefer the latter. If you are willing to work on those issues I'll be happy to commit that patch :-) Best regards -- Dagobert --=20 Dagobert Michelsen (Leiter IT) Baltic Online Computer GmbH Firmensitz: Alter Markt 1-2, 24103 Kiel, Telefon: +49 431 54003-0 Gesch=E4ftsf=FChrer: Erik Cickovskis, Amtsgericht Kiel, HRB 3756 "Of course computer servers don't need thrust, since they generally don't go anywhere." -- Comment in TR on new HP server turbine fans |