Tzafrir Cohen wrote:
On Wed, 4 Sep 2002, Oded Arbel wrote:

  
I tried to recompile OpenSSL for my Penitum 4 - apparently it wasn't
that easy. supposedly Iwould just need to rpm -bb --target pentium4 on
my linux, but apparently the OpenSSL configure script always sets -m486
unless 386 was specificly required. a couple of modified Makefile lines
later OpenSSL was compiling with -march=pentium4, but that was not the
end of it. after the RPM package was built, I of course tried to install
it, only to get this :
package openssl-0.9.6g-1mdk is for a different architecture
    

Have a look at /usr/lib/rpm/rpmrc

There is a large "compatibility" section. IIRC the the optimization flags
for each arch are defined there.

There are a number of x86 sub-archtectures there.
I know - it didn't really have a pentiuim4 architecture, I had to create it by myself. but OpenSSL still sets -m486 : the configure script does not detect the processor version, and the only way to tell it what to use is to choose between forcing a 386 arch and going with the default (486).

 
--
Oded

::..
"Never offend people with style when you can offend them with substance." 
	-- Sam Brown 

Reply via email to