[Lazarus] Anchordocking on Lazarus 1.3

2014-08-28 Thread Leonardo M. Ramé
Hi, since a couple of months ago I noted Anchordocking is not working as 
expected.


I can arrange a nice layout, and save it as my default layout, but when 
I start Lazarus again, it was commpletely messed up.


Does anyone faced the same issue?.

Regards,
--
Leonardo M. Ramé
http://leonardorame.blogspot.com

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] (no subject)

2014-08-28 Thread Bart
On 8/28/14, Jesus Reyes  wrote:

> Has anybody noticed that you can't get an annotated view of a file in
> ViewVC?
>
> Every time it results in "Error occurred while calculating annotation
> data.", however there is no problem doing it the command line: svn blame
> afile works.

Already reported as http://bugs.freepascal.org/view.php?id=26603
You might want to add the info that commandline blame is working.

Bart

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] How to crosscompile from linux to wince?

2014-08-28 Thread Sven Barth
Am 28.08.2014 17:35 schrieb "FreeMan" :
>
> On 28-08-2014 15:54, Sven Barth wrote:
>>
>> No, that are not those I ment. So better stay with the self compiled
binaries :)
>
>
> Thank you Sven, I can compiled now,
> command line is:
> make clean all install INSTALL_PREFIX=/opt/freepascal/2.7.1
OS_TARGET=wince CPU_TARGET=arm BINUTILSPREFIX=arm-cegcc-
> sudo make crossinstall OS_TARGET=wince CPU_TARGET=arm
BINUTILSPREFIX=arm-cegcc-

You need to specify INSTALL_PREFIX for the crossinstall as well. The make
file will not guess where you might want it to install its files ;)

Note: Because you didn't specify it you'll most likely need to clean up the
files which were now copied to /share/fpc, etc. as the default prefix is
"/" (compare with the folders in /opt/freepascal/2.7.1 to find out what you
should remove)

Regards,
Sven
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] How to crosscompile from linux to wince?

2014-08-28 Thread FreeMan

On 28-08-2014 15:54, Sven Barth wrote:


No, that are not those I ment. So better stay with the self compiled 
binaries :)




Thank you Sven, I can compiled now,
command line is:
make clean all install INSTALL_PREFIX=/opt/freepascal/2.7.1 
OS_TARGET=wince CPU_TARGET=arm BINUTILSPREFIX=arm-cegcc-
sudo make crossinstall OS_TARGET=wince CPU_TARGET=arm 
BINUTILSPREFIX=arm-cegcc-


without problem, I open new project in lazarus IDE, In project options:
Target OS -T "WinCE"
CPU Family -P "arm"
Processor -Cp (Default) {and other all same ARMV3...CORTEXM3}
 on test button click and Reult is:
ERROR: compiled FPC unit not found: system.ppu
ERROR: compiled FPC unit not found: sysutils.ppu
ERROR: compiled FPC unit not found: classes.ppu
ERROR: compiled FPC unit not found: avl_tree.ppu
ERROR: compiled FPC unit not found: zstream.ppu

Close project options via Ok Button, then this error is showing:

Compiler "/opt/freepascal/2.7.1/bin/fpc" does not support target arm-wince


and this errors click build project button, in Messages window:
Compiling package FCL 1.0.1: Exit code 256, Errors: 1
Error: ppcarm can't be executed, error message: Failed to execute 
"ppcarm", error code: 127


I'm stuck again :S

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


[Lazarus] A lazbuild/project dependency issue

2014-08-28 Thread Michael Van Canneyt


Hi (mostly Mattias, I suppose ;) ),

I am using Lazbuild to compile a project that depends on a package "wwclient".
It failed, for no understandable reason.

What am I supposed to do with a message like this:

ERROR: Broken dependency: wwclient 1.0>wwclient 1.0

Besides the fact that the "wwclient 1.0>wwclient 1.0" is obviously wrong, 
I'd like to see in more detail what is really the matter when I get such a message,

so I can fix the problem...

