[NTLUG:Discuss] cross-compile to vxworks (m68k) from linux (solved)

Seth Daniel seth at ti.com
Fri Aug 20 09:53:15 CDT 1999


I finally got it to work. :o)  

Thanks to Mark C., Greg E., and Deja News I have successfully
compiled, loaded, and run ``hello world'' on this vxworks/m68k 
device.  Needless to say I am ecstatic. 

I had to do some tweaking of the gcc configure process to get
it to work w/o *any* Wind River  (http://www.windriver.com) 
libraries, but it works!  

If anyone is interested I can let them know exactly what had
to be done to do this.  

Thanks for all the help!


----- Forwarded message from Seth Daniel <seth at ti.com> -----

I'm beginning to suspect that my target is wrong.  I have a few
pre-compiled binaries that work fine under vxworks, but if I 
run a ``m68k-elf-nm'' on one of these binaries it complains
that it doesn't recognize the format.  I wonder if there are more
m68k targets for gcc than m68k-coff and m68k-elf??  

On Thu, Aug 19, 1999 at 01:27:30PM -0500, Greg E wrote:
> When you cross-compile for another target you need to link with
> libraries for that target as well.  I'm not familar with vxworks
> off hand, I assume it's an OS for the device?  Device dependend
> libraries and drivers you will either need to get from the OEM or
> develop yourself.  Check the GNU site for a generic m68k 
> cross-compiler.
> 
> Greg E
<snip, stuff about cross-compiling from Linux to VxWorks>

-- 
seth daniel  |  Texas Instruments DMOS4/5
seth at ti.com  |   Automation Engineering

_______________________________________________
http://ntlug.org/mailman/listinfo/discuss

----- End forwarded message -----

-- 
seth daniel  |  Texas Instruments DMOS4/5
seth at ti.com  |   Automation Engineering




More information about the Discuss mailing list