[NTLUG:Discuss] cross-compile to vxworks (m68k) from linux
Seth Daniel
seth at ti.com
Thu Aug 19 10:56:03 CDT 1999
Greg,
I have no less than two cross-compilers compiled
here. One is GCC which targets "m68k-coff" platforms, the
other targets "m68k-elf" platforms. I compiled a simple
hello world program and attempted to ``ld'' the program
from the vxworks prompt. Neither one worked. I don't
know if it's something obvious I'm missing in the code
portion, or if it's something with the cross-compiling.
Either way I could not get it to work. :o(
I can send the code, or the output from ``ld'' if anyone
thinks they can help.
On Thu, Aug 19, 1999 at 10:19:43AM -0500, Greg E wrote:
> Seth Daniel wrote:
> Seth,
>
> Cross-compilers are really pretty simple as all they really do is
> produce the code native to the target selected. I've never looked
> for a Linux cross-compiler but I'd be supprised if GNU doesn't have
> one considering Linux runs on M68K systems. If the worst case and
> you can't find a Linux version you could get a DOS version and run
> it with dosemu. I use to use a cross-compiler in the MK Tool Kit
> package several years ago that was pretty good, don't know about
> cost and I can't remember the company off hand but they were out
> of Canada. Another company here in Dallas called Microtech Research
> makes an Xray68k product that would work, atleast use to make. I've
> been out of embedded work for almost 5 years so I've lost touch with
> the status of the current available tools.
>
> Greg E
>
>
> >
> > All,
> >
> > A quite a bit different question from all the talk about
> > Linux Demo Day.
> >
> > Basically I have a device which runs vxworks. It contains
> > a Motorola 68xxx chip. I'd like to do some programming for
> > this in my spare time, but I don't have the cash to pay
> > Wind River (http://www.windriver.com) for the full development
> > environment. Even if I could I don't believe it would run under
> > Linux.
> >
> > Is there *any* way to compile binaries (from C code) to
> > run on this target? I know that you can cross compile
> > to an m68k target, but I have a feeling there is more
> > to it than this. Any pointers to information, or any
> > leads at all would be much appreciated. I'm very knew
> > to cross-compiling, etc..., but I'm not new to C.
> >
> > I suppose I could write everything in assembly, but I
> > *really* don't want to do that.
> >
> > If I'm SOL on this then so be it. Surely someone knows
> > whether this is even possible or not.
> > --
> > seth daniel
> >
>
> _______________________________________________
> http://ntlug.org/mailman/listinfo/discuss
--
seth daniel | Texas Instruments DMOS4/5
seth at ti.com | Automation Engineering
More information about the Discuss
mailing list