I looked at the sources of lazbuild and packagemanager, but I can't even find the 
line in the code where this error is generated :(


To fix my problem, I opened the project with the IDE, and found that the "wwclient" 
package depends on another package ("synasnap") that cannot be found.


To fix this, I had to raise the version of the "wwclient" package dependency of 
the project.
In the new version of the "wwclient" package, the dependency on "synasnap" is changed to the 
correct dependency "laz_synapse".


After all this, the original project compiled, both in the IDE and using 
lazbuild.

To say the least, the initial error is completely useless in detecting the 
actual problem !
Maybe a better/more correct reason can be given than "wwclient 1.0>wwclient 
1.0" ?

To raise the version of a dependency of a project is also cumbersome:
there is no way to set the version of a dependency once it is added to the project inspector 
(this is possible in the package editor). 
I have removed and re-add it, but it would be better if it was directly settable in the project inspector, 
as it is in the package editor.


Finally, so as not to appear entirely negative, here a positive thing:

when specifying a 'Minimum version' for the 'wwclient' requirement, the IDE correctly warned me that 
it could not find the version I specified. I was surprised, and it turned out the IDE was correct,

I had still to check out the correct version. That was a nice thing :)

Suggestion for improvement:
As a hint to the user, the edit box for 'minimum' and 'maximum' versions of a dependency could be 
replaced with a dropdown listing all 'known' versions ?


Michael.

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] How to crosscompile from linux to wince?

2014-08-28 Thread Sven Barth
Am 28.08.2014 12:52 schrieb "FreeMan" :
>
> Thank you for important hint add last char "-"
>>
>> Isn't there a precompiled package available for Ubuntu?
>
> I'm using Kubuntu(kde)
> I found in repository "gcc-arm-none-eabi" GCC cross compiler for ARM
Cortex-A/R/M processors
> "binutils-arm-none-eabi"

No, that are not those I ment. So better stay with the self compiled
binaries :)

> I installed this packets, under /user folder created "arm-linux-gnueabi"
and "arm-linux-gnueabihf". "as" & "ld" application under
"/user/arm-xx/bin/" folder. each one.

The "-linux-" part should already tell you that it isn't intended to use
them for assembling code for WinCE.

Regards,
Sven
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Cody package crashes

2014-08-28 Thread hinstance
Okay I reported it: http://bugs.freepascal.org/view.php?id=26639

I am posting this message to the mailing list in case package maintainer reads 
it

26.08.2014, 14:33, "hinsta...@yandex.ru" :
> "Show all identifiers" dialog of cody package crashes in certain conditions. 
> When I have my large project loaded, it always crashes.
> ,
>
> --
> ___
> Lazarus mailing list
> Lazarus@lists.lazarus.freepascal.org
> http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] How to crosscompile from linux to wince?

2014-08-28 Thread FreeMan

Thank you for important hint add last char "-"

Isn't there a precompiled package available for Ubuntu?

I'm using Kubuntu(kde)
I found in repository "gcc-arm-none-eabi" GCC cross compiler for ARM 
Cortex-A/R/M processors

"binutils-arm-none-eabi"
I installed this packets, under /user folder created "arm-linux-gnueabi" 
and "arm-linux-gnueabihf". "as" & "ld" application under 
"/user/arm-xx/bin/" folder. each one.


execute this command
make clean all install INSTALL_PREFIX=/opt/freepascal/2.7.1 
OS_TARGET=wince CPU_TARGET=arm BINUTILSPREFIX=arm-linux-gnueabihf-


error is:

/bin/mkdir -p arm/units/arm-wince
/opt/freepascal/2.7.1/compiler/ppcrossarm -Twince -Parm 
-XParm-linux-gnueabihf- -Xr -Ur -Xs -O2 -n -Fuarm -Fusystems 
-Fu/opt/freepascal/2.7.1/rtl/units/arm-wince -Fiarm -FE. 
-FUarm/units/arm-wince -dRELEASE -darm -dGDB -dBROWSERLOG -Sew -darm 
-dGDB -dBROWSERLOG  -Sew pp.pas
pp.pas(238,36) Error: Illegal COFF Magic while reading 
arm/units/arm-wince/pp.o
pp.pas(238,36) Error: Illegal COFF Magic while reading 
/opt/freepascal/2.7.1/rtl/units/arm-wince/system.o
pp.pas(238,36) Error: Illegal COFF Magic while reading 
/opt/freepascal/2.7.1/rtl/units/arm-wince/fpintres.o
pp.pas(238,36) Error: Illegal COFF Magic while reading 
/opt/freepascal/2.7.1/rtl/units/arm-wince/objpas.o
pp.pas(238,36) Error: Illegal COFF Magic while reading 
arm/units/arm-wince/globals.o
pp.pas(238,36) Error: Illegal COFF Magic while reading 
arm/units/arm-wince/compiler.o
pp.pas(238,36) Error: Illegal COFF Magic while reading 
/opt/freepascal/2.7.1/rtl/units/arm-wince/windows.o
pp.pas(238,36) Error: Illegal COFF Magic while reading 
/opt/freepascal/2.7.1/rtl/units/arm-wince/sysutils.o
pp.pas(238,36) Error: Illegal COFF Magic while reading 
arm/units/arm-wince/cutils.o
pp.pas(238,36) Error: Illegal COFF Magic while reading 
arm/units/arm-wince/cclasses.o
pp.pas(238,36) Error: Illegal COFF Magic while reading 
arm/units/arm-wince/cfileutl.o
pp.pas(238,36) Error: Illegal COFF Magic while reading 
arm/units/arm-wince/cpuinfo.o
pp.pas(238,36) Error: Illegal COFF Magic while reading 
arm/units/arm-wince/globtype.o
pp.pas(238,36) Error: Illegal COFF Magic while reading 
arm/units/arm-wince/version.o
pp.pas(238,36) Error: Illegal COFF Magic while reading 
arm/units/arm-wince/systems.o
pp.pas(238,36) Error: Illegal COFF Magic while reading 
/opt/freepascal/2.7.1/rtl/units/arm-wince/dos.o
pp.pas(238,36) Error: Illegal COFF Magic while reading 
/opt/freepascal/2.7.1/rtl/units/arm-wince/sysconst.o
pp.pas(238,36) Error: Illegal COFF Magic while reading 
arm/units/arm-wince/constexp.o
pp.pas(238,36) Error: Illegal COFF Magic while reading 
arm/units/arm-wince/cstreams.o
pp.pas(238,36) Error: Illegal COFF Magic while reading 
arm/units/arm-wince/comphook.o
pp.pas(238,36) Error: Illegal COFF Magic while reading 
arm/units/arm-wince/finput.o
pp.pas(238,36) Error: Illegal COFF Magic while reading 
/opt/freepascal/2.7.1/rtl/units/arm-wince/math.o
pp.pas(238,36) Error: Illegal COFF Magic while reading 
arm/units/arm-wince/verbose.o
pp.pas(238,36) Error: Illegal COFF Magic while reading 
arm/units/arm-wince/options.o
pp.pas(238,36) Error: Illegal COFF Magic while reading 
arm/units/arm-wince/fmodule.o
pp.pas(238,36) Error: Illegal COFF Magic while reading 
arm/units/arm-wince/parser.o
pp.pas(238,36) Error: Illegal COFF Magic while reading 
arm/units/arm-wince/symtable.o
pp.pas(238,36) Error: Illegal COFF Magic while reading 
arm/units/arm-wince/assemble.o
pp.pas(238,36) Error: Illegal COFF Magic while reading 
arm/units/arm-wince/link.o
pp.pas(238,36) Error: Illegal COFF Magic while reading 
arm/units/arm-wince/dbgbase.o
pp.pas(238,36) Error: Illegal COFF Magic while reading 
arm/units/arm-wince/import.o
pp.pas(238,36) Error: Illegal COFF Magic while reading 
arm/units/arm-wince/export.o
pp.pas(238,36) Error: Illegal COFF Magic while reading 
arm/units/arm-wince/tokens.o
pp.pas(238,36) Error: Illegal COFF Magic while reading 
arm/units/arm-wince/pass_1.o
pp.pas(238,36) Error: Illegal COFF Magic while reading 
arm/units/arm-wince/wpobase.o
pp.pas(238,36) Error: Illegal COFF Magic while reading 
arm/units/arm-wince/wpo.o
pp.pas(238,36) Error: Illegal COFF Magic while reading 
arm/units/arm-wince/cpupara.o
pp.pas(238,36) Error: Illegal COFF Magic while reading 
arm/units/arm-wince/cpupi.o
pp.pas(238,36) Error: Illegal COFF Magic while reading 
arm/units/arm-wince/cgcpu.o
pp.pas(238,36) Error: Illegal COFF Magic while reading 
arm/units/arm-wince/cmsgs.o
pp.pas(238,36) Error: Illegal COFF Magic while reading 
arm/units/arm-wince/switches.o
pp.pas(238,36) Error: Illegal COFF Magic while reading 
arm/units/arm-wince/ogbase.o
pp.pas(238,36) Error: Illegal COFF Magic while reading 
arm/units/arm-wince/symbase.o
pp.pas(238,36) Error: Illegal COFF Magic while reading 
arm/units/arm-wince/symconst.o
pp.pas(238,36) Error: Illegal COFF Magic while reading 
arm/units/arm-wince/symsym.o
pp.pas(238,36) Error: Illegal COFF Magic while reading 
arm/units/arm-wince

