Re: [Lazarus] lazbuild not bıild IDE

2015-07-07 Thread Sandro Cumerlato
It looks like the lazbuild stdout message for the parameter:

--primary-config-path=
or
--pcp=

primary config directory, where Lazarus stores its config files.
Default is $HOME/.lazarus

I use it too for my usb stick portable environment.

Sandro
On 7 Jul 2015 19:19, "Juha Manninen"  wrote:

> Works well here.
>
> On Tue, Jul 7, 2015 at 6:53 PM, FreeMan 
> wrote:
> > in terminal:
> > SetPrimaryConfigPath NewValue="/Users/freeman35/.lazarus" ->
> > "/Users/freeman35/.lazarus"
>
> Is that your command line? What does it do?
>
> Juha
>
> --
> ___
> 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


[Lazarus] Disabling wrapper functions, define DisableWrapperFunctions

2015-07-07 Thread Juha Manninen
Hello

Units FileUtil in LazUtils, FileProcs in Codetools and LCLProc in LCL
have wrappers for functions in other units.
This is partly because many functions have been moved to LazUtils
package over time.

I have put the wrappers inside an {$IFnDEF DisableWrapperFunctions}.
In some future release they will be removed.

All component, package and application developers, please compile your
code with define DisableWrapperFunctions.
I hope CCR code authors can do this, too.
Build Lazarus itself by setting the define in Configure Build Lazarus dialog.
For applications use the "Additions and Overrides" and add a Custom
Option -dDisableWrapperFunctions.

Fix uses sections as needed. Function names have not changed, only the
units to use.
The sooner all code can be fixed the better.

Juha

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


Re: [Lazarus] lazbuild not bıild IDE

2015-07-07 Thread Sandro Cumerlato
Now it's perfect! Thank you.

Sandro

On 7 July 2015 at 18:41, Juha Manninen  wrote:
> Ok, sorry, there was an error indeed. Try with r49509. Should work now.
>
> Juha
>
> --
> ___
> 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] lazbuild not bıild IDE

2015-07-07 Thread Juha Manninen
Ok, sorry, there was an error indeed. Try with r49509. Should work now.

Juha

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


Re: [Lazarus] lazbuild not bıild IDE

2015-07-07 Thread Juha Manninen
Works well here.

On Tue, Jul 7, 2015 at 6:53 PM, FreeMan  wrote:
> in terminal:
> SetPrimaryConfigPath NewValue="/Users/freeman35/.lazarus" ->
> "/Users/freeman35/.lazarus"

Is that your command line? What does it do?

Juha

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


Re: [Lazarus] lazbuild not bıild IDE

2015-07-07 Thread Sandro Cumerlato
Lazbuild is still not working:

___ LAZBUILD BUILD-IDE 
An unhandled exception occurred at $004CD01D:
EAccessViolation: Access violation
  $004CD01D  TENVIRONMENTOPTIONS__CREATE,  line 1217 of environmentopts.pp
  $005062C3  TBUILDMANAGER__CREATE,  line 315 of buildmanager.pas
  $00404A7E  TLAZBUILDAPPLICATION__INIT,  line 1093 of lazbuild.lpr
  $00402A3B  TLAZBUILDAPPLICATION__BUILDLAZARUSIDE,  line 503 of lazbuild.lpr
  $00405FA6  TLAZBUILDAPPLICATION__RUN,  line 1426 of lazbuild.lpr
  $00407D32  main,  line 1759 of lazbuild.lpr

Sandro

On 7 July 2015 at 17:53, FreeMan  wrote:
> On 07.07.2015 18:37, Juha Manninen wrote:
>>
>> Try now.
>> I did not get the same error as you but now it should be better anyway.
>>
>> Juha
>
> in r49508:
>
> in terminal:
> SetPrimaryConfigPath NewValue="/Users/freeman35/.lazarus" ->
> "/Users/freeman35/.lazarus"
> An unhandled exception occurred at $00010017D263:
> EAccessViolation: Access violation
>   $00010017D263
>   $0001001E35EA
>   $0001509B
>   $000122E9
>   $00016FA8
>
> in IDE's menu
> Compile package SynEditDsgn 1.0:Aborted
> Compile package ProjTemplates 1.0:Success
>
>
>
> --
> ___
> 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] fast mathematical matrix operations

2015-07-07 Thread luiz americo pereira camara
2015-07-07 10:10 GMT-03:00 Graeme Geldenhuys 
:

> On 2015-07-07 13:36, Andrea Mauri wrote:
> > mrmath actually works on MacOSX. why should be a big problem porting to
> > linux?
>
> Indeed. If you limit the scope to x86 and amd64 CPU's then the port
> shouldn't be too hard. Can you confirm is these are the only CPU types
> you want to target?
>
>
Be aware that calling conventions differ in win64 and non win 64bit.

See "Same 64bit assembly code compiles under windows but not in linux (fpc
260)" and
"win64 calling convention" threads in fpc-devel

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


Re: [Lazarus] lazbuild not bıild IDE

2015-07-07 Thread FreeMan

On 07.07.2015 18:37, Juha Manninen wrote:

Try now.
I did not get the same error as you but now it should be better anyway.

Juha

in r49508:

in terminal:
SetPrimaryConfigPath NewValue="/Users/freeman35/.lazarus" -> 
"/Users/freeman35/.lazarus"

An unhandled exception occurred at $00010017D263:
EAccessViolation: Access violation
  $00010017D263
  $0001001E35EA
  $0001509B
  $000122E9
  $00016FA8

