Mail Archives: djgpp/1995/04/03/20:08:28
| Date: | Mon, 3 Apr 95 17:41:54 -0500 | 
| From: | "James A. Chase" <james AT in-sequence DOT com> | 
| Original-Received: | by NeXT.Mailer (1.100) | 
| PP-warning: | Illegal Received field on preceding line | 
| Original-Received: | by NeXT | 
|  | Mailer (1.100) | 
| PP-warning: | Illegal Received field on preceding line | 
| To: | djgpp AT sun DOT soe DOT clarkson DOT edu | 
| Subject: | 68k cross-complile examples | 
I am getting the djgpp/68k cross compiler up and running and I  
need some examples to cut the implementation hours.
Specifically:
Working example of a one line c program, for example:
	main()
	{
		printf("Hello World!\n");
	}
	
including all necessary user-supplied target-specific functions
e.g char out to stdio, char in from stdio, sbrk(), etc 
which we would customize to meet our target system (an MC68302
based single board computer). We presently have our application
sources compiling with the current microtec research cross  
compiler; we are unfamiliar with the runtime requirements of the  
gnu package. We are not specificly looking for source code  
examples - more along the lines of the function definitions of  
the target-specific stuff. If they end up being the same as the  
MRI libraries require we are in great shape, if not we may have a  
hard time extracting the information from the documentation.
Apparently the gnu linker will accept the MRI linker scripts so  
this issue is covered. 
Thanks in advance for your help.
Jim Chase
james AT in-sequence DOT com
- Raw text -