Re: [MSEide-MSEgui-talk] compiling c files

2016-02-10 Thread che fou
thanks -- Site24x7 APM Insight: Get Deep Visibility into Application Performance APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month Monitor end-to-end web transactions and take corrective actions now Trouble

Re: [MSEide-MSEgui-talk] compiling c files

2016-02-10 Thread Martin Schreiber
On Wednesday 10 February 2016 09:16:02 che fou wrote: > thatks , is that mean i can't using fpc and gcc in the same project ?. > You can use fpc and gcc in the same project. Setup the make script accordingly. Martin -- S

Re: [MSEide-MSEgui-talk] compiling c files

2016-02-10 Thread che fou
thatks , is that mean i can't using fpc and gcc in the same project ?. -- Site24x7 APM Insight: Get Deep Visibility into Application Performance APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month Monitor end

Re: [MSEide-MSEgui-talk] compiling c files

2016-02-09 Thread Martin Schreiber
On Wednesday 10 February 2016 08:45:02 che fou wrote: > Hi > is it possible to compile c files inside mseide ? . > Yes, MSEide can be used for building gcc projects. I normally set up a make file and call make or a make script in 'Project'-'Make'-'Make Program'. Martin --

[MSEide-MSEgui-talk] compiling c files

2016-02-09 Thread che fou
Hi is it possible to compile c files inside mseide ? . -- Site24x7 APM Insight: Get Deep Visibility into Application Performance APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month Monitor end-to-end web tran

Re: [MSEide-MSEgui-talk] compiling mseide-msegui on ARMHF

2014-11-28 Thread Geoffrey Barton
On 28 Nov 2014, at 07:23, Martin Schreiber wrote: > On Thursday 27 November 2014 21:59:02 Geoffrey Barton wrote: >> >> 1looking at the compiled file with 'readelf', it appears to say >> 'softfloat'. But also VFPV3_d16, which is a hard float. > > The target in "crossarmdefault.prj" can be s

Re: [MSEide-MSEgui-talk] compiling mseide-msegui on ARMHF

2014-11-27 Thread Martin Schreiber
On Thursday 27 November 2014 21:59:02 Geoffrey Barton wrote: > > 1 looking at the compiled file with 'readelf', it appears to say > 'softfloat'. But also VFPV3_d16, which is a hard float. The target in "crossarmdefault.prj" can be switched by 'Project'-'Options'-'Macros'-'Active group', see a

Re: [MSEide-MSEgui-talk] compiling mseide-msegui on ARMHF

2014-11-27 Thread Geoffrey Barton
On 27 Nov 2014, at 11:32, Martin Schreiber wrote: > On Wednesday 26 November 2014 18:49:18 Martin Schreiber wrote: >> On Wednesday 26 November 2014 18:41:42 Geoffrey Barton wrote: >>> On 26 Nov 2014, at 17:33, Martin Schreiber wrote: On Tuesday 25 November 2014 18:03:31 Martin Schreiber wr

Re: [MSEide-MSEgui-talk] compiling mseide-msegui on ARMHF

2014-11-27 Thread Martin Schreiber
On Thursday 27 November 2014 18:55:24 Ivanko B wrote: > And cross compiling is necessary for QUEMU too. > > Why ? It's possible to install FPC packages on QEMUed RaspberriPI DEBIAN: > > # apt-get install fpc fcl-base fcl-db postgresql-dev libx11-dev ... > > and build MSEgui apps o

Re: [MSEide-MSEgui-talk] compiling mseide-msegui on ARMHF

2014-11-27 Thread Ivanko B
And cross compiling is necessary for QUEMU too. Why ? It's possible to install FPC packages on QEMUed RaspberriPI DEBIAN: # apt-get install fpc fcl-base fcl-db postgresql-dev libx11-dev ... and build MSEgui apps on regular desktop machine (run in VM though). ---

Re: [MSEide-MSEgui-talk] compiling mseide-msegui on ARMHF

2014-11-27 Thread Martin Schreiber
On Thursday 27 November 2014 18:07:19 Ivanko B wrote: > I prefer to debug on real hardware, especially for hardware coupled > applications (embedded). And cross compiling is necessary for QUEMU too. > ;-) > Have You bought a RaspberryPi handheld/miniboard ? > (it's cheep though)/ >

Re: [MSEide-MSEgui-talk] compiling mseide-msegui on ARMHF

2014-11-27 Thread Geoffrey Barton
On 27 Nov 2014, at 17:01, Martin Schreiber wrote: > On Thursday 27 November 2014 17:47:15 Geoffrey Barton wrote: >> >> I have had to increase the $RUNTARGET} 'wait before connect' box to 10 >> seconds to allow me time to type in the SSH key passphrase, otherwise I get >> GDB timeout. Is there

Re: [MSEide-MSEgui-talk] compiling mseide-msegui on ARMHF

2014-11-27 Thread Ivanko B
Please use public key authentication: https://help.ubuntu.com/community/SSH/OpenSSH/Keys Do not set a passphrase for your private key! Correct. It's even possible to build a permanent tunnel connection over SSH - either with "ssh -w" (via TUN intefaces) or VDE plug&pipes (via

Re: [MSEide-MSEgui-talk] compiling mseide-msegui on ARMHF

2014-11-27 Thread Ivanko B
I prefer to debug on real hardware, especially for hardware coupled applications (embedded). And cross compiling is necessary for QUEMU too. ;-) Have You bought a RaspberryPi handheld/miniboard ? (it's cheep though)/

Re: [MSEide-MSEgui-talk] compiling mseide-msegui on ARMHF

2014-11-27 Thread Ivanko B
I have had to increase the $RUNTARGET} 'wait before connect' box to 10 seconds to allow me time to type in the SSH key passphrase, otherwise I get GDB timeout. Is there any way around having to type the passphrase every time? Just don't set a pasword on SSH key pair when ssh-keyge

