pierre 
							
						 
					 
					
						
						
						
						
							
						
						
							f80bd9b034 
							
						 
					 
					
						
						
							
							Fix typo in script comment  
						
						 
						
						... 
						
						
						
						git-svn-id: trunk@47229 - 
						
					 
					
						2020-10-27 23:11:23 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								pierre 
							
						 
					 
					
						
						
						
						
							
						
						
							f316121d53 
							
						 
					 
					
						
						
							
							Add handling of extra parameters, using eval if equal sign is found.  
						
						 
						
						... 
						
						
						
						+ Add TMP_DIR variable and use it.
  * Only remove temp files if verbose is not set.
git-svn-id: trunk@46883 - 
						
					 
					
						2020-09-16 20:44:44 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								pierre 
							
						 
					 
					
						
						
						
						
							
						
						
							c8129c5228 
							
						 
					 
					
						
						
							
							Disable 64-bit version of CPU_SOURCE is 32-bit  
						
						 
						
						... 
						
						
						
						git-svn-id: trunk@42081 - 
						
					 
					
						2019-05-16 08:21:09 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								pierre 
							
						 
					 
					
						
						
						
						
							
						
						
							a7a67f3d3c 
							
						 
					 
					
						
						
							
							* Improve handling of command line args setting variables (did not work if it contained spaces)  
						
						 
						
						... 
						
						
						
						+ Group all recognized macros into list_defines in preproc.awk file
  + Convert Pascal style hexadecimal constants into C style
git-svn-id: trunk@42018 - 
						
					 
					
						2019-05-07 08:13:38 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								pierre 
							
						 
					 
					
						
						
						
						
							
						
						
							0a3a35152d 
							
						 
					 
					
						
						
							
							Also remove -m32 option for arm native GNU C compiler  
						
						 
						
						... 
						
						
						
						git-svn-id: trunk@42017 - 
						
					 
					
						2019-05-06 22:07:49 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								pierre 
							
						 
					 
					
						
						
						
						
							
						
						
							12647c348e 
							
						 
					 
					
						
						
							
							Add script to use h2paschk on t_OS.h2paschk file for rtl tests for system header compliance  
						
						 
						
						... 
						
						
						
						git-svn-id: trunk@42015 - 
						
					 
					
						2019-05-06 21:10:12 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								pierre 
							
						 
					 
					
						
						
						
						
							
						
						
							cb4b085a99 
							
						 
					 
					
						
						
							
							* Also allow '-' in include file names  
						
						 
						
						... 
						
						
						
						+ Add os_cpu and cpu_source variables
  * Cope with aarch64 GNU C compiler that does not support -m64 option
  + Add support for arm test on aarch64 machine
  * Better accept expressions instead of constants in C #define
git-svn-id: trunk@42014 - 
						
					 
					
						2019-05-06 21:08:47 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								pierre 
							
						 
					 
					
						
						
						
						
							
						
						
							0100c4abf8 
							
						 
					 
					
						
						
							
							More improvements to script testing syscall numbers  
						
						 
						
						... 
						
						
						
						git-svn-id: trunk@41970 - 
						
					 
					
						2019-05-02 12:55:51 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								pierre 
							
						 
					 
					
						
						
						
						
							
						
						
							5f4a0c7af7 
							
						 
					 
					
						
						
							
							* freebsd and openbsd also use sys/syscall.h header  
						
						 
						
						... 
						
						
						
						+ Add AWK parser to removed parts of source not concerning current CPU
    (only handles CPUXXX like CPUI386)
git-svn-id: trunk@41969 - 
						
					 
					
						2019-05-01 22:00:06 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								pierre 
							
						 
					 
					
						
						
						
						
							
						
						
							639adc314f 
							
						 
					 
					
						
						
							
							Eliminate wrong line (bug report 35441)  
						
						 
						
						... 
						
						
						
						git-svn-id: trunk@41934 - 
						
					 
					
						2019-04-25 13:04:39 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								pierre 
							
						 
					 
					
						
						
						
						
							
						
						
							a83bc62639 
							
						 
					 
					
						
						
							
							Improve syscall number testing script:  
						
						 
						
						... 
						
						
						
						+ Add support for parameters:
    -v sets verbose variable to 1
    VAR=value gets evaluated.
  * moves to rtl/$os if called at diferent level.
  + check if there is a incude directive in sysnr.inc file.
  + Add compilation of C source code with the C variant of the syscall number.
  + Support 32 and 64-bit version of C compilation for systems
    allowing 32 and 64-bit executable (like x86_64-linux).
  + Add 'preprocessing' using AWK to test {$ifdef CPUXXX} macro.
  + Add summary at end of script.
  * Rename check_syscall_number to check_c_syscall_from_fpc_rtl
  * Rename check_syscall_number_reverse to check_c_syscall_in_fpc_rtl
  * Try to remove most intermediate files.
  + Generate add_missing_syscalls.inc file if numbers are missing.
