View previous topic :: View next topic |
Author |
Message |
andi_s Apprentice
Joined: 10 Feb 2005 Posts: 226 Location: Germany
|
Posted: Sat Oct 12, 2013 2:28 pm Post subject: changing default stage3 CFLAGS fpu value (solved) |
|
|
hi,
is it safe to change the default stage3 CFLAGS in make.conf from
Code: |
CFLAGS="-O2 -pipe -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard"
|
to
Code: |
CFLAGS="-O2 -pipe -march=armv7-a -mfpu=neon -mfloat-abi=hard"
|
as my board has the more powerfull neon FPU ???
And if this is safe, will this setting increase the overall performance of the system or should i stick with the current CFLAGS settings and should simply set the neon useflag in make.conf?
Last edited by andi_s on Mon Oct 14, 2013 8:43 am; edited 1 time in total |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54596 Location: 56N 3W
|
Posted: Sat Oct 12, 2013 8:13 pm Post subject: |
|
|
andi_s,
You can test this fairly safely.
Look through the /usr/portage/scripts/bootstrap.sh script and make a not of the packages it builds.
quickpkg those packages, so you have binary tarballs. You can reinstall from these if the next stage goes wrong.
Edit your CFLAGS
Now run the /usr/portage/scripts/bootstrap.sh script.
You need to run the script with no breaks as I'm fairly sure it does not support resuming.
If this works, you have just done a stage1
If it fails, Code: | emerge -K list of binary packages | should reinstall your old binaries. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
andi_s Apprentice
Joined: 10 Feb 2005 Posts: 226 Location: Germany
|
Posted: Mon Oct 14, 2013 8:42 am Post subject: |
|
|
hi,
now i recompiled the whole system with the new CFLAGS and no issues so far...
many thanks for the useful instructions! |
|
Back to top |
|
|
|