Re: [MSEide-MSEgui-talk] compiling mseide-msegui on ARMHF

2014-11-27 Thread Martin Schreiber
On Thursday 27 November 2014 17:55:12 Ivanko B wrote: > Now I can cross compile and remote debug the Raspberry Pi with MSEide as it > would be local. > == > On QEMUed RasperyPI we can even run locally built MSEgui apps in X11 > regular desktop - no need in crosscompiling & remote debugg

Re: [MSEide-MSEgui-talk] compiling mseide-msegui on ARMHF

2014-11-27 Thread Martin Schreiber
On Thursday 27 November 2014 17:47:15 Geoffrey Barton wrote: > > I have had to increase the $RUNTARGET} 'wait before connect' box to 10 > seconds to allow me time to type in the SSH key passphrase, otherwise I get > GDB timeout. Is there any way around having to type the passphrase every > time? >

Re: [MSEide-MSEgui-talk] compiling mseide-msegui on ARMHF

2014-11-27 Thread Ivanko B
Now I can cross compile and remote debug the Raspberry Pi with MSEide as it would be local. == On QEMUed RasperyPI we can even run locally built MSEgui apps in X11 regular desktop - no need in crosscompiling & remote debugging anymore :)

Re: [MSEide-MSEgui-talk] compiling mseide-msegui on ARMHF

2014-11-27 Thread Geoffrey Barton
On 27 Nov 2014, at 16:24, Martin Schreiber wrote: > On Thursday 27 November 2014 17:03:32 Geoffrey Barton wrote: >> On 27 Nov 2014, at 14:35, Geoffrey Barton wrote: >>> would I be right in thinking that ${COPYTARGET} should run before >>> ${RUNTARGET}? >>> >>> When the script runsshgdbserver.s

Re: [MSEide-MSEgui-talk] compiling mseide-msegui on ARMHF

2014-11-27 Thread Martin Schreiber
On Thursday 27 November 2014 17:03:32 Geoffrey Barton wrote: > On 27 Nov 2014, at 14:35, Geoffrey Barton wrote: > > would I be right in thinking that ${COPYTARGET} should run before > > ${RUNTARGET}? > > > > When the script runsshgdbserver.sh runs it finds there is no exe file, > > and I cannot se

Re: [MSEide-MSEgui-talk] compiling mseide-msegui on ARMHF

2014-11-27 Thread Martin Schreiber
On Thursday 27 November 2014 15:35:21 Geoffrey Barton wrote: > would I be right in thinking that ${COPYTARGET} should run before > ${RUNTARGET}? > Yes. > When the script runsshgdbserver.sh runs it finds there is no exe file, and > I cannot see one in the remote directory either. It is as though >

Re: [MSEide-MSEgui-talk] compiling mseide-msegui on ARMHF

2014-11-27 Thread Geoffrey Barton
On 27 Nov 2014, at 14:35, Geoffrey Barton wrote: > would I be right in thinking that ${COPYTARGET} should run before > ${RUNTARGET}? > > When the script runsshgdbserver.sh runs it finds there is no exe file, and I > cannot see one in the remote directory either. It is as though $COPYTARGET}

Re: [MSEide-MSEgui-talk] compiling mseide-msegui on ARMHF

2014-11-27 Thread Geoffrey Barton
would I be right in thinking that ${COPYTARGET} should run before ${RUNTARGET}? When the script runsshgdbserver.sh runs it finds there is no exe file, and I cannot see one in the remote directory either. It is as though $COPYTARGET} has not run. How can I debug this? -hold and --wait do not seem

Re: [MSEide-MSEgui-talk] compiling mseide-msegui on ARMHF

2014-11-27 Thread Martin Schreiber
On Wednesday 26 November 2014 18:49:18 Martin Schreiber wrote: > On Wednesday 26 November 2014 18:41:42 Geoffrey Barton wrote: > > On 26 Nov 2014, at 17:33, Martin Schreiber wrote: > > > On Tuesday 25 November 2014 18:03:31 Martin Schreiber wrote: > > >>> except it is compiled as > > >>> soft-floa

Re: [MSEide-MSEgui-talk] compiling mseide-msegui on ARMHF

2014-11-26 Thread Martin Schreiber
On Wednesday 26 November 2014 19:13:49 Geoffrey Barton wrote: > > > > Putting '-hold' in ${RUNTARGET} holds the xterm window when running > > runsshgdbserver.sh. This shows 'bash: gdbserver: command not found. (need > > to add this to dependencies?) > > now with gdbserver on remote: stops at > Good

Re: [MSEide-MSEgui-talk] compiling mseide-msegui on ARMHF

2014-11-26 Thread Geoffrey Barton
On 26 Nov 2014, at 17:40, Geoffrey Barton wrote: > > On 26 Nov 2014, at 17:13, Martin Schreiber wrote: > >> On Wednesday 26 November 2014 17:59:01 Geoffrey Barton wrote: >> works for me. >>> >>> I can only get the copytarget xterm cp ...etc... to work if I am root. >>> >> Then there i

Re: [MSEide-MSEgui-talk] compiling mseide-msegui on ARMHF

2014-11-26 Thread Martin Schreiber
On Wednesday 26 November 2014 18:41:31 Ivanko B wrote: > > MSEide git master 14c7c80b507147bf2ad9661540c215faac621afe compiles for > > me with a linux-x86 -> ARM FPC 2.6.5 crosscompiler. Linking fails because > > of missing libraries I need to build or find first. > > Please report your results, I

