This commit finalizes support for cross compilation. The tools directory are all links to the actual tools and are built on the host system to build Minix. build.sh is the work horse that takes care of all environment settings. It's slightly adjusted for Minix. The /usr/src/Makefile has additional targets needed for cross compilation.
		
			
				
	
	
		
			16 lines
		
	
	
		
			288 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			16 lines
		
	
	
		
			288 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
$NetBSD$
 | 
						|
 | 
						|
--- gcc/gcov.c.orig	Sat Jan  9 00:05:06 2010
 | 
						|
+++ gcc/gcov.c
 | 
						|
@@ -58,6 +58,10 @@ along with Gcov; see the file COPYING3.  If not see
 | 
						|
 
 | 
						|
 #define STRING_SIZE 200
 | 
						|
 
 | 
						|
+#ifdef _MINIX
 | 
						|
+#define block_t gcc_block_t
 | 
						|
+#endif
 | 
						|
+
 | 
						|
 struct function_info;
 | 
						|
 struct block_info;
 | 
						|
 struct source_info;
 |