mirror of
				https://github.com/notepad-plus-plus/notepad-plus-plus.git
				synced 2025-10-31 11:34:05 +01:00 
			
		
		
		
	Close #1229, Fixes #385 Only build errors are fixed, compile warnings are left alone. To reduce the number of changes, even the compiler option "-fpermissive" has been used to downgrade several errors to warnings.
		
			
				
	
	
		
			25 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			25 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| makefile was renewed after the v6.8.7 release.
 | |
| 
 | |
| It was tested with a MinGW-w64 distribution containing
 | |
| GCC 5.2.0 (cross-compiled with i686-w64-mingw32 on Arch Linux) and
 | |
| GCC 4.9.2 (natively on Windows 7, will not work anymore with this version).
 | |
| 
 | |
| The default make rule should suffice for building Notepad++,
 | |
| and copying the required .xml config files.
 | |
| If cross-compiling you may have to pass a custom CROSS_COMPILE
 | |
| variable depending on your Linux distribution.
 | |
| The clean rule removes .o/.d and .res and the copied .xml files
 | |
| 
 | |
| For localization support in the editor preferences you have to copy the
 | |
| PowerEditor/installer/nativeLang/ directory to PowerEditor/bin/ with the new
 | |
| directory name "localization".
 | |
| On Linux a symbolic link suffices:
 | |
|   $ ln -s ../installer/nativeLang localization
 | |
| 
 | |
| For execution with Wine some additional DLLs from the MinGW package have to be
 | |
| found inside of the PowerEditor/bin/ directory, which can be achieved by using
 | |
| links again, e.g.:
 | |
|   $ ln -s /usr/i686-w64-mingw32/bin/libgcc_s_sjlj-1.dll
 | |
|   $ ln -s /usr/i686-w64-mingw32/bin/libstdc++-6.dll
 | |
|   $ ln -s /usr/i686-w64-mingw32/bin/libwinpthread-1.dll
 |