Re: [MSEide-MSEgui-talk] compiling mseide-msegui on ARMHF

2014-11-26 Thread Geoffrey Barton
On 26 Nov 2014, at 17:49, Martin Schreiber wrote: > On Wednesday 26 November 2014 18:41:42 Geoffrey Barton wrote: >> On 26 Nov 2014, at 17:33, Martin Schreiber wrote: >>> On Tuesday 25 November 2014 18:03:31 Martin Schreiber wrote: > except it is compiled as > soft-float. I thought even

Re: [MSEide-MSEgui-talk] compiling mseide-msegui on ARMHF

2014-11-26 Thread Martin Schreiber
On Wednesday 26 November 2014 18:41:42 Geoffrey Barton wrote: > On 26 Nov 2014, at 17:33, Martin Schreiber wrote: > > On Tuesday 25 November 2014 18:03:31 Martin Schreiber wrote: > >>> except it is compiled as > >>> soft-float. I thought even the PI was HF now? > >> > >> I thought I start with the

Re: [MSEide-MSEgui-talk] compiling mseide-msegui on ARMHF

2014-11-26 Thread Geoffrey Barton
On 26 Nov 2014, at 17:33, Martin Schreiber wrote: > On Tuesday 25 November 2014 18:03:31 Martin Schreiber wrote: >> >>> except it is compiled as >>> soft-float. I thought even the PI was HF now? >> >> I thought I start with the simplest possibility. ;-) >> > I just successfully built a FPC 2.

Re: [MSEide-MSEgui-talk] compiling mseide-msegui on ARMHF

2014-11-26 Thread Ivanko B
> MSEide git master 14c7c80b507147bf2ad9661540c215faac621afe compiles for me > with a linux-x86 -> ARM FPC 2.6.5 crosscompiler. Linking fails because of > missing libraries I need to build or find first. > Please report your results, I assume your system has all necessary > libraries. > > Martin >

Re: [MSEide-MSEgui-talk] compiling mseide-msegui on ARMHF

2014-11-26 Thread Geoffrey Barton
On 26 Nov 2014, at 17:13, Martin Schreiber wrote: > On Wednesday 26 November 2014 17:59:01 Geoffrey Barton wrote: > >>> works for me. >> >> I can only get the copytarget xterm cp ...etc... to work if I am root. >> > Then there is a problem with the access rights of the mounted remote target

Re: [MSEide-MSEgui-talk] compiling mseide-msegui on ARMHF

2014-11-26 Thread Martin Schreiber
On Tuesday 25 November 2014 18:03:31 Martin Schreiber wrote: > > > except it is compiled as > > soft-float. I thought even the PI was HF now? > > I thought I start with the simplest possibility. ;-) > I just successfully built a FPC 2.6.4 eabihf cross compiler. :-) Now the libraries... Martin -

Re: [MSEide-MSEgui-talk] compiling mseide-msegui on ARMHF

2014-11-26 Thread Martin Schreiber
On Wednesday 26 November 2014 17:59:01 Geoffrey Barton wrote: > > works for me. > > I can only get the copytarget xterm cp ...etc... to work if I am root. > Then there is a problem with the access rights of the mounted remote target directory. Alternatively you can use another copy method (scp?)

Re: [MSEide-MSEgui-talk] compiling mseide-msegui on ARMHF

2014-11-26 Thread Geoffrey Barton
On 26 Nov 2014, at 16:14, Martin Schreiber wrote: > On Wednesday 26 November 2014 15:38:59 Geoffrey Barton wrote: >> >>> Does the 'Download command' work? If you add --wait after ${COPYTARGET} >>> the Xterm for that command should stay open so it is possible to see the >>> result. >> >> does n

Re: [MSEide-MSEgui-talk] compiling mseide-msegui on ARMHF

2014-11-26 Thread Geoffrey Barton
On 26 Nov 2014, at 16:14, Martin Schreiber wrote: > On Wednesday 26 November 2014 15:38:59 Geoffrey Barton wrote: >> >>> Does the 'Download command' work? If you add --wait after ${COPYTARGET} >>> the Xterm for that command should stay open so it is possible to see the >>> result. >> >> does n

Re: [MSEide-MSEgui-talk] compiling mseide-msegui on ARMHF

2014-11-26 Thread Martin Schreiber
On Wednesday 26 November 2014 15:38:59 Geoffrey Barton wrote: > > > Does the 'Download command' work? If you add --wait after ${COPYTARGET} > > the Xterm for that command should stay open so it is possible to see the > > result. > > does not wait! > Then you need to debug the "apps/ide/templates/co

Re: [MSEide-MSEgui-talk] compiling mseide-msegui on ARMHF

2014-11-26 Thread Geoffrey Barton
On 26 Nov 2014, at 12:30, Martin Schreiber wrote: > On Wednesday 26 November 2014 13:01:16 Geoffrey Barton wrote: >> >>> If the Xterm closes add >>> " >>> echo Please press enter >>> read >>> " >>> at the end of apps/ide/templates/runsshgdbserver.sh. >> >> that had no effect. >> > That means

Re: [MSEide-MSEgui-talk] compiling mseide-msegui on ARMHF

2014-11-26 Thread Martin Schreiber
On Wednesday 26 November 2014 13:01:16 Geoffrey Barton wrote: > > > If the Xterm closes add > > " > > echo Please press enter > > read > > " > > at the end of apps/ide/templates/runsshgdbserver.sh. > > that had no effect. > That means you don't see the Xterm with the message "Please press enter"?