in IDE's menu
Compile package SynEditDsgn 1.0:Aborted
Compile package ProjTemplates 1.0:Success


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


Re: [Lazarus] lazbuild not bıild IDE

2015-07-07 Thread Juha Manninen
On Tue, Jul 7, 2015 at 4:34 PM, FreeMan  wrote:
> Hello Juha, I can not use lazbuild.
> fpc r31196 lazarus r49507  qtx64

Try now.
I did not get the same error as you but now it should be better anyway.

Juha

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


[Lazarus] lazbuild not bıild IDE

2015-07-07 Thread FreeMan

Hello Juha, I can not use lazbuild.
fpc r31196 lazarus r49507  qtx64

this error in terminal:
SetPrimaryConfigPath NewValue="/Users/freeman35/.lazarus" -> 
"/Users/freeman35/.lazarus"

An unhandled exception occurred at $0001001777FB:
EAccessViolation: Access violation
  $0001001777FB
  $0001001DDBB2
  $00015EAB
  $00012FB1
  $00017E18
this error from IDE's menu  Configure "Build lazarus"
Compile package ProjTemplates 1.0:Aborted, warnings:20
projecttemplates.pp(234,8) Warning: Symbol "FindFirstUTF8" is 
deprecated: "Use the function in LazFileUtils unit"

.


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


Re: [Lazarus] fast mathematical matrix operations

2015-07-07 Thread Andrea Mauri

Dear Graeme,

yes, I need it just for x86 and amd64 CPU.
It would be perfect if the actual thread implementation would be unified 
using fpc threads. Anyway my first goal is to have a fpc/lazarus 
implementation for windows and linux 32/64.


Let me know,
Andrea

Il 07/07/2015 15:10, Graeme Geldenhuys ha scritto:

On 2015-07-07 13:36, Andrea Mauri wrote:

mrmath actually works on MacOSX. why should be a big problem porting to
linux?


Indeed. If you limit the scope to x86 and amd64 CPU's then the port
shouldn't be too hard. Can you confirm is these are the only CPU types
you want to target?

Andrea, I might be interested in the bounty. Let me take a closer look
at mrmath and I'll let you know via email in a day.

Regards,
   - Graeme -



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


Re: [Lazarus] fast mathematical matrix operations

2015-07-07 Thread Graeme Geldenhuys
On 2015-07-07 13:36, Andrea Mauri wrote:
> mrmath actually works on MacOSX. why should be a big problem porting to 
> linux?

Indeed. If you limit the scope to x86 and amd64 CPU's then the port
shouldn't be too hard. Can you confirm is these are the only CPU types
you want to target?

Andrea, I might be interested in the bounty. Let me take a closer look
at mrmath and I'll let you know via email in a day.

Regards,
  - Graeme -

-- 
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://fpgui.sourceforge.net/

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


Re: [Lazarus] fast mathematical matrix operations

2015-07-07 Thread Andrea Mauri


Leledumbo has already demonstrated that the fact that mrmath is written
in assembler is likely to be an insurmountable problem.

If there were a version that was buildable (at least initially) without
using assembler you might get somewhere.


mrmath actually works on MacOSX. why should be a big problem porting to 
linux?


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


Re: [Lazarus] fast mathematical matrix operations

2015-07-07 Thread Mark Morgan Lloyd

Andrea Mauri wrote:

Dear all,

I have been on holiday, since I have not seen any answer I try to post 
it again.


Since I am not experienced with thread and actually I am involved in 
other projects I cannot work on it.
I am evaluating to propose a bounty (150 euro. is is acceptable?) to 
make mrmath fully compatible with fpc (and working on win 32/64 linux 
32/64..).

How can I do that?


Leledumbo has already demonstrated that the fact that mrmath is written 
in assembler is likely to be an insurmountable problem.


If there were a version that was buildable (at least initially) without 
using assembler you might get somewhere.



I know that there is a page for bounties:
http://wiki.lazarus.freepascal.org/Bounties

- how can I propose my bounty on the wiki?
- Anybody interested?


Incidentally, have you looked at Vector Pascal 
http://www.dcs.gla.ac.uk/~wpc/reports/compilers/compilerindex/x25.html 
The compiler itself is written in Java but the generated code is... 
interesting.


--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk

[Opinions above are the author's, not those of his employers or colleagues]

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


Re: [Lazarus] fast mathematical matrix operations

2015-07-07 Thread Andrea Mauri

Dear all,

I have been on holiday, since I have not seen any answer I try to post 
it again.


Since I am not experienced with thread and actually I am involved in 
other projects I cannot work on it.
I am evaluating to propose a bounty (150 euro. is is acceptable?) to 
make mrmath fully compatible with fpc (and working on win 32/64 linux 
32/64..).

How can I do that?
I know that there is a page for bounties:
http://wiki.lazarus.freepascal.org/Bounties

- how can I propose my bounty on the wiki?
- Anybody interested?

Thanks,
Andrea

Il 09/06/2015 09:42, Michael Schnell ha scritto:

On 06/08/2015 03:29 PM, Andrea Mauri wrote:


It is difficult for me ;-) since it uses two different thread
implementations (one for windows and one for MAC OS).

That is why I mentioned the Thread-pool implementation. It uses just
TThread and hence is as cross-platform as fpc is.

(In fact I suppose there are several more thread-pool units that are
better tested than my proof of concept.)

-Michael


--
___
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