Mandriva Expert
The place where your Mandriva Linux system finds support

Making *.i686.rpm or *.athlon.rpm from *.src

+/- details
User aart
Incident Number 24435
Date 2002/06/08 07:47
Status Incident closed
Paid No

Product 8.2
Architecture x86_32
Scope Installation

Products owned
Community Support question - to convert into a paid question, click here

Lines in bold below have not yet been seen by the customer - those in blue are from the customer

Username : Date : Action : Comments [ close all ]    
 
aart : 08/06/02 07:47 AM : Incident created
-   How do i make *.i686.rpm or *.athlon.rpm files from *.src.rpm files on Mandrake Linux 8.2

 
Linegod_7611 : 08/06/02 08:33 AM : Reply received
-   Use the '--target' switch with your rpm command:

rpm -bb whatever.spec --target i686

Type 'man rpm' for more info on build options.

-------
Note: If this answer resolves your problem, please remember to close this incident.

 
Linux-phased : 08/06/02 08:34 AM : More info requested
-   % CXXFLAGS="-march=athlon -mcpu=athlon" rpm --rebuild filename.src.rpm


For instance.

If this answer helped you please make sure you close this incident and rate
the expert.

 
Linux-phased : 08/06/02 08:36 AM : More info requested
-   Or rpm --rebuild --target athlon nameof.1mdk.src.rpm

Is good too.

 
aart : 08/06/02 11:19 PM : More info provided
-   Does this compile with i686 or athlon optimizations?
I intend to do this with the mandrake linux 8.2 kernel.src.rpm default uniprocessor kernel.
I have a 1200 MHZ AMD Duron processor. What is the best option the i686 or the athlon one?
Is the kernel to work fine after this process?
Thank you for your help.

 
Linux-phased : 08/06/02 11:22 PM : More info requested
-   Yes in that case build with:

rpm --rebuild --target athlon nameofkernel.src.rpm

It will build for Athlon/Duron

Make sure no errors at the build process occur before you run this kernel

 
aart : 09/06/02 12:15 AM : Incident closed
-  



This Incident is closed. It can not be edited anymore. You can create a new one by signing up/logging in your Mandriva Expert account.

  Mandriva  |  Contact  |  Legal  |  Privacy  |  Careers