Re: [MSEide-MSEgui-talk] compiling mseide-msegui on ARMHF

2014-11-26 Thread Geoffrey Barton
On 26 Nov 2014, at 06:43, Martin Schreiber wrote: > On Tuesday 25 November 2014 20:02:50 Geoffrey Barton wrote: >> >> ok, did that. Now I get the chance to enter the target user password but:- >> > I suggest to setup a SSH login without password (public key authentication): ok, did that. > h

Re: [MSEide-MSEgui-talk] compiling mseide-msegui on ARMHF

2014-11-25 Thread Martin Schreiber
On Tuesday 25 November 2014 20:02:50 Geoffrey Barton wrote: > > ok, did that. Now I get the chance to enter the target user password but:- > I suggest to setup a SSH login without password (public key authentication): https://help.ubuntu.com/community/SSH/OpenSSH/Keys Don't set a passphrase for you

Re: [MSEide-MSEgui-talk] compiling mseide-msegui on ARMHF

2014-11-25 Thread Geoffrey Barton
On 25 Nov 2014, at 17:49, Martin Schreiber wrote: > On Tuesday 25 November 2014 18:03:31 Martin Schreiber wrote: >>> 2 I get a message briefly on >>> the screen. It starts 'start gdb server' but it is not there long enough >>> to read. >> >> It should open a Xterm with the SSH connection to t

Re: [MSEide-MSEgui-talk] compiling mseide-msegui on ARMHF

2014-11-25 Thread Martin Schreiber
On Tuesday 25 November 2014 18:03:31 Martin Schreiber wrote: > > 2 I get a message briefly on > > the screen. It starts 'start gdb server' but it is not there long enough > > to read. > > It should open a Xterm with the SSH connection to the gdb server on the > target. Probably the gdb server clo

Re: [MSEide-MSEgui-talk] compiling mseide-msegui on ARMHF

2014-11-25 Thread Martin Schreiber
On Tuesday 25 November 2014 17:19:25 Geoffrey Barton wrote: > > > > Please report if it works for you. > > YES! > up to a point:- > > 1 what does > mean? Does it mean the git checkout? or what? The directory of the git checkout. I use a separate checkout for cross compiling in order to speed

Re: [MSEide-MSEgui-talk] compiling mseide-msegui on ARMHF

2014-11-25 Thread Geoffrey Barton
On 24 Nov 2014, at 08:06, Martin Schreiber wrote: > On Monday 17 November 2014 10:19:34 Geoffrey Barton wrote: >> >>> Another option is cross compiling and debugging with MSEide on a linux PC >>> which also works very well. I plan to publish a MSEide cross compiling >>> package with the next MS

Re: [MSEide-MSEgui-talk] compiling mseide-msegui on ARMHF

2014-11-24 Thread Martin Schreiber
Am 24.11.2014 14:10, schrieb Patrick Goupell: > > I also set up cross compile projects for linux 32/64 bit and windows > 32/64 bit when I create the downloads for the msegui.org website. > > I would suggest you make your "CROSSMSEDIR" and other macro names > somelthing more meaningful like "ARMMSED

Re: [MSEide-MSEgui-talk] compiling mseide-msegui on ARMHF

2014-11-24 Thread Patrick Goupell
On 11/24/2014 03:06 AM, Martin Schreiber wrote: > > MSEide+MSEgui git master b2ff27a1381c06444daa4c0ef6ec959bdde05fa3 has a > project template for Linux i386->arm cross compiling and remote debugging. > >From README.TXT: > " > Crosscompiling and remote debugging i386-linux -> arm-linux > *

Re: [MSEide-MSEgui-talk] compiling mseide-msegui on ARMHF

2014-11-24 Thread Martin Schreiber
On Monday 17 November 2014 10:19:34 Geoffrey Barton wrote: > > > Another option is cross compiling and debugging with MSEide on a linux PC > > which also works very well. I plan to publish a MSEide cross compiling > > package with the next MSEide+MSEgui release. > > I look forward to that. As I am

Re: [MSEide-MSEgui-talk] compiling mseide-msegui on ARMHF

2014-11-20 Thread Martin Schreiber
On Thursday 20 November 2014 16:46:56 Geoffrey Barton wrote: > > The 'facedemo' example fails with SIGSEGV too. > Can not reproduce, it works for me. Martin -- Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Se

Re: [MSEide-MSEgui-talk] compiling mseide-msegui on ARMHF

2014-11-20 Thread Geoffrey Barton
On 20 Nov 2014, at 14:18, Geoffrey Barton wrote: > > On 20 Nov 2014, at 12:26, Martin Schreiber wrote: > >> On Thursday 20 November 2014 12:23:33 Geoffrey Barton wrote: It loads it into gdb. >>> >>> runs ok in gdb. >>> Try to start the program by 'Target'-'Next Instruction',

Re: [MSEide-MSEgui-talk] compiling mseide-msegui on ARMHF

2014-11-20 Thread Geoffrey Barton
On 20 Nov 2014, at 12:26, Martin Schreiber wrote: > On Thursday 20 November 2014 12:23:33 Geoffrey Barton wrote: >>> >>> It loads it into gdb. >> >> runs ok in gdb. >> >>> Try to start the program by 'Target'-'Next Instruction', >>> open the assembler window, step through the assembler code a

Re: [MSEide-MSEgui-talk] compiling mseide-msegui on ARMHF

2014-11-20 Thread Martin Schreiber
On Thursday 20 November 2014 12:23:33 Geoffrey Barton wrote: > > > > It loads it into gdb. > > runs ok in gdb. > > > Try to start the program by 'Target'-'Next Instruction', > > open the assembler window, step through the assembler code and check what > > happens. > > it goes to 'Stop error:' > Wor

