1 |
On Tue, Jul 11, 2017 at 06:06:26PM -0500, Andrés Becerra Sandoval wrote: |
2 |
> Hello, |
3 |
> |
4 |
> I want to use a build host to create packages for a L402N Asus laptop. |
5 |
> |
6 |
> % grep -m1 -A3 "vendor_id" /proc/cpuinfo |
7 |
> vendor_id : GenuineIntel |
8 |
> cpu family : 6 |
9 |
> model : 92 |
10 |
> model name : Intel(R) Celeron(R) CPU N3350 @ 1.10GHz |
11 |
> |
12 |
> intel has this specs: |
13 |
> [1]http://ark.intel.com/products/95598/Intel-Celeron-Processor-N3350-2M-Cache-up-to-2_4-GHz |
14 |
> |
15 |
> and, in the following website: |
16 |
> |
17 |
> [2]https://en.wikichip.org/wiki/intel/celeron/n3350 |
18 |
> |
19 |
> It says that the microarchitecture is apollo-lake. |
20 |
> |
21 |
> What would be the proper march configuration for this box? |
22 |
> |
23 |
|
24 |
Hi, |
25 |
|
26 |
if you have Gentoo already installed on the box, make sure that you |
27 |
configured the same compiler version as on the build host (gcc-config) |
28 |
and then run: |
29 |
gcc -### -march=native -E /usr/include/stdlib.h 2>&1 | grep |
30 |
"/usr/libexec/gcc/.*cc1" |
31 |
|
32 |
Everything after "-march=..." should be what your gcc version would use |
33 |
when using march=native on the laptop. |
34 |
|
35 |
WKR Hinnerk |