cross compiling from platform PC-NT to M68040

Nivrutti A nivruttia@kpit.com
Tue Apr 17 21:16:00 GMT 2001


Hi Jonhansson,
Here I have some hints for you.
I assume that,You have a HW for the same device and you are having a programming knowlege for motorola devices.
If yes...then.
1)Write a simple program to work with I/Os.
2)Compile the file with the tool you build. add a startup file and proper linker script(this is very important).
3)Using a objcopy utility generate the o/p file that you are interested.
4)Test it by downloading to target device.  
I hope this will work.Check the map file generated by the linker(select the option -Map followed by file name while linking.). This will also help you.

Regards,
Nivrutti


-----Original Message-----
From:	Johansson Mikael [SMTP:mikael.mj.johansson@volvo.com]
Sent:	Tuesday, April 17, 2001 5:55 PM
To:	Cross GCC
Subject:	cross compiling from platform PC-NT to M68040

Hello everyone!

I'm trying to,install a crosscompiler on my PC with OS NT.
My target is a M68040.

I have successfully installed a native  GCC-compiler on my PC.
How do I proceed?



------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com

------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com



More information about the crossgcc mailing list