Jump to content

Mandrake a la Gentoo


jlc
 Share

Recommended Posts

so what exactly is the problem? do rpms not rebuild at all, do they not build with your specified optflags, or something else? i haven't tried using optflags in my .rpmrc, but i have no problem building rpms. check the mandrake rpm howto to verify that your .rpmrc and .rpmmacros files are good

Link to comment
Share on other sites

I guess it would have helped if I dropped some info in.

 

The files look good, but there not rebuilding to my standards. Instead of Athlon, it appears to be using the old i586 initial setup.

Link to comment
Share on other sites

so you added a new line to the rpmrc file? like athlonxp or changed the athlon line?

 

as root did you:

rpm --rebuild --target athlon *.src.rpm

 

?

It works for me, i changed the existing athlon line adding flags for athlon-xp in the rpmrc file.

Link to comment
Share on other sites

my ~/.rpmrc looks like:

optflags: i586 -march=pentium3 -O3 -fomit-frame-pointer -pipe



buildarchtranslate: i386: i586

buildarchtranslate: i486: i586

buildarchtranslate: i586: i586

buildarchtranslate: i686: i586

for an athlon (i think) it should look something like:

optflags: athlon -march=athlon -O3 -fomit-frame-pointer -pipe



buildarchtranslate: i386: athlon

buildarchtranslate: i486: athlon

buildarchtranslate: i586: athlon

buildarchtranslate: i686: athlon

Link to comment
Share on other sites

Guest fubar::chi

sorry i've been out for a while but i did do this (and get it to work).

I wouldn't mess with any of the default setup's like johnnyv did or build as root since the ~/files will work.

All you have to do is put in your options -march=athlon-xp (if you have just athlon then -march=athlon) and then add whatever you want to .rpm* files. I added a different company name when i built mine just so i could distinguish between them in kpackage.

When building put in the --target athlon flag (not --target=athlon-xp like i did) and it will build for an athlon-xp and use the .rpmrc settings.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...