Compiling GLIBC under chroot

Justin P. Mattock justinmattock at gmail.com
Tue Oct 13 21:05:38 PDT 2009


Ken Turner wrote:
> When I try to compile the glibc-2.10.1 package I get the following error:
>
> error: bad value (switch) for -mtune= switch
>
> When I did my case statement before compiling, I added the parameter 
> -mtune=native. This is what is in the document.
>
> Has anyone encourtered this and what did you do resolve it?
>
> Thanks David
>
>
>
I ended up using -m64 -march=core2 -mtune=core2
(for an imac)
not sure what you have, but here have a look to figure your
processor:
http://gcc.gnu.org/onlinedocs/gcc/i386-and-x86_002d64-Options.html

Justin P. Mattock



More information about the lfs-support mailing list