git-svn-id: trunk@41928 - 
						
					 
					
						2019-04-25 06:10:43 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								pierre 
							
						 
					 
					
						
						
						
						
							
						
						
							4ecd67f6e2 
							
						 
					 
					
						
						
							
							* Use gsed if present and temp directory to avoid system recompilation  
						
						 
						
						... 
						
						
						
						git-svn-id: trunk@22169 - 
						
					 
					
						2012-08-22 09:43:34 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								pierre 
							
						 
					 
					
						
						
						
						
							
						
						
							68c8383254 
							
						 
					 
					
						
						
							
							Add support for binary/octal/hexadecimal constants  
						
						 
						
						... 
						
						
						
						git-svn-id: trunk@21901 - 
						
					 
					
						2012-07-12 13:09:32 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								pierre 
							
						 
					 
					
						
						
						
						
							
						
						
							9bba5c956a 
							
						 
					 
					
						
						
							
							Add support for indirect values  
						
						 
						
						... 
						
						
						
						git-svn-id: trunk@21830 - 
						
					 
					
						2012-07-09 13:46:11 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								pierre 
							
						 
					 
					
						
						
						
						
							
						
						
							2d6093645f 
							
						 
					 
					
						
						
							
							Add a C compilation phase to check Error value  
						
						 
						
						... 
						
						
						
						git-svn-id: trunk@21826 - 
						
					 
					
						2012-07-09 13:14:37 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								pierre 
							
						 
					 
					
						
						
						
						
							
						
						
							b93b08427f 
							
						 
					 
					
						
						
							
							Set needgsed to 0 for non-NetBSD systems  
						
						 
						
						... 
						
						
						
						git-svn-id: trunk@21823 - 
						
					 
					
						2012-07-09 09:56:45 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								pierre 
							
						 
					 
					
						
						
						
						
							
						
						
							cd0522189c 
							
						 
					 
					
						
						
							
							Try to improve system error check script  
						
						 
						
						... 
						
						
						
						git-svn-id: trunk@21633 - 
						
					 
					
						2012-06-17 14:47:26 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								pierre 
							
						 
					 
					
						
						
						
						
							
						
						
							8c047abb43 
							
						 
					 
					
						
						
							
							+ New script to check constant entries against system headers  
						
						 
						
						... 
						
						
						
						git-svn-id: trunk@20934 - 
						
					 
					
						2012-04-19 14:56:32 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								pierre 
							
						 
					 
					
						
						
						
						
							
						
						
							3f24548e58 
							
						 
					 
					
						
						
							
							+ New script to check errnostr.inc entries  
						
						 
						
						... 
						
						
						
						git-svn-id: trunk@20933 - 
						
					 
					
						2012-04-19 14:55:57 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								pierre 
							
						 
					 
					
						
						
						
						
							
						
						
							0309511353 
							
						 
					 
					
						
						
							
							Add clean option, do not create executable (unneeded)  
						
						 
						
						... 
						
						
						
						git-svn-id: trunk@20932 - 
						
					 
					
						2012-04-19 14:52:47 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								pierre 
							
						 
					 
					
						
						
						
						
							
						
						
							9106753b8a 
							
						 
					 
					
						
						
							
							Improve check_sys.sh script  
						
						 
						
						... 
						
						
						
						git-svn-id: trunk@20926 - 
						
					 
					
						2012-04-19 07:18:13 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								pierre 
							
						 
					 
					
						
						
						
						
							
						
						
							1592f98a69 
							
						 
					 
					
						
						
							
							Avoid inappropriate file name expansion  
						
						 
						
						... 
						
						
						
						git-svn-id: trunk@20921 - 
						
					 
					
						2012-04-18 15:43:47 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								pierre 
							
						 
					 
					
						
						
						
						
							
						
						
							6568de7e0f 
							
						 
					 
					
						
						
							
							Avoid \t which is not supported properly on NetBSD and accept negative values  
						
						 
						
						... 
						
						
						
						git-svn-id: trunk@20918 - 
						
					 
					
						2012-04-18 10:50:16 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								pierre 
							
						 
					 
					
						
						
						
						
							
						
						
							c4288ea2c0 
							
						 
					 
					
						
						
							
							* Fix missing echo command  
						
						 
						
						... 
						
						
						
						git-svn-id: trunk@20916 - 
						
					 
					
						2012-04-18 10:35:47 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								pierre 
							
						 
					 
					
						
						
						
						
							
						
						
							eb90a60afe 
							
						 
					 
					
						
						
							
							New test for sysnr.inc system error numbers  
						
						 
						
						... 
						
						
						
						git-svn-id: trunk@20914 - 
						
					 
					
						2012-04-18 10:31:29 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								pierre 
							
						 
					 
					
						
						
						
						
							
						
						
							90f12d0e4d 
							
						 
					 
					
						
						
							
							Improve check for Linux  
						
						 
						
						... 
						
						
						
						git-svn-id: trunk@20913 - 
						
					 
					
						2012-04-18 10:30:19 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								pierre 
							
						 
					 
					
						
						
						
						
							
						
						
							b3f3e0d2a1 
							
						 
					 
					
						
						
							
							Move check_sys.sh to unix/scripts directory  
						
						 
						
						... 
						
						
						
						git-svn-id: trunk@20911 - 
						
					 
					
						2012-04-18 10:24:34 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								pierre 
							
						 
					 
					
						
						
						
						
							
						
						
							11fe796ac3 
							
						 
					 
					
						
						
							
							Add script directory  
						
						 
						
						... 
						
						
						
						git-svn-id: trunk@20910 - 
						
					 
					
						2012-04-18 10:10:03 +00:00