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.
		
			
				
	
	
		
			21 lines
		
	
	
		
			829 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			21 lines
		
	
	
		
			829 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
--- gcc/fortran/f95-lang.c.orig	Tue Jun 15 12:27:01 2010
 | 
						|
+++ gcc/fortran/f95-lang.c	Fri Jun  3 14:51:32 2011
 | 
						|
@@ -873,10 +873,17 @@
 | 
						|
 
 | 
						|
   gfc_define_builtin ("__builtin_cabsl", func_clongdouble_longdouble, 
 | 
						|
 		      BUILT_IN_CABSL, "cabsl", true);
 | 
						|
+#if defined (__NetBSD__)
 | 
						|
   gfc_define_builtin ("__builtin_cabs", func_cdouble_double, 
 | 
						|
+		      BUILT_IN_CABS, "__c99_cabs", true);
 | 
						|
+  gfc_define_builtin ("__builtin_cabsf", func_cfloat_float, 
 | 
						|
+		      BUILT_IN_CABSF, "__c99_cabsf", true);
 | 
						|
+#else
 | 
						|
+  gfc_define_builtin ("__builtin_cabs", func_cdouble_double, 
 | 
						|
 		      BUILT_IN_CABS, "cabs", true);
 | 
						|
   gfc_define_builtin ("__builtin_cabsf", func_cfloat_float, 
 | 
						|
 		      BUILT_IN_CABSF, "cabsf", true);
 | 
						|
+#endif
 | 
						|
  
 | 
						|
   gfc_define_builtin ("__builtin_copysignl", mfunc_longdouble[1], 
 | 
						|
 		      BUILT_IN_COPYSIGNL, "copysignl", true);
 |