This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: cross compiling from platform PC-NT to M68040


Thank you for responding mr Nivrutti. I wonder what you mean with "program
working with I/O".
I have a native GCC-compiler on my PC, I got it from the web 
http://agnes.dida.physik.uni-essen.de/~janjaap/mingw32/download.html
My problem is that files compiled on this only gives me executives for
PC-NT.
I want Motorola-assembler wich I want to assemble and finally link to get
Motorola s-records.
I assume you me something I don't understand, beeing new in GCC environment.
My old tool is a Green Hills compilator, assemblator and linker.

-----Original Message-----
From: Nivrutti A [mailto:nivruttia@kpit.com]
Sent: den 18 april 2001 06:17
To: 'Johansson Mikael'
Cc: 'crossgcc'
Subject: RE: cross compiling from platform PC-NT to M68040


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]