Tuesday, November 24, 2020

Delphi Linux ARM compiler will never happens.

Is clear embarcadero care a sh*t about the voted issues... 

The more voted issued after 5 years 

https://quality.embarcadero.com/browse/RSP-13370

... and they just remove Linux arm compiler of the research areas for the November/2020 roadmap, check yourself

https://blogs.embarcadero.com/rad-studio-roadmap-november-2020/

And off course comments are closed. Well... RPI have no users, sure this is the reason to don´t pay the resources need ti get this working... Thanks Atanas! Great vision you have!

Today i feel is really time to move on, after 30 years with Delphi, the actual management is silly, closed vision, useless... Paying every year my subscription to get what? One IDE almost stable after 5 try?  

Sorry guys, Linux ARM compiler will never happen. The poor management in the world is in charge of EMB. Is time to move at fresh green pastures.  Never be more sure about this. 

Game over.

Monday, June 1, 2020

Seems like so many Delphi users have interest on Linux ARM compiler!

We are the second open report voted! That means a lot of Delphi developers really need a Linux for ARM compiler.

Thanks people for vote that! Im sure Embarcadero listen up and will not see to other side with this They really listen loyalty customers. Hope to have news soon.




P.S. in case you don't vote yet, do it here:

https://quality.embarcadero.com/browse/RSP-13370

Saturday, May 30, 2020

Do you think Embarcadero must release linux ARM compiler? Vote here!

As you know is the only platform missing in Delphi right now. IMHO a very important platform. We have almost 90 votes. Help with your vote to up that requirement position and maybe we can see this happen soon!

https://quality.embarcadero.com/browse/RSP-13370

Saturday, September 17, 2016

Install FPC 3.1.1 + lazarus 1.7 on RASPBERRY PI 3 /RASPBIAN)

How to install latest FPC + LAZARUS on RASPBERRY PI 3 Step by step (thanks to rvk member of lazarus community)


# ======================================================
# Based on clean 2016-05-27-raspbian-jessie.img
# Total install time: 38 minutes (from complete scratch)
# by rvk (v.1.1, 2016-07-08)
# ======================================================

# ======================================================
# first some essentials (5.5 minutes)
# ======================================================
sudo -i
apt-get update
apt-get upgrade -y
apt-get autoremove
apt-get autoclean
reboot

# ======================================================
# install remote descktop serveer for rdp session win10
# only neede is headless RPI (1 minute)
# ======================================================
# https://www.maketecheasier.com/enabling-remote-desktop-access-on-raspberry-pi/
sudo apt-get -y install xrdp
sudo nano /etc/xrdp/xrdp.ini
bitmap_compression: no   # <-- change this line

# ======================================================
# some other essentials (2 minutes)
# ======================================================
sudo apt-get -y install build-essential p7zip-full subversion
sudo apt-get -y install libx11-dev libgdk-pixbuf2.0-dev libcairo2-dev lpango-1.0 libpangox-1.0-dev xorg-dev libatk1.0-dev libgtk2.0-dev

# ======================================================
# we NEED to extend the swapfile (1 minute)
# ======================================================
sudo nano /etc/dphys-swapfile
CONF_SWAPSIZE=512   # <-- change this line
sudo /etc/init.d/dphys-swapfile stop
sudo /etc/init.d/dphys-swapfile start

# ======================================================
# if you're not on raspbian-jessie this could work too
# ======================================================
# dd if=/dev/zero of=/path/to/swapfile bs=1M count=512 # For 512MB swap file
# mkswap /path/to/swapfile
# swapon /path/to/swapfile

# ======================================================
# install fpc and lazarus trunk (total 28.5 minutes)
# ======================================================
sudo -i

# ------------------------------------------------------
# first fpc
# ------------------------------------------------------
mkdir /usr/local/fpc
cd /usr/local/fpc

# ------------------------------------------------------
# We need a bootstrap compiler fpc 3.0.0 (2.5 minutes)
# There is NONE AVAILABLE so we need to download complete
# fpc-3.0.0.arm-linux-raspberry1wq.tar
# ------------------------------------------------------
wget ftp://ftp.freepascal.org/pub/fpc/dist/3.0.0/arm-linux/fpc-3.0.0.arm-linux-raspberry1wq.tar
tar xvf fpc-3.0.0.arm-linux-raspberry1wq.tar
cd fpc-3.0.0.arm-linux
tar xvf binary.arm-linux.tar
tar zxvf base.arm-linux.tar.gz
cd ..

# ------------------------------------------------------
# checkout fpc trunk (3 minutes)
# ------------------------------------------------------
svn co http://svn.freepascal.org/svn/fpc/trunk trunk
svn export --force trunk trunktmp
cd trunktmp

# ------------------------------------------------------
# compile fpc trunk (11 minutes)
# ------------------------------------------------------
make all OPT="-dFPC_ARMHF" PP=/usr/local/fpc/fpc-3.0.0.arm-linux/lib/fpc/3.0.0/ppcarm

# ------------------------------------------------------
# install fpc trunk (2 minutes)
# ------------------------------------------------------
make install OPT="-dFPC_ARMHF" PREFIX=/usr/local PP=/usr/local/fpc/trunktmp/compiler/ppcarm
rm /usr/local/bin/ppcarm
rm /usr/local/bin/sameplecfg
ln -sf /usr/local/lib/fpc/3.1.1/ppcarm /usr/local/bin/ppcarm
ln -sf /usr/local/lib/fpc/3.1.1/samplecfg /usr/local/bin/samplecfg
make install sourceinstall OPT="-dFPC_ARMHF" PREFIX=/usr/local
rm /usr/share/fpcsrc
ln -sf /usr/local/share/src/fpc-3.1.1/fpc /usr/share/fpcsrc

