How do i cross-compile and debug linux program under windows lazarus / 1-Linux ---------------------------------------------------------------------- eric1104 · 2017-08-29 03:38 How do i  cross-compile and debug   linux program  under windows ---------------------------------------------------------------------- molly · 2017-08-29 04:45 There is a wiki-entry for that but that doesn't tell you very much (do read the build-faq though). That paragraph also links to fpcup (renamed into fpcdeluxe), and while that isn't working for you (other thread) there is a nice table here which tells something about the requirements. Which files that are exactly depends on your linux distro/platform. For remote debugging you can perhaps try this wiki-entry. Wrong subforum btw, and it would be convenient to know if you're only want to use fpc or also lazarus. Note that it is very inconvenient to cross-compile from Windows to Linux because of the required libraries (which you would have to copy from your Linux distro over to your windows machine). It becomes h*ll if you also want to target a specific GUI for Linux. In short: non advisable. ---------------------------------------------------------------------- Handoko · 2017-08-29 04:46 I do not use Windows. But I think it will be easier to install VirtualBox + Linux, both are free. The only disadvantages I know are your computer becomes slower when running VirtualBox and some graphics features (3D, OpenGL, etc) are not supported. https://en.wikipedia.org/wiki/VirtualBox ---------------------------------------------------------------------- molly · 2017-08-29 05:00 Indeed Handoko. Using virtualization software is much more convenient. Nowadays computers are fast enough and most processors nowadays have special support for virtualization. 3D or accelerated graphics can be supported as long as there is a extention pack that supports the platform. ---------------------------------------------------------------------- Wosi · 2017-08-29 06:56 I'm curious, has anyone already tried to install Lazarus on the Windows Subsystem for Linux? I guess compiling Linux binaries via Windows Bash should be possible and easy to set up. Has anyone experience with a setup like this? ---------------------------------------------------------------------- Handoko · 2017-08-29 11:43 I remember many months ago some said we can run Linux on Windows Subsystem. I never tried, I use Linux. Here if you want to know more: http://forum.lazarus.freepascal.org/index.php/topic,35688.msg236368.ht ml#msg236368 http://forum.lazarus.freepascal.org/index.php/topic,35407.msg233914.ht ml#msg233914 http://forum.lazarus.freepascal.org/index.php/topic,34223.msg223648.ht ml#msg223648