* mips64 crosstool
@ 2005-07-12 18:15 Bryan Althouse
2005-07-13 4:41 ` Maxim Osipov
0 siblings, 1 reply; 6+ messages in thread
From: Bryan Althouse @ 2005-07-12 18:15 UTC (permalink / raw)
To: 'Linux/MIPS Development'
Is anyone using crosstool to produce a 64 bit mips compiler?
I need to produce a gcc that will accept the -mabi=64 option. I have been
able to generate a 32bit gcc with crosstool, using
TARGET=mips-unknown-linux-gnu. Must I change this to
TARGET=mips64-unkown-linux-gnu to create a 64bit compiler? I have tried
this, but crosstool will fail. It appears as if -mabi=n32 is passed to the
native gcc during the build-glibc-headers step. This of course causes the
native gcc to give up.
Are there any patches for mips64 tool chain build?
Thanks to all.
Bryan
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: mips64 crosstool
2005-07-12 18:15 mips64 crosstool Bryan Althouse
@ 2005-07-13 4:41 ` Maxim Osipov
2005-07-18 18:53 ` Bryan Althouse
2005-07-18 19:00 ` Bryan Althouse
0 siblings, 2 replies; 6+ messages in thread
From: Maxim Osipov @ 2005-07-13 4:41 UTC (permalink / raw)
To: Bryan Althouse; +Cc: Linux/MIPS Development
When I was looking at crosstool, it had problems with miltiarch
support for mips. If you want to produce mips64 only tools, you'll
need patches from Maciej which are not there also. And take a look
into build matrix :)
Conclusion - mips is not very well supported in crosstool.
BR,
Maxim
On 7/12/05, Bryan Althouse <bryan.althouse@3phoenix.com> wrote:
>
> Is anyone using crosstool to produce a 64 bit mips compiler?
>
> I need to produce a gcc that will accept the -mabi=64 option. I have been
> able to generate a 32bit gcc with crosstool, using
> TARGET=mips-unknown-linux-gnu. Must I change this to
> TARGET=mips64-unkown-linux-gnu to create a 64bit compiler? I have tried
> this, but crosstool will fail. It appears as if -mabi=n32 is passed to the
> native gcc during the build-glibc-headers step. This of course causes the
> native gcc to give up.
>
> Are there any patches for mips64 tool chain build?
>
> Thanks to all.
> Bryan
>
>
>
>
>
^ permalink raw reply [flat|nested] 6+ messages in thread
* RE: mips64 crosstool
2005-07-13 4:41 ` Maxim Osipov
@ 2005-07-18 18:53 ` Bryan Althouse
2005-07-18 18:53 ` Bryan Althouse
2005-07-18 19:00 ` Bryan Althouse
1 sibling, 1 reply; 6+ messages in thread
From: Bryan Althouse @ 2005-07-18 18:53 UTC (permalink / raw)
Cc: 'Linux/MIPS Development'
Many thanks to everyone who has helped me on this issue.
I ended up abandoning the crosstool approach. It supports mips32 well, but
not mips64. Linux from scratch has a very good step by step procedure for
building a tool chain for mips64. I was able to build with very little
headaches. Unfortunately, I have not yet been able to execute any programs
compiled with the tool chain. I'm not sure where I went wrong.
PMC sierra is working on an update for their tool chain. They have supplied
me with a "beta" version tool chain that has solved my problems. Now, I am
able to compile with -mabi=64 and -lpthread. The executable no longer
Segfaults. Since I'm past this problem, I will probably not spend much more
time trying to build a working tool chain.
Bryan
^ permalink raw reply [flat|nested] 6+ messages in thread
* RE: mips64 crosstool
2005-07-18 18:53 ` Bryan Althouse
@ 2005-07-18 18:53 ` Bryan Althouse
0 siblings, 0 replies; 6+ messages in thread
From: Bryan Althouse @ 2005-07-18 18:53 UTC (permalink / raw)
Cc: 'Linux/MIPS Development'
Many thanks to everyone who has helped me on this issue.
I ended up abandoning the crosstool approach. It supports mips32 well, but
not mips64. Linux from scratch has a very good step by step procedure for
building a tool chain for mips64. I was able to build with very little
headaches. Unfortunately, I have not yet been able to execute any programs
compiled with the tool chain. I'm not sure where I went wrong.
PMC sierra is working on an update for their tool chain. They have supplied
me with a "beta" version tool chain that has solved my problems. Now, I am
able to compile with -mabi=64 and -lpthread. The executable no longer
Segfaults. Since I'm past this problem, I will probably not spend much more
time trying to build a working tool chain.
Bryan
^ permalink raw reply [flat|nested] 6+ messages in thread
* RE: mips64 crosstool
2005-07-13 4:41 ` Maxim Osipov
2005-07-18 18:53 ` Bryan Althouse
@ 2005-07-18 19:00 ` Bryan Althouse
2005-07-18 19:00 ` Bryan Althouse
1 sibling, 1 reply; 6+ messages in thread
From: Bryan Althouse @ 2005-07-18 19:00 UTC (permalink / raw)
To: <unlisted-recipients; +Cc: 'Linux/MIPS Development'
Many thanks to everyone who has helped me on this issue.
I ended up abandoning the crosstool approach. It supports mips32 well, but
not mips64. Linux from scratch has a very good step by step procedure for
building a tool chain for mips64. I was able to build with very little
headaches. Unfortunately, I have not yet been able to execute any programs
compiled with the tool chain. I'm not sure where I went wrong.
PMC sierra is working on an update for their tool chain. They have supplied
me with a "beta" version tool chain that has solved my problems. Now, I am
able to compile with -mabi=64 and -lpthread. The executable no longer
Segfaults. Since I'm past this problem, I will probably not spend much more
time trying to build a working tool chain.
Bryan
^ permalink raw reply [flat|nested] 6+ messages in thread
* RE: mips64 crosstool
2005-07-18 19:00 ` Bryan Althouse
@ 2005-07-18 19:00 ` Bryan Althouse
0 siblings, 0 replies; 6+ messages in thread
From: Bryan Althouse @ 2005-07-18 19:00 UTC (permalink / raw)
To: unlisted-recipients, no ; +Cc: 'Linux/MIPS Development'
Many thanks to everyone who has helped me on this issue.
I ended up abandoning the crosstool approach. It supports mips32 well, but
not mips64. Linux from scratch has a very good step by step procedure for
building a tool chain for mips64. I was able to build with very little
headaches. Unfortunately, I have not yet been able to execute any programs
compiled with the tool chain. I'm not sure where I went wrong.
PMC sierra is working on an update for their tool chain. They have supplied
me with a "beta" version tool chain that has solved my problems. Now, I am
able to compile with -mabi=64 and -lpthread. The executable no longer
Segfaults. Since I'm past this problem, I will probably not spend much more
time trying to build a working tool chain.
Bryan
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2005-07-18 19:00 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-07-12 18:15 mips64 crosstool Bryan Althouse
2005-07-13 4:41 ` Maxim Osipov
2005-07-18 18:53 ` Bryan Althouse
2005-07-18 18:53 ` Bryan Althouse
2005-07-18 19:00 ` Bryan Althouse
2005-07-18 19:00 ` Bryan Althouse
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox