linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* IBM405/Linux Cross compiler
@ 2002-06-29  3:45 Allen Curtis
  2002-06-29 19:51 ` Wolfgang Denk
  0 siblings, 1 reply; 2+ messages in thread
From: Allen Curtis @ 2002-06-29  3:45 UTC (permalink / raw)
  To: Ppc Embedded


I have tried to build a cross compiler for the IBM405 processor under
Linux/x86. After much playing, I have decided that the problem is not a
compiler or linker problem but rather a configuration/installation issue.
The problem that I am having is that there are some 403/405 specific
pneumonics that are not recognized by the assembler. (as installed) The
problem appears to be that the option:

	-mcpu=403		->		-mppc
			should be		-m403

I solved this by modifying the "specs" file.

1. Is this the right solution?  I used the configuration options:

	--target=powerpc-linux --with-cpu=403

2. How do you change the configuration utility so that the correct "specs"
file is generated? This was built using 2.95.3. Inspecting the GCC files, it
appears that 3.0.4 has the same problem.

3. Where can I find documentation on the "specs" file?

TIA


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: IBM405/Linux Cross compiler
  2002-06-29  3:45 IBM405/Linux Cross compiler Allen Curtis
@ 2002-06-29 19:51 ` Wolfgang Denk
  0 siblings, 0 replies; 2+ messages in thread
From: Wolfgang Denk @ 2002-06-29 19:51 UTC (permalink / raw)
  To: Allen Curtis; +Cc: Ppc Embedded


Dear Allen,

in message <NCBBIINEHIPFGJPLBEIFCEDLDJAA.acurtis@onz.com> you wrote:
>
> I have tried to build a cross compiler for the IBM405 processor under
> Linux/x86. After much playing, I have decided that the problem is not a
> compiler or linker problem but rather a configuration/installation issue.
> The problem that I am having is that there are some 403/405 specific
> pneumonics that are not recognized by the assembler. (as installed) The
> problem appears to be that the option:

You can download a complete and _working_ set  of  cross  and  native
tools  (our  ELDK = Embedded Linux Development Kit) for free; you can
also use our build scripts  and  patches  to  build  the  tools  from
scratch if you like - see the documentation at
http://www.denx.de/ELDK/

Hope this helps,

Wolfgang Denk

--
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd@denx.de
Business is like a wheelbarrow. Nothing ever happens until you  start
pushing.

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-06-29 19:51 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-06-29  3:45 IBM405/Linux Cross compiler Allen Curtis
2002-06-29 19:51 ` Wolfgang Denk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).