linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Jim Potter <jrp@wvi.com>
To: Greg Allen <gallen@arlut.utexas.edu>
Cc: linuxppc-dev@lists.linuxppc.org
Subject: Re: CodeWarrior objects -> LinuxPPC
Date: Thu, 13 Jan 2000 17:35:15 -0800	[thread overview]
Message-ID: <387E7D52.41DA6E45@wvi.com> (raw)
In-Reply-To: v04011700b4a419989df1@[129.116.196.236]


I presume that you mean CW on MacOS.
They generate PEF files, the details of which are described on Apple's developer
site:
<http://developer.apple.com/techpubs/mac/runtimehtml/RTArch-89.html>
and there is some code (IOPEFloader.c, if memory serves) on Apples darwin site:
<http://publicsource.apple.com/projects/darwin/>
..Jim..

Greg Allen wrote:

> Is it possible compile C source in CodeWarrior and create an object (or
> library) that can be used under LinuxPPC?
>
> For example, you should be able to take a really simple program, like:
>
> #include <stdio.h>
> void goo(float f)
> { printf("goo: f = %g\n", f); }
>
> make an object in CW, copy to LinuxPPC, link it with gcc into some app that
> can call goo.
>
> (Why? CW has an AltiVec compiler, Linux currently has none.)
>
> I notice that a CW "Shared Library" is recognized by /usr/bin/file as
> "header for PowerPC PEF executable", but objdump will have nothing to do
> with it.
>
> My initial guess is "not yet".  Has anyone else ever tried this?
>
> I guess there's no reason that objcopy couldn't be extended to handle this
> (assuming CodeWarrior's object/lib file formats are public info).
>
> Thanks,
> -Greg
> --------------------------------------------------------------------
> |  Gregory E. Allen, Research Engineer  <gallen@arlut.utexas.edu>  |
> |   Advanced Technology Laboratory, Sonar Development Division     |
> | Applied Research Laboratories: The University of Texas at Austin |
> --------------------------------------------------------------------

--
Sincerely,

Jim Potter
45th Parallel Processing
503.769.9138
jrp@wvi.com


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

  parent reply	other threads:[~2000-01-14  1:35 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-01-14  0:32 CodeWarrior objects -> LinuxPPC Greg Allen
2000-01-13 20:39 ` David Riley
2000-01-14  1:29 ` Timothy Wall
2000-01-14  1:35 ` Jim Potter [this message]
2000-01-14  1:48 ` Tony Mantler
2000-01-14  2:01   ` David Edelsohn

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=387E7D52.41DA6E45@wvi.com \
    --to=jrp@wvi.com \
    --cc=gallen@arlut.utexas.edu \
    --cc=linuxppc-dev@lists.linuxppc.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).