You are not logged in.

#1 2008-11-30 02:02:05

Ranguvar
Member
From: Our collective subconscious
Registered: 2008-08-12
Posts: 2,515
Website

[SOLVED] gcc -dumpmachine

Been meaning to ask about this for quite a while -- why does running 'gcc -dumpmachine' on 64-bit Arch result in 'x86_64-unknown-linux-gnu'? On all the other 64-bit distros I've tried, 'x86_64-pc-linux-gnu' is the output. And, could this ever cause issues?

Thanks!

Last edited by Ranguvar (2009-03-03 00:51:49)

Offline

#2 2008-11-30 14:42:33

nuttygamergeek
Member
Registered: 2008-11-24
Posts: 15

Re: [SOLVED] gcc -dumpmachine

I noticed this, it's set that way in /etc/makepkg.conf.

Offline

#3 2008-12-02 12:02:31

Ranguvar
Member
From: Our collective subconscious
Registered: 2008-08-12
Posts: 2,515
Website

Re: [SOLVED] gcc -dumpmachine

That's just what gets passed to makepkg, though.

Why, is my question?

Offline

#4 2009-03-01 04:15:04

Ranguvar
Member
From: Our collective subconscious
Registered: 2008-08-12
Posts: 2,515
Website

Re: [SOLVED] gcc -dumpmachine

Bump, I had forgotten about this post, but it's still bugging me.

Any devs know why unknown was chosen over pc?

Offline

#5 2009-03-02 16:17:47

Ranguvar
Member
From: Our collective subconscious
Registered: 2008-08-12
Posts: 2,515
Website

Re: [SOLVED] gcc -dumpmachine

Boomp. Any info, even if it's "we have no clue, it was just there" from Arch devs?

Offline

#6 2009-03-02 16:22:17

Allan
Developer
From: Brisbane, AU
Registered: 2007-06-09
Posts: 9,939
Website

Re: [SOLVED] gcc -dumpmachine

You might want to give AndyRTR (dev) a ping about this as he was one of the founders of the x86_64 port.

Offline

#7 2009-03-02 21:10:52

Ranguvar
Member
From: Our collective subconscious
Registered: 2008-08-12
Posts: 2,515
Website

Re: [SOLVED] gcc -dumpmachine

AFAIK i686 Arch has unknown instead of pc as well. One sec, I'll check.

EDIT: Nope, they get the logical "i686-pc-linux-gnu". I'll check with him, thanks.

Last edited by Ranguvar (2009-03-02 21:14:35)

Offline

#8 2009-03-02 21:15:05

Ramses de Norre
Member
From: Leuven - Belgium
Registered: 2007-03-27
Posts: 1,289

Re: [SOLVED] gcc -dumpmachine

Ranguvar wrote:

AFAIK i686 Arch has unknown instead of pc as well. One sec, I'll check.

EDIT: Nope, they get the logical "i686-pc-linux-gnu". I'll check with him, thanks.

I686 gives i686-pc-linux-gnu.

You edited just before I posted..

Last edited by Ramses de Norre (2009-03-02 21:15:37)

Offline

#9 2009-03-02 21:39:22

AndyRTR
Developer
From: Magdeburg/Germany
Registered: 2005-10-07
Posts: 1,616

Re: [SOLVED] gcc -dumpmachine

http://cross-lfs.org/view/1.1.0/x86_64- … ables.html

Arch64 is built after CLFS book and most configure scripts check for the "unknown" thingy wink

Offline

#10 2009-03-03 00:51:36

Ranguvar
Member
From: Our collective subconscious
Registered: 2008-08-12
Posts: 2,515
Website

Re: [SOLVED] gcc -dumpmachine

Okay, thanks smile

Offline

Board footer

Powered by FluxBB