On Tue, Jul 11, 2017 at 06:06:26PM -0500, Andrés Becerra Sandoval wrote:
>    Hello,
> 
>    I want to use a build host to create packages for a L402N Asus laptop.
> 
>    % grep -m1 -A3 "vendor_id" /proc/cpuinfo
>    vendor_id       : GenuineIntel
>    cpu family      : 6
>    model           : 92
>    model name      : Intel(R) Celeron(R) CPU N3350 @ 1.10GHz
> 
>    intel has this specs:
>    
> [1]http://ark.intel.com/products/95598/Intel-Celeron-Processor-N3350-2M-Cache-up-to-2_4-GHz
> 
>    and, in the following website:
> 
>     [2]https://en.wikichip.org/wiki/intel/celeron/n3350
> 
>    ​It says that the microarchitecture is apollo-lake.
> 
>    What would be the proper marc​h configuration for this box?
> 

Hi,

if you have Gentoo already installed on the box, make sure that you
configured the same compiler version as on the build host (gcc-config)
and then run:
gcc -### -march=native -E /usr/include/stdlib.h 2>&1 | grep
"/usr/libexec/gcc/.*cc1"

Everything after "-march=..." should be what your gcc version would use
when using march=native on the laptop.

WKR Hinnerk

Reply via email to