Crosscompiling Mint 18.3 64-bit to Win32 doesn't work lazarus / 32-Linux ---------------------------------------------------------------------- Kralle · 2017-12-03 16:25 Hello, for Linux Mint 18.2 and before i use this code for install CrossCompiling Win32: sudo make clean all OS_TARGET=win32 CPU_TARGET=i386 sudo make crossinstall OS_TARGET=win32 CPU_TARGET=i386 INSTALL_FREFIX=/usr in the fpc.cfg: # For Crosscompiling -Fu/usr/lib/fpc/$fpcversion/units/$fpctarget/* and symbolic link: sudo ln -sf /usr/lib/fpc/3.0.4/ppcross386 /usr/bin/ppcross386 But under Linux Mint 18.3 it doens't work. The ppcross386 was located on  /usr/local/lib/fpc/3.0.4/ppcross386 and i must add "local/" in the fpc.cfg and the link. But why? The ppcrossx64 is stored at "/usr/lib/fpc/3.0.4/". Why this two locations? greetings from germay heiko ---------------------------------------------------------------------- Sheepdog · 2018-08-10 03:45 QuoteI traced the problem to accessing the direction file too fast after putting 17 in export. The OS hasn't fully created the gpio17 directory yet when you try to open the direction file inside it !  Try a Sleep(1000) just before opening the direction-file. It should all work correctly. Fixed it for me! Speaking of "sleep"... it being 23:45, I think I will finish now! Will sleep better for having that working! http://www.auctoris.co.uk/2012/07/19/gpio-with-sysfs-on-a-raspberry- pi/ is helpful. ---------------------------------------------------------------------- Thaddy · 2018-08-10 06:51 I take it this is a typo and you did not actually use this: Code: Bash  [Select][+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i INSTALL_FREFIX Free fix?  Instead of INSTALL_PREFIX you can use INSTALL_BASEDIR. And I usually do Code: Bash  [Select][+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i make CROSSALL CROSSINSTALL