Re: [MSEide-MSEgui-talk] compiling mseide-msegui on ARMHF

2014-11-20 Thread Martin Schreiber
On Wednesday 19 November 2014 19:39:34 Geoffrey Barton wrote: > On 19 Nov 2014, at 16:26, Martin Schreiber wrote: > > On Wednesday 19 November 2014 12:41:34 Geoffrey Barton wrote: > >> I am getting 'access violation' when I try and save files. New project > >> seems to create the template files ok

Re: [MSEide-MSEgui-talk] compiling mseide-msegui on ARMHF

2014-11-20 Thread Geoffrey Barton
On 20 Nov 2014, at 09:34, Martin Schreiber wrote: > On Thursday 20 November 2014 10:04:03 Geoffrey Barton wrote: >>> Can not reproduce, works for me with FPC 2.4.6 armel-eabi from here: >>> ftp://gd.tuwien.ac.at/languages/pascal/fpc/dist/2.6.4/arm-linux/fpc-2.6.4 >>> .arm-linux.tar >> >> any id

Re: [MSEide-MSEgui-talk] compiling mseide-msegui on ARMHF

2014-11-20 Thread Martin Schreiber
On Thursday 20 November 2014 10:04:03 Geoffrey Barton wrote: > > Can not reproduce, works for me with FPC 2.4.6 armel-eabi from here: > > ftp://gd.tuwien.ac.at/languages/pascal/fpc/dist/2.6.4/arm-linux/fpc-2.6.4 > >.arm-linux.tar > > any idea how to debug it? When the IDE runs the app, what else is

Re: [MSEide-MSEgui-talk] compiling mseide-msegui on ARMHF

2014-11-20 Thread Geoffrey Barton
On 20 Nov 2014, at 06:54, Martin Schreiber wrote: > On Wednesday 19 November 2014 19:39:34 Geoffrey Barton wrote: >> >> ok, this saves now, and compiles. I just edited the caption on the buttion >> of the 'demo' program. app does not run in ide 'Signal received. Signal >> SiGSEGV, Segmentation

Re: [MSEide-MSEgui-talk] compiling mseide-msegui on ARMHF

2014-11-19 Thread Martin Schreiber
On Wednesday 19 November 2014 19:39:34 Geoffrey Barton wrote: > > ok, this saves now, and compiles. I just edited the caption on the buttion > of the 'demo' program. app does not run in ide 'Signal received. Signal > SiGSEGV, Segmentation fault. Function _start'. > Can not reproduce, works for me

Re: [MSEide-MSEgui-talk] compiling mseide-msegui on ARMHF

2014-11-19 Thread Geoffrey Barton
On 19 Nov 2014, at 16:26, Martin Schreiber wrote: > On Wednesday 19 November 2014 12:41:34 Geoffrey Barton wrote: >> I am getting 'access violation' when I try and save files. New project >> seems to create the template files ok and in the specified place, but >> trying to save the form after ad

Re: [MSEide-MSEgui-talk] compiling mseide-msegui on ARMHF

2014-11-19 Thread Martin Schreiber
On Wednesday 19 November 2014 12:41:34 Geoffrey Barton wrote: > I am getting 'access violation' when I try and save files. New project > seems to create the template files ok and in the specified place, but > trying to save the form after adding a component causes the access > violation, also tryin

Re: [MSEide-MSEgui-talk] compiling mseide-msegui on ARMHF

2014-11-19 Thread Martin Schreiber
On Wednesday 19 November 2014 12:41:34 Geoffrey Barton wrote: > I am getting 'access violation' when I try and save files. New project > seems to create the template files ok and in the specified place, but > trying to save the form after adding a component causes the access > violation, also tryin

Re: [MSEide-MSEgui-talk] compiling mseide-msegui on ARMHF

2014-11-19 Thread Geoffrey Barton
I am getting 'access violation' when I try and save files. New project seems to create the template files ok and in the specified place, but trying to save the form after adding a component causes the access violation, also trying to build or make, presumably at the point at which it saves the m

Re: [MSEide-MSEgui-talk] compiling mseide-msegui on ARMHF

2014-11-17 Thread Geoffrey Barton
On 17 Nov 2014, at 09:02, Martin Schreiber wrote: > On Monday 17 November 2014 09:32:52 Geoffrey Barton wrote: >> >> yes, that works. Now compiles and runs! >> > Has MSEide a usable performace on your system? very much so. The power of the tool makes it worth while. Probably, for a complex g

Re: [MSEide-MSEgui-talk] compiling mseide-msegui on ARMHF

2014-11-17 Thread Martin Schreiber
On Monday 17 November 2014 09:32:52 Geoffrey Barton wrote: > > yes, that works. Now compiles and runs! > Has MSEide a usable performace on your system? It works surprisingly well on Raspberry pi. Compiling is a little bit slow. We probably need to wait for MSElang where compiling speed has a high

Re: [MSEide-MSEgui-talk] compiling mseide-msegui on ARMHF

2014-11-17 Thread Geoffrey Barton
On 17 Nov 2014, at 05:59, Martin Schreiber wrote: > On Sunday 16 November 2014 19:55:03 Geoffrey Barton wrote: >> On 16 Nov 2014, at 18:34, Martin Schreiber wrote: >>> >>> Please try again with git master >>> 455663cd83e664db1f4a2dbbb72e5ef2cb13f80f, works for me on the Raspberry >>> pi. :-) >

