 c8a0e2f4c6
			
		
	
	
		c8a0e2f4c6
		
	
	
	
	
		
			
			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.
		
			
				
	
	
		
			15 lines
		
	
	
		
			447 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			15 lines
		
	
	
		
			447 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| $NetBSD$
 | |
| 
 | |
| --- gcc/toplev.h.orig	Fri Feb 20 15:20:38 2009
 | |
| +++ gcc/toplev.h
 | |
| @@ -174,7 +174,8 @@ extern int exact_log2                  (unsigned HOST_
 | |
|  extern int floor_log2                  (unsigned HOST_WIDE_INT);
 | |
|  
 | |
|  /* Inline versions of the above for speed.  */
 | |
| -#if GCC_VERSION >= 3004
 | |
| +/* #if GCC_VERSION >= 3004 */
 | |
| +#if 0
 | |
|  # if HOST_BITS_PER_WIDE_INT == HOST_BITS_PER_LONG
 | |
|  #  define CLZ_HWI __builtin_clzl
 | |
|  #  define CTZ_HWI __builtin_ctzl
 |