Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Cross compiler for M68k Family running on Windows

Status
Not open for further replies.

kkeeley

Member level 3
Member level 3
Joined
Jul 29, 2009
Messages
59
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,288
Location
Australia
Visit site
Activity points
3,042
Hi,

I would like to be able to compile C programs on a Windows host that will run on a generic m68k family processor. I have tried with absolutely no luck to get GCC to build. I am now so frustrated with the documentation on Cygwin and GCC that I wish to never use the two again. Can anybody point me to a cross compiler that will do want I wish or at the very least provide a well documented set of instructions on how to setup GCC that actual works and is up to date with the latest versions. All the information Google has provided so far is decades out of date and doesn't work past extracting the zip files.

Thank you for any help you can provide this frustrated member.
Kenneth
 

https://www.cosmic-software.com/68k.php

The C Compiler package for Windows includes: COSMIC integrated development environment (IDEA), optimizing C
cross compiler, macro assembler, linker, librarian, object inspector, hex file generator, object format converters,
debugging support utilities, run-time libraries and a compiler command driver. The PC compiler package runs under
Windows 95/98/ME/NT4/2000 and XP

**broken link removed**
 
Last edited:

hi Kenneth,



I also have been trying to perform cross-compilation with other platforms, and noticed there are 2 main kind of errors : Compiling and Building.

The 1st one is easiest to detect, because occurs due to some non C-standard peculiar command proper to original compiler.
If it is the case, you could show here the code and related error ( prefereably the first ocurred ) to see if we can help.

However, the 2nd one is hard to detect, due it is generally caused by some Make/Link sintax error, or improper setup.
What I can sugest is you create a very simple program [ ...printf("Hello Wordl") ] and once it works, copy build setup to the target program.


+++
 

Thank you for the replies.

@yura717 I was hoping for a free solution and the software you have suggest looks like a solution, but at this time I don't wish to spend to much money on a hobby project.

@andre_teprom, It is not my code that I have been struggling to compile it is the Binutils and Gcc products that I have to re-compile to support cross compiling that I have had trouble with. There is tons of information on how to do these steps but I have had no luck in following them successfully.

Having had another look around on the web I did today find something that looks promising, it is a "Prebuilt GNU Toolchains for Windows" by SysProgs. This toolset comes as an single installation package and appears to require no other software to use it. I will test this and see if it fits my needs.

Thanks again for all your help.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top