Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I'm building a few packages from source and wondering what the correct --build=? is for Debian (or Ubuntu), if any?

When I run config.guess manually, the return value is x86_64-unknown-linux-gnu. The same is returned when omitting --build during any ./configure I've tried.

When I specify --build=x86_64-linux-gnu (which I found by snooping around Debian's PHP build source), my compiler is showing x86_64-pc-linux-gnu on the screen as it compiles.

I see a few directories named x86_64-linux-gnu on my system:

share|improve this question

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.