# /usr/local/bin/fpcmkcfg -d basepath=/usr/local/lib/fpc/3.1.1 -o /usr/local/bin/fpc.cfg
# this doesn't seem to work correctly ???

samplecfg /usr/local/lib/fpc/3.1.1 /etc
# Running on linux
# Write permission in /etc.
# Writing sample configuration file to /etc/fpc.cfg
# Writing sample configuration file to /usr/local/lib/fpc/3.1.1/ide/text/fp.cfg
# Writing sample configuration file to /usr/local/lib/fpc/3.1.1/ide/text/fp.ini
# Writing sample configuration file to /etc/fppkg.cfg
# Writing sample configuration file to /etc/fppkg/default

# ------------------------------------------------------
# then Lazarus
# ------------------------------------------------------
mkdir /usr/local/lazarus
cd /usr/local/lazarus

# ------------------------------------------------------
# checkout lazarus trunk (1.5 minutes)
# ------------------------------------------------------
svn co http://svn.freepascal.org/svn/lazarus/trunk trunk
svn export --force trunk trunktmp
cd trunktmp

# ------------------------------------------------------
# compile lazarus trunk  (6.5 minutes)
# ------------------------------------------------------
make all OPT="-dFPC_ARMHF"

# ------------------------------------------------------
# install lazarus trunk  (2 minutes)
# ------------------------------------------------------
make install OPT="-dFPC_ARMHF" PREFIX=/usr/local

# ------------------------------------------------------
# remove menu-cache to make Lazarus visible in menu
# ------------------------------------------------------
exit  # from sudo
killall lxpanel
find ~/.cache/menus -name '*' -type f -print0 | xargs -0 rm
exit  # from pi

# ------------------------------------------------------
# connect on Windows via Remote Desktop Connecton (mstsc.exe)
# user pi password rapberry
# Menu > Programming > Lazarus
# create small test-project and run
# ------------------------------------------------------

# ======================================================
# note: recompiling lazarus as use pi
# will create a working copy under ~/.lazarus/bin
# ======================================================

Enjoy!

Saturday, July 4, 2015

Codetyphon 5.3 and Remobjects 8.3 : installation instructions

While i love to work on delphi side its lack support for some IOTs devices like raspberry PI, Beaglebone, and Linux mainly.

You have two options sit and wait for Embarcadero managers take the decision and release the long waited linux compiler (10 years of wait i think) or get dirty and try Lazarus.

Lazarus/typhon need to link statically all the packages you install and is very *sensitive* . The result a perfect compiled package will produce many times your typhon exe get corrupted and you need to start the process from zero.

Note from Sternas : 'If you try to rebuild experimental IDE, my suggestion is to save bin32/typhon.exe or bin64/typhon.exe first. If the new typhon.exe has problem replace it with backup typhon.exe'. Thanks for this easy tip! :)

After a lot of try and error process, here a guarantee (?)  procedure to install RO 8 on CT 5.3

If you already have a Typhon fide working start over on Codetyphone menu *Remove and Build Typhon BigIDE*.



Then open and compile every RO package ending with _ CodeTyphon   . Don't install!

Some packages reference RO standard packages (no CodeTyphon) just replace with the appropriate Codetyphon package version and compile.

On Remobjects.inc you need to disable RemObjects_UseEncryption adding a dot at first
or Remojtecs_Core will not compile.

{.$DEFINE RemObjects_UseEncryption}







If you plan to use Pascalscript just download from GITHUB site.

https://github.com/remobjects/pascalscript

And copy the Add-on folder to

C:\codetyphon\typhon\components\pl_PascalScript\source

Remember to change missing packages with Codetyphon packages.

One time all is compiled restart the idea and go to Install Packages. Add all the RO/DA packages at one time.

Save and rebuild IDE.

Work done. You have RO/Da working on CT 5.3.





Enjoy!



Monday, December 23, 2013

My still not working stable enough, FireMonkey app.

In my previous post i comment about a recent app my company release.

This one is just a simple app in kiosk mode with a few screens, not very impressive if just ask.

The detail is this one have to consume a web services. The web services is implemented with Delphi using RemObjects library.

As i say before, i code and deliver this time using Oxygene because the Firemonkey pair app auto close alone after 2 to 3 hours working. No error, no chance to debug, no way to fix this.

In my last post i advice about have no time to test with XE5 update 2. So, just for the shake i test my FM app with update 2 and sadly, the results are the same. And i must add, now the process to debug seems a little more bad working than before.

I love to ear anybody else experiences with real world app and fire monkey. I see a few videos , one very impressive about capturing video on real time. The main point to me is stability and seems like Embarcadero is working there. Can we cross fingers for the next release?

In any case , in the meantime, i have to start another android project very complex and i believe cannot start with XE5 at this stage. It will be Oxygene 100%. The bad part is the UI design, but, again, Oxygene is a very pleasant tool to code.
I really hope XE6(?) give me the confidence im lost in FireMonkey.

If anybody have another experiences about this, im open.

Enjoy!