Re: [MSEide-MSEgui-talk] compiling mseide-msegui on ARMHF

2014-11-16 Thread Martin Schreiber
On Sunday 16 November 2014 19:55:03 Geoffrey Barton wrote: > > trying to compile the 'demo' project on mseide initially it tried to use > ppc386, Should be fixed in git master 907ccec7111862fde3e92334df6736081f85068e. Martin --

Re: [MSEide-MSEgui-talk] compiling mseide-msegui on ARMHF

2014-11-16 Thread Martin Schreiber
On Sunday 16 November 2014 19:55:03 Geoffrey Barton wrote: > On 16 Nov 2014, at 18:34, Martin Schreiber wrote: > > > > Please try again with git master > > 455663cd83e664db1f4a2dbbb72e5ef2cb13f80f, works for me on the Raspberry > > pi. :-) > > yes, it runs now :-) > > trying to compile the 'demo'

Re: [MSEide-MSEgui-talk] compiling mseide-msegui on ARMHF

2014-11-16 Thread Geoffrey Barton
On 16 Nov 2014, at 18:34, Martin Schreiber wrote: > On Saturday 15 November 2014 11:00:07 Geoffrey Barton wrote: >> On 15 Nov 2014, at 08:29, Martin Schreiber wrote: >>> On Friday 14 November 2014 18:50:36 Martin Schreiber wrote: Works basically. Current problem: xopendisplay() does not wo

Re: [MSEide-MSEgui-talk] compiling mseide-msegui on ARMHF

2014-11-16 Thread Martin Schreiber
On Saturday 15 November 2014 11:00:07 Geoffrey Barton wrote: > On 15 Nov 2014, at 08:29, Martin Schreiber wrote: > > On Friday 14 November 2014 18:50:36 Martin Schreiber wrote: > >> Works basically. Current problem: xopendisplay() does not work if the > >> inferior has been started by gdbserver. H

Re: [MSEide-MSEgui-talk] compiling mseide-msegui on ARMHF

2014-11-15 Thread Martin Schreiber
On Saturday 15 November 2014 11:59:26 Geoffrey Barton wrote: > > I can reproduce the AV in MSEide. There is another problem with the > > fontheight = 1 pixel in the "hello" program on Raspberry pi I like to fix > > first. Do you get an normal font in the "hello" program? > > BTW, cross compiling a

Re: [MSEide-MSEgui-talk] compiling mseide-msegui on ARMHF

2014-11-15 Thread Geoffrey Barton
On 15 Nov 2014, at 10:01, Martin Schreiber wrote: > On Saturday 15 November 2014 10:48:18 Geoffrey Barton wrote: >> On 15 Nov 2014, at 08:29, Martin Schreiber wrote: >>> On Friday 14 November 2014 18:50:36 Martin Schreiber wrote: Works basically. Current problem: xopendisplay() does not wo

Re: [MSEide-MSEgui-talk] compiling mseide-msegui on ARMHF

2014-11-15 Thread Geoffrey Barton
On 15 Nov 2014, at 10:01, Martin Schreiber wrote: > On Saturday 15 November 2014 10:48:18 Geoffrey Barton wrote: >> On 15 Nov 2014, at 08:29, Martin Schreiber wrote: >>> On Friday 14 November 2014 18:50:36 Martin Schreiber wrote: Works basically. Current problem: xopendisplay() does not wo

Re: [MSEide-MSEgui-talk] compiling mseide-msegui on ARMHF

2014-11-15 Thread Martin Schreiber
On Saturday 15 November 2014 11:00:07 Geoffrey Barton wrote: > On 15 Nov 2014, at 08:29, Martin Schreiber wrote: > > On Friday 14 November 2014 18:50:36 Martin Schreiber wrote: > >> Works basically. Current problem: xopendisplay() does not work if the > >> inferior has been started by gdbserver. H

Re: [MSEide-MSEgui-talk] compiling mseide-msegui on ARMHF

2014-11-15 Thread Martin Schreiber
On Saturday 15 November 2014 10:48:18 Geoffrey Barton wrote: > On 15 Nov 2014, at 08:29, Martin Schreiber wrote: > > On Friday 14 November 2014 18:50:36 Martin Schreiber wrote: > >> Works basically. Current problem: xopendisplay() does not work if the > >> inferior has been started by gdbserver. H

Re: [MSEide-MSEgui-talk] compiling mseide-msegui on ARMHF

2014-11-15 Thread Geoffrey Barton
On 15 Nov 2014, at 08:29, Martin Schreiber wrote: > On Friday 14 November 2014 18:50:36 Martin Schreiber wrote: >> >> Works basically. Current problem: xopendisplay() does not work if the >> inferior has been started by gdbserver. Has anybody an idea? An access >> right problem? >> > Got it wo

Re: [MSEide-MSEgui-talk] compiling mseide-msegui on ARMHF

2014-11-15 Thread Geoffrey Barton
On 15 Nov 2014, at 08:29, Martin Schreiber wrote: > On Friday 14 November 2014 18:50:36 Martin Schreiber wrote: >> >> Works basically. Current problem: xopendisplay() does not work if the >> inferior has been started by gdbserver. Has anybody an idea? An access >> right problem? >> > Got it wo

Re: [MSEide-MSEgui-talk] compiling mseide-msegui on ARMHF

2014-11-15 Thread Martin Schreiber
On Friday 14 November 2014 18:50:36 Martin Schreiber wrote: > > Works basically. Current problem: xopendisplay() does not work if the > inferior has been started by gdbserver. Has anybody an idea? An access > right problem? > Got it working. Martin --

Re: [MSEide-MSEgui-talk] compiling mseide-msegui on ARMHF