Re: [Lazarus] How to crosscompile from linux to wince?

2014-08-28 Thread Sven Barth
Am 28.08.2014 11:20 schrieb "FreeMan" :
>
> Thank you for your answer, I think you said this
>
> http://cegcc.sourceforge.net/about.html
> http://cegcc.sourceforge.net/
>
> I download binutils-2.24.tar.gz, make & install.

Isn't there a precompiled package available for Ubuntu?

> this is my command line for fpc:
> make clean all install INSTALL_PREFIX=/opt/freepascal/2.7.1
OS_TARGET=wince CPU_TARGET=arm BINUTILSPREFIX=arm-cegcc
>
> I get this eror:
> system.pp(1778) Error: Assembler arm-cegccas not found, switching to
external assembling
> system.pp(1778) Fatal: There were 1 errors compiling module, stopping
> Fatal: Compilation aborted

You must not forget the "-" at the end of "arm-cegcc-". It's a prefix
afterall and the compiler does not automatically add a "-" for you.

Regards,
Sven
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] How to crosscompile from linux to wince?

2014-08-28 Thread FreeMan

Thank you for your answer, I think you said this

http://cegcc.sourceforge.net/about.html
http://cegcc.sourceforge.net/

I download binutils-2.24.tar.gz, make & install.

this is my command line for fpc:
make clean all install INSTALL_PREFIX=/opt/freepascal/2.7.1 
OS_TARGET=wince CPU_TARGET=arm BINUTILSPREFIX=arm-cegcc


I get this eror:
system.pp(1778) Error: Assembler arm-cegccas not found, switching to 
external assembling

system.pp(1778) Fatal: There were 1 errors compiling module, stopping
Fatal: Compilation aborted


On 27-08-2014 16:43, Sven Barth wrote:


The PXA is an ARM processor, so you need to use "arm" as CPU target. 
Additionally you need the correct binutils. I don't know them for 
Ubuntu, but look for a package like cegcc-binutils or something like 
that. In the end you should have a cegcc-arm-as or similary named 
binary available of which you need to pass the prefix to the "make 
all" as well as parameter (in my example) "BINUTILSPREFIX=cegcc-arm-".
Perhaps you'll also need to adjust the CPU type as I don't know 
remember whether we changed that from the old default...


Regards,
Sven




--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus