linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* Is GCC >= 3.1 available for ELDK ? (or other means to compile Ada code)
@ 2003-06-06  8:56 ARIBAUD Albert
  2003-06-06 11:34 ` Detlev Zundel
  0 siblings, 1 reply; 5+ messages in thread
From: ARIBAUD Albert @ 2003-06-06  8:56 UTC (permalink / raw)
  To: Linuxppc-Embedded (E-mail)


Hi,

Here at work I've been asked to get some Ada code ported on an embedded, MPC855T-based platform using ELDK 2.02.

By the look of it, there are no major risks with repsect to the scheduler or libraries or performance; the only problem is getting to compile Ada code.

GCC supports Ada from version 3.1.1 up, but ELDK 2.0.2 features 2.95.4.

Is there a version of GCC >= 3.1.1 prepackaged for ELDK?

Thanks in advance,

Albert.

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

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

* Re: Is GCC >= 3.1 available for ELDK ? (or other means to compile Ada code)
  2003-06-06  8:56 Is GCC >= 3.1 available for ELDK ? (or other means to compile Ada code) ARIBAUD Albert
@ 2003-06-06 11:34 ` Detlev Zundel
  2003-06-18 17:04   ` John Zhou
  0 siblings, 1 reply; 5+ messages in thread
From: Detlev Zundel @ 2003-06-06 11:34 UTC (permalink / raw)
  To: linuxppc-embedded


Hello Albert,

> Here at work I've been asked to get some Ada code ported on an
> embedded, MPC855T-based platform using ELDK 2.02.
>
> By the look of it, there are no major risks with repsect to the
> scheduler or libraries or performance; the only problem is getting
> to compile Ada code.
>
> GCC supports Ada from version 3.1.1 up, but ELDK 2.0.2 features 2.95.4.
>
> Is there a version of GCC >= 3.1.1 prepackaged for ELDK?

Short answer - no.

The ELDK still contains the reliable 2.95.4 compiler + associated
binutils because there were several problems with the >=3.0 toolchains
on the ppc platform.  To check the situation, I recently compiled gcc
3.2.2 + binutils 2.13 as a cross-compiler for the 8xx platform without
major problems out of the box.  A linux kernel compiled with the setup
ran with no noticeable difficulties so I am pretty confident that
the setup is stable for that platform.

The only reason that there is no pre-packaged gcc >= 3.1 for the ELDK
is the well known 24h/day limit and the fact that no customer demanded
a newer gcc as yet.

Hope that helps
  Detlev

--
Spelling is a lossed art


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

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

* RE: Is GCC >= 3.1 available for ELDK ? (or other means to compile Ada code)
  2003-06-06 11:34 ` Detlev Zundel
@ 2003-06-18 17:04   ` John Zhou
  2003-06-18 18:04     ` Conn Clark
  2003-06-18 18:56     ` Wolfgang Denk
  0 siblings, 2 replies; 5+ messages in thread
From: John Zhou @ 2003-06-18 17:04 UTC (permalink / raw)
  To: linuxppc-embedded; +Cc: 'Detlev Zundel'


Hi,

Does anybody know where I can get the document or manual about PowerPC assembly language ("as") ?

Thanks in advance!

Regards,
Zhou

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

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

* Re: Is GCC >= 3.1 available for ELDK ? (or other means to compile Ada code)
  2003-06-18 17:04   ` John Zhou
@ 2003-06-18 18:04     ` Conn Clark
  2003-06-18 18:56     ` Wolfgang Denk
  1 sibling, 0 replies; 5+ messages in thread
From: Conn Clark @ 2003-06-18 18:04 UTC (permalink / raw)
  To: zjzhou; +Cc: May Ling List


John Zhou wrote:
> Hi,
>
> Does anybody know where I can get the document or manual about PowerPC assembly language ("as") ?
>
> Thanks in advance!
>
> Regards,
> Zhou
>
>
>
>
Hi John,


Here is a good starting point

http://www-106.ibm.com/developerworks/library/l-ppc/?t=gr,lnxw09=PowPC

Here is an IBM PDF file (600+ page book) on PowerPC assembly lang

http://www-3.ibm.com/chips/techlib/techlib.nsf/techdocs/852569B20050FF778525699600719DF2

Here is an IBM PDF compiler writers guide on PPC asm tuning etc.

http://www-3.ibm.com/chips/techlib/techlib.nsf/techdocs/852569B20050FF7785256996007558C6


Here is a good starting point for Linux based asm (mostly x86)
http://linuxassembly.org/


	The most useful thing I can recomend is using these books/guides as a
reference and compiling c source code with the GCC flag  --save-temps to
generate assembly source from c code. This not only gives you a good
idea of what the assembly code is doing, but lets you analyze and refine
your C coding technique and practices to generate the best code.

Good Luck

Conn
--

*****************************************************************
   If you live at home long enough, your parents will move out.
  (Warning they may try to sell their house out from under you.)
*****************************************************************

Conn Clark
Engineering Stooge				clark@esteem.com
Electronic Systems Technology Inc.		www.esteem.com


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

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

* Re: Is GCC >= 3.1 available for ELDK ? (or other means to compile Ada code)
  2003-06-18 17:04   ` John Zhou
  2003-06-18 18:04     ` Conn Clark
@ 2003-06-18 18:56     ` Wolfgang Denk
  1 sibling, 0 replies; 5+ messages in thread
From: Wolfgang Denk @ 2003-06-18 18:56 UTC (permalink / raw)
  To: zjzhou; +Cc: linuxppc-embedded


In message <000501c335bb$b5d94f20$7d395fd3@john> you wrote:
>
> Does anybody know where I can get the document or manual about PowerPC assembly language ("as") ?

Tha info pages for the GNU  assembler  "as"  are  installed  on  your
system.

The native "as" info files can be found in /usr/share/info/as.info*

If you installed the ELDK in the default  directory  (/opt/eldk)  you
can  find  the  versions  for  the  cross  assembler  for  example in
/opt/eldk/ppc_8xx/usr/share/info/as.info*

Note however that this is not  a  "manual"  about  "PowerPC  assembly
language".


As where to find this -  did  you  by  any  chance  enter  the  words
"PowerPC assembly language" into Google search?


Wolfgang Denk

--
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd@denx.de
You have the capacity to learn from  mistakes.  You'll  learn  a  lot
today.

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

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

end of thread, other threads:[~2003-06-18 18:56 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-06-06  8:56 Is GCC >= 3.1 available for ELDK ? (or other means to compile Ada code) ARIBAUD Albert
2003-06-06 11:34 ` Detlev Zundel
2003-06-18 17:04   ` John Zhou
2003-06-18 18:04     ` Conn Clark
2003-06-18 18:56     ` 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).