2014-11-14 Thread Martin Schreiber
On Thursday 13 November 2014 15:02:07 Martin Schreiber wrote: > > I could reproduce and fix the problem (git master > b4d69b41b2a17312cf3556cbffd20d1d883141d5) but there are more. I need to > setup a cross compile and remote debug environment first in order to work > productive, it will take a whil

Re: [MSEide-MSEgui-talk] compiling mseide-msegui on ARMHF

2014-11-13 Thread Geoffrey Barton
On 13 Nov 2014, at 14:02, Martin Schreiber wrote: > On Wednesday 12 November 2014 12:50:13 Geoffrey Barton wrote: >> >> herewith:- >> >> >> >> Program received signal SIGSEGV, Segmentation fault. >> 0x000162dc in fpc_dynarray_decr_ref () >> (gdb) bt >> #0 0x000162dc in fpc_dynarray_decr_ref

Re: [MSEide-MSEgui-talk] compiling mseide-msegui on ARMHF

2014-11-13 Thread Martin Schreiber
On Wednesday 12 November 2014 12:50:13 Geoffrey Barton wrote: > > herewith:- > > > > Program received signal SIGSEGV, Segmentation fault. > 0x000162dc in fpc_dynarray_decr_ref () > (gdb) bt > #0 0x000162dc in fpc_dynarray_decr_ref () > #1 0x00384d54 in READDEFDATA (READER=0xb6d125c0, > DATA=

Re: [MSEide-MSEgui-talk] compiling mseide-msegui on ARMHF

2014-11-12 Thread Martin Schreiber
On Wednesday 12 November 2014 14:50:13 Geoffrey Barton wrote: > > > > Please set a breakpoint in lib/common/sysutils/msesysenv.pas:1051 and > > check why it crashes. ;-) > > sysenvdefty(data).anames should be NIL it probably has a random value. > > attempts to read sysenvdefty(data).anames just giv

Re: [MSEide-MSEgui-talk] compiling mseide-msegui on ARMHF

2014-11-12 Thread Michael Schnell
On 11/12/2014 01:40 PM, Martin Schreiber wrote: > AFAIK you have a BeagleBone, please test MSEide+MSEgui on that device. Sorry. I don't have one. I do have colleagues who have BeagleBones and who have Odroids. -Michael

Re: [MSEide-MSEgui-talk] compiling mseide-msegui on ARMHF

2014-11-12 Thread Geoffrey Barton
On 12 Nov 2014, at 12:36, Martin Schreiber wrote: > On Wednesday 12 November 2014 12:50:13 Geoffrey Barton wrote: >> >>> I just got a Raspberry pi but it does not work >> >> what does not work? FPC? >> > It does not boot, maybe the SD with the boot image I bought is bad. I'll > check > it l

Re: [MSEide-MSEgui-talk] compiling mseide-msegui on ARMHF

2014-11-12 Thread Martin Schreiber
On Wednesday 12 November 2014 12:27:53 Michael Schnell wrote: > On 11/12/2014 12:06 PM, Martin Schreiber wrote: > > Now we need to fix MSEide-ARM. I just got a Raspberry pi but it does > > not work so you need to debug MSEide youself. > > IMHO, in this class of devices, as well Odroid as BeaglerBo

Re: [MSEide-MSEgui-talk] compiling mseide-msegui on ARMHF

2014-11-12 Thread Martin Schreiber
On Wednesday 12 November 2014 12:50:13 Geoffrey Barton wrote: > > > I just got a Raspberry pi but it does not work > > what does not work? FPC? > It does not boot, maybe the SD with the boot image I bought is bad. I'll check it later. > > Program received signal SIGSEGV, Segmentation fault. > 0x00

Re: [MSEide-MSEgui-talk] compiling mseide-msegui on ARMHF

2014-11-12 Thread Michael Schnell
On 11/12/2014 12:06 PM, Martin Schreiber wrote: > Now we need to fix MSEide-ARM. I just got a Raspberry pi but it does > not work so you need to debug MSEide youself. IMHO, in this class of devices, as well Odroid as BeaglerBone are much more interesting than Raspberry pi. So don't forget to tes

Re: [MSEide-MSEgui-talk] compiling mseide-msegui on ARMHF

2014-11-12 Thread Geoffrey Barton
On 12 Nov 2014, at 11:06, Martin Schreiber wrote: > On Wednesday 12 November 2014 11:19:53 Geoffrey Barton wrote: > >>> Please compile with -B, another FPC unit loading problem, happens often. >> >> ok. Now compiles and runs ok. >> >> So does Patrick's 'startproject' once -B is added >> > :-

Re: [MSEide-MSEgui-talk] compiling mseide-msegui on ARMHF

2014-11-12 Thread Martin Schreiber
On Wednesday 12 November 2014 11:19:53 Geoffrey Barton wrote: > > Please compile with -B, another FPC unit loading problem, happens often. > > ok. Now compiles and runs ok. > > So does Patrick's 'startproject' once -B is added > :-) Now we need to fix MSEide-ARM. I just got a Raspberry pi but it d

Re: [MSEide-MSEgui-talk] compiling mseide-msegui on ARMHF

2014-11-12 Thread Geoffrey Barton
On 12 Nov 2014, at 09:27, Martin Schreiber wrote: > On Wednesday 12 November 2014 10:13:38 Geoffrey Barton wrote: > >>> Yes, for example the attached program. >> >> Compilation fails:- >> >> An unhandled exception occurred at $0002EB2C : >> EListError : List index exceeds bounds (1) >> $0002

Re: [MSEide-MSEgui-talk] compiling mseide-msegui on ARMHF

2014-11-12 Thread Martin Schreiber
On Wednesday 12 November 2014 10:13:38 Geoffrey Barton wrote: > > Yes, for example the attached program. > > Compilation fails:- > > An unhandled exception occurred at $0002EB2C : > EListError : List index exceeds bounds (1) > $0002EB2C > Please compile with -B, another FPC unit loading problem,

Re: [MSEide-MSEgui-talk] compiling mseide-msegui on ARMHF

2014-11-12 Thread Geoffrey Barton
On 11 Nov 2014, at 17:33, Martin Schreiber wrote: > On Tuesday 11 November 2014 17:43:59 Geoffrey Barton wrote: > >> >> I have no idea. I would not know where to start.I have been looking at the >> various compiler configurations, but there seem to be bits all over the >> place and the documen

Re: [MSEide-MSEgui-talk] compiling mseide-msegui on ARMHF

2014-11-12 Thread Geoffrey Barton
On 11 Nov 2014, at 16:55, Patrick Goupell wrote: > > On 11/11/2014 11:43 AM, Geoffrey Barton wrote: >>> Suggestion: First compile a minimal MSEgui application. > > You can download the startproject.zip from the msegui.org webstie > Tutorials page. > > Unzip the source and compile (change the

Re: [MSEide-MSEgui-talk] compiling mseide-msegui on ARMHF

2014-11-11 Thread Martin Schreiber
On Tuesday 11 November 2014 17:43:59 Geoffrey Barton wrote: > > I have no idea. I would not know where to start.I have been looking at the > various compiler configurations, but there seem to be bits all over the > place and the documentation is diffuse too. I would really like to start > with a k

Re: [MSEide-MSEgui-talk] compiling mseide-msegui on ARMHF

2014-11-11 Thread Patrick Goupell
On 11/11/2014 11:43 AM, Geoffrey Barton wrote: >> Suggestion: First compile a minimal MSEgui application. You can download the startproject.zip from the msegui.org webstie Tutorials page. Unzip the source and compile (change the file locations from /data/patrick/mseide-msegui/lib/ to your path

Re: [MSEide-MSEgui-talk] compiling mseide-msegui on ARMHF

2014-11-11 Thread Geoffrey Barton
On 11 Nov 2014, at 16:26, Martin Schreiber wrote: > On Tuesday 11 November 2014 17:08:24 Geoffrey Barton wrote: >>> Please compile with -B -gl in order to get a more informative stack >>> trace. >> >> result:- >> >> An unhandled exception occurred at $000DC220 : >> EReadError : Error reading s

Re: [MSEide-MSEgui-talk] compiling mseide-msegui on ARMHF

2014-11-11 Thread Martin Schreiber
On Tuesday 11 November 2014 17:08:24 Geoffrey Barton wrote: > > Please compile with -B -gl in order to get a more informative stack > > trace. > > result:- > > An unhandled exception occurred at $000DC220 : > EReadError : Error reading sysenv.defs: Access violation > $000DC220 TREADER__READPROPE

Re: [MSEide-MSEgui-talk] compiling mseide-msegui on ARMHF

2014-11-11 Thread Geoffrey Barton
On 11 Nov 2014, at 15:09, Martin Schreiber wrote: > On Tuesday 11 November 2014 14:56:31 Geoffrey Barton wrote: >> On 11 Nov 2014, at 11:57, Martin Schreiber wrote: >>> On Tuesday 11 November 2014 12:17:19 Geoffrey Barton wrote: it now loads fpimage from fpccompatibility, and fails at:- >>

Re: [MSEide-MSEgui-talk] compiling mseide-msegui on ARMHF

2014-11-11 Thread Martin Schreiber
On Tuesday 11 November 2014 14:56:31 Geoffrey Barton wrote: > On 11 Nov 2014, at 11:57, Martin Schreiber wrote: > > On Tuesday 11 November 2014 12:17:19 Geoffrey Barton wrote: > >> it now loads fpimage from fpccompatibility, and fails at:- > >> > >> msedb.pas(2822,10) Error: Identifier not found "

Re: [MSEide-MSEgui-talk] compiling mseide-msegui on ARMHF

2014-11-11 Thread Geoffrey Barton
On 11 Nov 2014, at 11:57, Martin Schreiber wrote: > On Tuesday 11 November 2014 12:17:19 Geoffrey Barton wrote: >> it now loads fpimage from fpccompatibility, and fails at:- >> >> msedb.pas(2822,10) Error: Identifier not found "eiconv" >> msedb.pas(2822,17) Error: class type expected, but got "

Re: [MSEide-MSEgui-talk] compiling mseide-msegui on ARMHF

2014-11-11 Thread Martin Schreiber
On Tuesday 11 November 2014 12:17:19 Geoffrey Barton wrote: > it now loads fpimage from fpccompatibility, and fails at:- > > msedb.pas(2822,10) Error: Identifier not found "eiconv" > msedb.pas(2822,17) Error: class type expected, but got "" > msedb.pas(9122) Fatal: There were 2 errors compiling mod

Re: [MSEide-MSEgui-talk] compiling mseide-msegui on ARMHF

2014-11-11 Thread Geoffrey Barton
On 11 Nov 2014, at 11:08, Martin Schreiber wrote: > On Tuesday 11 November 2014 11:59:36 Geoffrey Barton wrote: >> On 11 Nov 2014, at 10:48, Martin Schreiber wrote: >>> On Tuesday 11 November 2014 11:20:39 Geoffrey Barton wrote: yes, I checked that. BTW There was a similar error liste

  1   2   >