Re: [fpc-devel] Request for an interim release of the 3.0 branch

2017-04-30 Thread Yury Sidorov
On 4/28/2017 10:16 PM, Florian Klämpfl wrote: Am 28.04.2017 um 16:05 schrieb Marco van de Voort: In our previous episode, Benito van der Zander said: r35545, too ? (http://bugs.freepascal.org/view.php?id=31135) I need some report on the safety of merging from a compiler dev for that, I

Re: [fpc-devel] Staticaly link C/C++ library (.lib) into FreePascal on Windows

2017-03-16 Thread Yury Sidorov
On 3/16/2017 1:12 PM, LacaK wrote: Then I get: test_IPP.lpr(17,1) Error: undefined reference to `ippGetLibVersion' (I have tried also: _ippGetLibVersion, _ippGetLibVersion@0 ...) I've downloaded the IPP libs and did some tests to make sure that static linking is possible. Thank you very

Re: [fpc-devel] Staticaly link C/C++ library (.lib) into FreePascal on Windows

2017-03-16 Thread Yury Sidorov
On 3/16/2017 12:01 PM, LacaK wrote: Then I get: test_IPP.lpr(17,1) Error: undefined reference to `ippGetLibVersion' (I have tried also: _ippGetLibVersion, _ippGetLibVersion@0 ...) I've downloaded the IPP libs and did some tests to make sure that static linking is possible. The working

Re: [fpc-devel] Staticaly link C/C++ library (.lib) into FreePascal on Windows

2017-03-15 Thread Yury Sidorov
On 3/15/2017 6:06 PM, LacaK wrote: >> >> >> Yes, you can statically link a COFF library created by other compiler. >> >> Use objdump as explained earlier to find out the name of ippiThreshold function in the static library. It may be prefixed with "_". > > But does it works also on Windows ?

Re: [fpc-devel] Staticaly link C/C++ library (.lib) into FreePascal on Windows

2017-03-15 Thread Yury Sidorov
On 3/14/2017 4:47 PM, Ladislav Karrach wrote: Did you try this: function ippiThreshold(pSrcDst: PIpp8u; srcDstStep: int; roiSize: IppiSize; thresholdLT: Ipp8u; valueLT: Ipp8u; thresholdGT: Ipp8u; valueGT: Ipp8u): IppStatus; external 'ippi.dll' name

Re: [fpc-devel] aarch64-android target support

2017-01-24 Thread Yury Sidorov
Hi, As the primary android target maintainer, I can review the patches and apply them if all is ok. But it will be better if the original author create a bug ticket and post the patches there. It will be possible to discuss any issues in the bug tracker. Yury Sidorov. On 1/24/2017 11:12

Re: [fpc-devel] About building JNI library for arm-linux

2016-11-01 Thread Yury Sidorov
On 11/1/2016 3:42 AM, Gennady Agranov wrote: Why do you use LCL in your JNI library? Try a simple library without LCL and check if it loads. It works! Great Thanks! Does anyone know what to do about: Java HotSpot(TM) Client VM warning: You have loaded library

Re: [fpc-devel] About building JNI library for arm-linux

2016-10-31 Thread Yury Sidorov
On 10/31/2016 10:01 PM, Gennady Agranov wrote: I have an issue with loading JNI library for Raspberry :( I do compile with -Cg -WX and stack checking on (and also without). But even this method is not called :( function JNI_OnLoad(vm: PJavaVM; reserved: pointer): jint; {$ifdef

Re: [fpc-devel] aarch64-andriod target support

2016-08-30 Thread Yury Sidorov
Hello, Please provide your patches and I'll review them and apply. Thanks. Yury Sidorov. On 8/29/2016 10:21 AM, Artur Huhtaniemi wrote: Hi! I have written missing rtl initialization part for aarch64-android target with all the necessary modifications in the compiler sources

Re: [fpc-devel] Bug 29760 on FPC 3.0 Win64

2016-03-10 Thread Yury Sidorov
On 3/10/2016 1:06 PM, Jy V wrote: This happens only on Win64 with FPC 3.0 Can somebody please check and confirm ? compiled with official Lazarus 1.6 (SVN revision as displayed in the about box: 51630) console output of your program is: 1.234500E+02*

Re: [fpc-devel] Bug 29760 on FPC 3.0 Win64

2016-03-10 Thread Yury Sidorov
On 3/10/2016 11:33 AM, Michael Van Canneyt wrote: On Thu, 10 Mar 2016, LacaK wrote: Hi, investigating bug #29760 I reduced bug to: var c: currency; d: double; begin c := 123.45; d := 100; writeln(c, '*', d, '=', c*d); // result of multiply is wrong = 12345 end. This happens only

Re: [fpc-devel] Exception problems in FPC 3.0.0

2015-10-29 Thread Yury Sidorov
On 10/29/2015 1:22 PM, Sergio Flores wrote: I've never experienced such issues. You should try to use different NDK versions. I use ndk-r8d. It is stable. I got the latest ndk download, it works fine, most of my problems were derived from using Mingw, switching to Cygwin solved the issues.

Re: [fpc-devel] Exception problems in FPC 3.0.0

2015-10-28 Thread Yury Sidorov
On 10/28/2015 3:07 PM, Sergio Flores wrote: Building a cross compiler is a trivial task even on Windows. Read here ho to do that:http://wiki.freepascal.org/Android I know how to build a crosscompiler, the problem is that doing it in Windows you sometimes get very weird errors (like the

Re: [fpc-devel] Exception problems in FPC 3.0.0

2015-10-27 Thread Yury Sidorov
On 10/27/2015 4:29 PM, Sergio Flores wrote: Yury, I think you're right, I'm using the precompiled binary that indeed seems to been compiled in soft-fpu mode, so that would explain everything, as OpenGL is probably triggering hard fpu exceptions that are not being caught. I tried your asm

Re: [fpc-devel] Exception problems in FPC 3.0.0

2015-10-26 Thread Yury Sidorov
are not masked. You can: - build FPC units from sources with FPU support. or - use the following code to mask FPU exceptions: procedure VFP_SetCW(cw : dword); nostackframe; assembler; asm fmxr fpscr,r0 end; ... VFP_SetCW($1F00); // Mask all FPU exceptions ... Yury Sidorov

Re: [fpc-devel] Win CE CreateFile

2015-10-19 Thread Yury Sidorov
On 10/19/2015 4:20 PM, Carsten Bager wrote: The function system.CreateFile sometimes return a negative value (LongInt) under Win CE when used together with COM ports. When I typecast to LongWord everything works. Is it ment to be that way. Of course a negative value of type LongInt becomes

Re: [fpc-devel] re : FPC app crash with "has text relocations" / android 6.0

2015-09-09 Thread Yury Sidorov
Hello, It seems Android 6.0 forces usage of PIC-enabled shared libraries only. Currently the Android FPC target is not PIC compatible, since the startup assembler code is needed to be converted to PIC. You need to use targetSdkVersion <= 22 until PIC is fixed for the Android target. Y

Re: [fpc-devel] FPC Android crashes in Tegra CPUs

2014-12-25 Thread Yury Sidorov
Hi, To find out an offending instruction it is needed to create a simple console app. Compile it with the -gl switch and run in the Android console. You will get a stack back trace. If the instruction in the RTL, it is needed to recompile it with the -O- -g switches. Yury Sidorov, j...@cp

Re: [fpc-devel] FPC and Windows Phone 8

2014-03-25 Thread Yury Sidorov
: There were 1 errors compiling module, stopping Fatal: Compilation aborted Use make clean crossall ... In such case the native fpc binaries will not be built. Only cross compiler and cross units will be built. See: http://wiki.freepascal.org/Android Yury Sidorov, j...@cp-lab.com

Re: [fpc-devel] Problem with fpcmake when doing crossbuild

2013-05-28 Thread Yury Sidorov
Fixed in r24626. Your guesswork is right :) Yury. - Original Message - From: Michael Ring To: fpc-devel@lists.freepascal.org Sent: Tuesday, May 28, 2013 1:24 PM Subject: Re: [fpc-devel] Problem with fpcmake when doing crossbuild In case my guesswork was right this would be the fix

Re: [fpc-devel] assumed bug in the RTL with ARM v5 regarding loadingdynamic libraries

2013-01-23 Thread Yury Sidorov
only libdl.a Anyway static linking should work too, but you need to link with libc. If you get segfaults when linking to libc, then cprt0.as for arm-linux is buggy. Yury Sidorov. ___ fpc-devel maillist - fpc-devel@lists.freepascal.org http

Re: [fpc-devel] Forwarded message about FPC statusy

2012-12-25 Thread Yury Sidorov
memory pool to avoid costly calls to heap manager and avoid zero filling of small memory chunks. A base class for various FPC nodes should be modified to handle aloocation from the pool... Yury Sidorov, j...@cp-lab.com ___ fpc-devel maillist - fpc

Re: [fpc-devel] Forwarded message about FPC statusy

2012-12-25 Thread Yury Sidorov
From: Florian Klaempfl flor...@freepascal.org Am 25.12.2012 13:39, schrieb Yury Sidorov: It is possible to seed-up compilation by allocating memory for nodes from some zero pre-filled memory pool to avoid costly calls to heap manager and avoid zero filling of small memory chunks. A base class

Re: [fpc-devel] Forwarded message about FPC statusy

2012-12-25 Thread Yury Sidorov
From: Yury Sidorov j...@cp-lab.com From: Florian Klaempfl flor...@freepascal.org Am 25.12.2012 13:39, schrieb Yury Sidorov: It is possible to seed-up compilation by allocating memory for nodes from some zero pre-filled memory pool to avoid costly calls to heap manager and avoid zero filling

Re: [fpc-devel] Forwarded message about FPC statusy

2012-12-25 Thread Yury Sidorov
From: Paul Ishenin paul.ishe...@gmail.com 25.12.12, 21:59, Yury Sidorov пишет: Hmm, Seems to be a false alarm :( I've made some tests just now with memory allocation and found that such pooling will not speed up the compiler too much. Only minor improvement such as 10-20% :( 10-20

Re: [fpc-devel] registry changes

2012-12-24 Thread Yury Sidorov
Hi, OK. I'll add needed defines to registry unit for Windows using this method: HKEY_LOCAL_MACHINE= windows.HKEY_LOCAL_MACHINE Yury Sidorov, j...@cp-lab.com - Original Message - From: Martin To: FPC developers' list Sent: Monday, December 24, 2012 1:13 PM Subject: [fpc-devel

Re: [fpc-devel] Unwanted finalization

2012-10-13 Thread Yury Sidorov
today or tomorrow. Best Regards! Yury Sidorov. - Original Message - From: Ludo Brands ludo.bra...@free.fr To: 'FPC developers' list' fpc-devel@lists.freepascal.org Sent: Saturday, October 13, 2012 6:34 PM Subject: [fpc-devel] Unwanted finalization Dear all, In comobj.pp I'm getting

Re: [fpc-devel] Unwanted finalization

2012-10-13 Thread Yury Sidorov
Hello, The declaration of ITypeInfo.Invoke() is broken now anyway. Some of out parametrs should accept nil values and it is not possible with the current declaration. I doubt that ITypeInfo.Invoke() is used directly by user code. Especially in this broken form. Yury Sidorov, j...@cp-lab.com

Re: [fpc-devel] Unwanted finalization

2012-10-13 Thread Yury Sidorov
Committed in r22638. Thanks. - Original Message - From: Ludo Brands ludo.bra...@free.fr To: 'FPC developers' list' fpc-devel@lists.freepascal.org Sent: Saturday, October 13, 2012 7:26 PM Subject: Re: [fpc-devel] Unwanted finalization Hello, The declaration of ITypeInfo.Invoke() is

Re: [fpc-devel] big resource

2009-07-06 Thread Yury Sidorov
From: Dariusz Mazur dar...@emadar.com Michael Van Canneyt pisze: On Mon, 6 Jul 2009, Dariusz Mazur wrote: Hi I include res file to executed file. Res is compiled by brcc32 from RC. Till now everything work OK. But when i try extract big PNG picture from RES I had wrong size of file.

Re: [fpc-devel] path for *.res file

2009-05-23 Thread Yury Sidorov
From: Vincent Snijders vsnijd...@vodafonevast.nl Jonas Maebe schreef: On 22 May 2009, at 23:00, Dariusz Mazur wrote: How to tell compiler where are *.res files. You can't. As you noticed, they are always searched relative to the directory of the main source file (unless the resource file

Re: [fpc-devel] path for *.res file

2009-05-23 Thread Yury Sidorov
From: Dariusz Mazur dar...@emadar.com Jonas Maebe pisze: On 23 May 2009, at 11:05, Vincent Snijders wrote: Can't the searching be extended to the unit directory. It would make the file C:\fpc\2.2.4\units\i386-win32\fcl-base\fclel.res really useful, now have to copy it to my program dir to

Re: [fpc-devel] How to call windres with parameters that are shortpathwith forward slashes

2009-01-13 Thread Yury Sidorov
From: Vincent Snijders vsnijd...@vodafonevast.nl Vincent Snijders schreef: Hi, separator. Can you give me some guidelines how to write a patch for the compiler? Please review the patch attached to http://bugs.freepascal.org/view.php?id=12645 Looks good to me. Yury.

Re: [fpc-devel] Unicode and UTF8String

2008-12-01 Thread Yury Sidorov
From: Michael Schnell [EMAIL PROTECTED] And yes, if you lazy, you lose performance due to automatic conversions. It has always been that way (also when mixing short and ansistring) Of course you are very right here ! If you are lazy and write your code like you are used to, you will not get

Re: [fpc-devel] Unicode support in RTL - Roadmap

2008-11-24 Thread Yury Sidorov
From: Michael Schnell [EMAIL PROTECTED] It is works for win32 only for now. Only system unit is finished. Work in progress... Sounds great so far ! Is there a document on how exactly it is going to work (will a common String type get a dynamic coding specification or will there be

Re: [fpc-devel] Unicode support in RTL - Roadmap

2008-11-21 Thread Yury Sidorov
From: Florian Klaempfl [EMAIL PROTECTED] Folks, before your waste your time again with endless discussions, have a look at Yury's work on an unicode rtl, test it and help with patches and suggestions, it's available in svn at http://svn.freepascal.org/svn/fpc/branches/unicodertl It is works

Re: [fpc-devel] Bug in FPC and declaring distinct types

2008-09-18 Thread Yury Sidorov
TUTF8String = type ansistring; procedure DoTest(const s: ansistring); overload; begin end; procedure DoTest(const s: TUTF8String); overload; begin end; begin DoTest('1234'); end. //-- Yury Sidorov. ___ fpc-devel maillist - fpc-devel

Re: [fpc-devel] Bug in FPC and declaring distinct types

2008-09-18 Thread Yury Sidorov
From: Florian Klaempfl [EMAIL PROTECTED] Yury Sidorov schrieb: From: Florian Klaempfl [EMAIL PROTECTED] Michael Van Canneyt schrieb: On Thu, 18 Sep 2008, Graeme Geldenhuys wrote: Hi, I was following a discussion in the delphi.non-technical newsgroup. They raised an issue about distinct

Re: [fpc-devel] Bug in FPC and declaring distinct types

2008-09-18 Thread Yury Sidorov
From: Florian Klaempfl [EMAIL PROTECTED] To: FPC developers' list fpc-devel@lists.freepascal.org Sent: Thursday, September 18, 2008 4:14 PM Subject: Re: [fpc-devel] Bug in FPC and declaring distinct types Yury Sidorov schrieb: Yes. But it works only partially. For example the following code

Re: [fpc-devel] Bug in FPC and declaring distinct types

2008-09-18 Thread Yury Sidorov
From: Florian Klaempfl [EMAIL PROTECTED] Yury Sidorov schrieb: From: Florian Klaempfl [EMAIL PROTECTED] To: FPC developers' list fpc-devel@lists.freepascal.org Sent: Thursday, September 18, 2008 4:14 PM Subject: Re: [fpc-devel] Bug in FPC and declaring distinct types Yury Sidorov schrieb

Re: [fpc-devel] Bug in FPC and declaring distinct types

2008-09-18 Thread Yury Sidorov
From: Florian Klaempfl [EMAIL PROTECTED] Yury Sidorov schrieb: From: Florian Klaempfl [EMAIL PROTECTED] Yury Sidorov schrieb: From: Florian Klaempfl [EMAIL PROTECTED] To: FPC developers' list fpc-devel@lists.freepascal.org Sent: Thursday, September 18, 2008 4:14 PM Subject: Re: [fpc-devel

Re: [fpc-devel] winmobile 6.1 problem?

2008-07-21 Thread Yury Sidorov
to define VER2_2 to compile successfully compiler? it gives me error in base.inc file,i have to define that,although my compiler version is 2.3.1 --- On Mon, 7/21/08, Yury Sidorov [EMAIL PROTECTED] wrote: From: Yury Sidorov [EMAIL PROTECTED] Subject: Re: [fpc-devel

Re: [fpc-devel] winmobile 6.1 problem?

2008-07-20 Thread Yury Sidorov
Hi, I fixed the problem in rev. 11421. Funny thing that I started to investigate this problem in morning today before your e-mails :) Not funny thing is that took whole day to find out what caused the problem :( Damn WM6.1!!! Yury. - Original Message - From: Roozbeh GHolizadeh

Re: [fpc-devel] FreePascal on ARM Linux ,SoftFloat and EABI issues

2008-05-31 Thread Yury Sidorov
From: Nataraj S Narayan Hi Florian and other friends I am involved in porting existing C code to Arm Linux for AT91SAM9263 Ek board with 340x220 display. I need to write lots of console kinda apps. I am using a qemu-system-arm emulated Armel Debian machine on a Debian x86 Lenny distro for

Re: [fpc-devel] Please fix the ARMv5 runtime detection in fpc 2.2.1

2008-04-23 Thread Yury Sidorov
From: Bernd Mueller [EMAIL PROTECTED] Hello, The ARMv5 runtime detection is fixed in fpc 2.3.1. Could you please apply this fix to fpc 2.2.1 too? The procedure fpc_cpucodeinit in rtl/arm/arm.inc is affected. I merged it to 2.2.1 Yury. ___

Re: [fpc-devel] Patch, font rendering on Arm-Linux devices.

2008-02-29 Thread Yury Sidorov
From: Daniël Mantione [EMAIL PROTECTED] Instead unaligned will simulate an unaligned load with two loads and some rotation etc. On the ARM, where every mnemonic can rotate operands, this is isn't that bad of a penalty. Therefore, I wouldn't be surprised that even on ARM, arrays with packed

Re: [fpc-devel] Patch, font rendering on Arm-Linux devices.

2008-02-28 Thread Yury Sidorov
From: Daniël Mantione [EMAIL PROTECTED] On Thursday 28 February 2008 09:16, Daniël Mantione wrote: Memory access. What happens is that the non-packed version causes more cache misses. Please elaborate. If the (unaligned) data is crossing a cache-line, thus causing two full cache-line

Re: [fpc-devel] Patch, font rendering on Arm-Linux devices.

2008-02-26 Thread Yury Sidorov
From: Daniël Mantione [EMAIL PROTECTED] Bernd Mueller schreef: Hello, the attached patch avoids misaligned data access (bus errors), during font rendering (with the graph unit) on Arm-Linux devices. Instead of testing for arm cpu, you could use FPC_REQUIRES_PROPER_ALIGNMENT too.

Re: [fpc-devel] Compilation failure on wince

2008-02-11 Thread Yury Sidorov
From: Felipe Monteiro de Carvalho [EMAIL PROTECTED] Hello, I am trying to build the latest fixes wince cross-compiler (2.2.1) using FPC 2.2.0 as a starting compiler. It fails when I try to build packages, particularly fcl-process Here is my script: cd packages

Re: [fpc-devel] ppcrossarm build fails to compile rtl and packages

2008-02-01 Thread Yury Sidorov
From: [EMAIL PROTECTED] I'm trying to build an arm/wince cross-compiler from a Windows XP host from 2.2.1 SVN (rev 10079). I can build a working ppcrossarm.exe from the fpc source folder by: make compiler_cycle CPU_TARGET=arm OS_TARGET=wince FPC=ppc386.exe However, when I try to build the

Re: [fpc-devel] PocketCMD for Windows CE devices

2008-01-19 Thread Yury Sidorov
From: Florian Klaempfl [EMAIL PROTECTED] Graeme Geldenhuys schrieb: Hi, The following website isn't working anymore... Could somebody please email me a copy of PocketCMD or have an alternative link I can download if from.

Re: [fpc-devel] PocketCMD for Windows CE devices

2008-01-19 Thread Yury Sidorov
From: Graeme Geldenhuys [EMAIL PROTECTED] On 19/01/2008, Florian Klaempfl [EMAIL PROTECTED] wrote: Problem is that it works not anymore on Windows Mobile 5 or 6. I want to develop (fpGUI Toolkit) for my iQue M5 PDA which runs Windows Mobile 2003 2nd edition. So it should be ok. Anybody

Re: [fpc-devel] PocketCMD for Windows CE devices

2008-01-19 Thread Yury Sidorov
From: Graeme Geldenhuys [EMAIL PROTECTED] On 19/01/2008, Yury Sidorov [EMAIL PROTECTED] wrote: You can safely develop on WM5 or WM6 emulator. The program will run on WM2003 in most cases. You can test it on real WM2003 device from time to time. That's good to know, thanks Yury. PS: Any

Re: [fpc-devel] PocketCMD for Windows CE devices

2008-01-19 Thread Yury Sidorov
From: Graeme Geldenhuys [EMAIL PROTECTED] On 19/01/2008, Felipe Monteiro de Carvalho [EMAIL PROTECTED] wrote: On Jan 19, 2008 10:47 AM, Graeme Geldenhuys [EMAIL PROTECTED] wrote: Anybody know where I can get a Windows Mobile 2003 2nd Edition emulator? I may be wrong, but it's possible that

Re: [fpc-devel] Threads not working in console application

2007-12-06 Thread Yury Sidorov
From: Graeme Geldenhuys [EMAIL PROTECTED] Hi, I've created a while back a thread based Timer. At the time I developed the timer, I tested it in a Lazarus (LCL) GUI application and everything worked perfectly. Just tested it now and it still works fine. Today I tried to use that Timer in a

Re: [fpc-devel] TClientDataset (was: Dnamic packages support)

2007-11-05 Thread Yury Sidorov
From: Michael Van Canneyt [EMAIL PROTECTED] We could try to compile Borlands' VCL code with FPC, of course, but then there is the problem that the midas library is a black box, available only for windows i386, which kind of defeats the purpose of the whole exercise.. There is open source

Re: [fpc-devel] Seems gtk2 package contains small bug in declarationof TGtkScrolledWindow

2007-11-01 Thread Yury Sidorov
From: Paul Ishenin [EMAIL PROTECTED] Any chance to have this patch commited? Applied. Thanks. Yury. ___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel

Re: [fpc-devel] Apache header translation Patch

2007-11-01 Thread Yury Sidorov
From: Inoussa OUEDRAOGO [EMAIL PROTECTED] Hi, These patchs correct the cmd_func type in http_config.inc : - 2.2-http_config.inc.diff for apache 2.2 - 2.0-http_config.inc.diff for apache 2.0 After your patch a warning appeared when compiling httpd-2.2: http_config.inc(135,3) Warning:

Re: [fpc-devel] Apache header translation Patch

2007-11-01 Thread Yury Sidorov
From: Felipe Monteiro de Carvalho [EMAIL PROTECTED] On 11/1/07, Yury Sidorov [EMAIL PROTECTED] wrote: After your patch a warning appeared when compiling httpd-2.2: http_config.inc(135,3) Warning: cdecl'ared functions have no high parameter I just built it with fpc 2.3 and I see no warning

Re: [fpc-devel] More on arm4, armi and thumb

2007-11-01 Thread Yury Sidorov
From: Felipe Monteiro de Carvalho [EMAIL PROTECTED] It seams that building arm4 software isn't supported for Symbian OS. At least for third-party software, and any example build for it crashes on startup. So I was investigating other solutions. I was reading the nokia wiki:

Re: [fpc-devel] More on arm4, armi and thumb

2007-11-01 Thread Yury Sidorov
From: Felipe Monteiro de Carvalho [EMAIL PROTECTED] On 11/1/07, Marco van de Voort [EMAIL PROTECTED] wrote: It seems that when you branch, in the instruction you can encode if the instructionset of the target is thumb or not. So, currently fpc set's all branches to use arm4 mode And C++

Re: [fpc-devel] Seems gtk2 package contains small bug in declarationofTGtkScrolledWindow

2007-11-01 Thread Yury Sidorov
From: Paul Ishenin [EMAIL PROTECTED] Yury Sidorov пишет: From: Paul Ishenin [EMAIL PROTECTED] Any chance to have this patch commited? Applied. Thanks. Big thanks. Any chance to have this patch merged into 2.2 :) ? Done :) Yury. ___ fpc-devel

Re: [fpc-devel] ARM4 and THUMB instruction sets

2007-10-18 Thread Yury Sidorov
From: Daniël Mantione [EMAIL PROTECTED] Op Wed, 17 Oct 2007, schreef Felipe Monteiro de Carvalho: so it may be useful to see of we can easely support thumb. Since we always use an external assembler for arm, I wounder: Wouldn't be supporting arm4/thumb just a question of switching a

Re: [fpc-devel] resource compilation fails, if cpp is not on the path

2007-10-02 Thread Yury Sidorov
From: Vincent Snijders [EMAIL PROTECTED] Vincent Snijders schreef: Thanks for the review. I committed the patch in r8670. Can this be merged to the fixes branch for fpc 2.2.1? Fine for me. Yury. ___ fpc-devel maillist -

Re: [fpc-devel] resource compilation fails, if cpp is not on the path

2007-09-28 Thread Yury Sidorov
From: Vincent Snijders [EMAIL PROTECTED] Yury Sidorov schreef: Yes. It is known issue. Compiler can search for cpp tool the same way as other tools like as, ld and then pass --preprocessor switch to windres if cpp was found. I created the attached patch. What do you think? Use

Re: [fpc-devel] resource compilation fails, if cpp is not on the path

2007-09-28 Thread Yury Sidorov
From: Vincent Snijders [EMAIL PROTECTED] Yury Sidorov schreef: From: Vincent Snijders [EMAIL PROTECTED] Yury Sidorov schreef: Yes. It is known issue. Compiler can search for cpp tool the same way as other tools like as, ld and then pass --preprocessor switch to windres if cpp was found

Re: [fpc-devel] resource compilation fails, if cpp is not on the path

2007-09-27 Thread Yury Sidorov
From: Vincent Snijders [EMAIL PROTECTED] Consider the following application: program rescomp; {$R lazarus.rc} begin end. If I have an empty path variable and I call the compiler with an absolute path, it fails, see below. The solution would be to add the --preprocessor parameter to

Re: [fpc-devel] internal linker import by index patch (xbox)

2007-09-20 Thread Yury Sidorov
From: Andrew Haines [EMAIL PROTECTED] Hi, This patch is not ready yet, but can anyone give comments on the correctness of the third hunk in the patch dealing with AOrdNr? I've been working on getting fpc able to make xbox(1) programs and on the xbox there are no libraries but only kernel

Re: [fpc-devel] internal linker import by index patch (xbox)

2007-09-20 Thread Yury Sidorov
From: Andrew Haines [EMAIL PROTECTED] Yury Sidorov wrote: Actually import by ordinal is implemented in works. Look at line 2416 of ogcoff.pas When AOrdNr 0 it indicates that import is by name, but ordinal number is specified as hint. Whan AOrdNr 0 then import by ordinal only. Okay yes

Re: [fpc-devel] Small patch for messages

2007-07-23 Thread Yury Sidorov
From: Felipe Monteiro de Carvalho [EMAIL PROTECTED] Hi, Attached patch fixes a typo when Unicode define is set, and adds two new windows messages I couldn't find in the rtl. Please review. Applied. Thanks. Yury. ___ fpc-devel maillist -

Re: [fpc-devel] DLL WIN64: Entry point not found

2007-07-19 Thread Yury Sidorov
not that simple !!! I think there is some issue with the DLL image generated by FPC, just not sure what it is yet !? You need to upgrade to the latest svn version (or download snapshot) of FPC 2.1.5. DLL bugs were fixed after 2007/05/31. Yury Sidorov

Re: [fpc-devel] DLL WIN64: Entry point not found

2007-07-19 Thread Yury Sidorov
- From: Yury Sidorov [EMAIL PROTECTED] To: FPC developers' list fpc-devel@lists.freepascal.org Sent: Thursday, July 19, 2007 2:46 PM Subject: Re: [fpc-devel] DLL WIN64: Entry point not found From: Luc Vigato, Sita Software [EMAIL PROTECTED] I have downloaded the latest snapshot. The error

Re: [fpc-devel] Please merge SSE detecion fix to fixes_2_2

2007-07-16 Thread Yury Sidorov
From: Jonas Maebe [EMAIL PROTECTED] On 15 Jul 2007, at 07:27, Martin Schreiber wrote: Can the fix for Mantis 9242 (Debugging broken on win32 with PII) be merged to fixes_2_2? Independent from this, I would encourage you to submit a bug report against gdb for win32. If they don't know this

Re: [fpc-devel] twide3.pp on windows

2007-07-16 Thread Yury Sidorov
From: Jonas Maebe [EMAIL PROTECTED] On 16 Jul 2007, at 16:32, Vincent Snijders wrote: How is the twide3.pp test supposed to work? It assumes that the testsuite environment is configured to use utf8. I don't know how to make it encoding-independent, nor how to configure a Windows console

Re: [fpc-devel] twide3.pp on windows

2007-07-16 Thread Yury Sidorov
From: Daniël Mantione [EMAIL PROTECTED] Op Mon, 16 Jul 2007, schreef Yury Sidorov: The code page (locale) is set in Control Panel for whole user session (or whole system). It is not possible to set utf8 as locale. I know. How do you set it to a specific locale for the current application

Re: [fpc-devel] twide3.pp on windows

2007-07-16 Thread Yury Sidorov
From: Daniël Mantione [EMAIL PROTECTED] Op Mon, 16 Jul 2007, schreef Yury Sidorov: There must be, because the CRT unit currently seems to do such vodoo (which is questionable behaviour by the way). Yes. It is possible to specify code pages for console, gui controls, etc

Re: [fpc-devel] how to compile RTL for ARM-Linux since r8006

2007-07-10 Thread Yury Sidorov
From: Bernd Mueller [EMAIL PROTECTED] Hello, can anyone please tell me, how to compile the RTL for ARM-Linux since revision 8006? I tried to verify the bug fix 8967 (thank you Yury Sidorov) on my system, but I am not able to compile the RTL anymore. Adding the -Sg switch seems

Re: [fpc-devel] how to compile RTL for ARM-Linux since r8006

2007-07-10 Thread Yury Sidorov
From: Bernd Mueller [EMAIL PROTECTED] Marco van de Voort wrote: So far, I used following make call: make CPU_TAGET=arm OS_TARGET=linux PP=ppcrossarm OPT=-Tlinux -CX -Sg Try to force hardware FPU mode by using -CfFPA switch. no, it does not help. I get exactly the same error. Perhaps

Re: [fpc-devel] win32 debugging broken in fixes_2_2?

2007-07-10 Thread Yury Sidorov
From: Martin Schreiber [EMAIL PROTECTED] Hi, Every program compiled with fixes_2_2 rev. 8006 crashes in gdb: GNU gdb 6.6 Copyright (C) 2006 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies

Re: [fpc-devel] how to compile RTL for ARM-Linux since r8006

2007-07-10 Thread Yury Sidorov
From: Bernd Mueller [EMAIL PROTECTED] this compiles without errors. But I would like to get a hardfloat enabled RTL again. What host OS do you use? I am using Windows 98SE for cross compiling. Where arm-linux cross binutils for win32 can be downloaded? Yury.

Re: [fpc-devel] how to compile RTL for ARM-Linux since r8006

2007-07-10 Thread Yury Sidorov
From: Bernd Mueller [EMAIL PROTECTED] Yury Sidorov wrote: From: Bernd Mueller [EMAIL PROTECTED] this compiles without errors. But I would like to get a hardfloat enabled RTL again. What host OS do you use? I am using Windows 98SE for cross compiling. Where arm-linux cross binutils

Re: [fpc-devel] LoadLibrary fails if called from a DLL

2007-07-08 Thread Yury Sidorov
Hello, How old is snapshot you are using? Yury Sidorov. - Original Message - From: Mark - WBIsoft.COM To: fpc-devel@lists.freepascal.org Sent: Saturday, July 07, 2007 11:51 AM Subject: [fpc-devel] LoadLibrary fails if called from a DLL Hi, I'm having a strange issue

Re: [fpc-devel] LoadLibrary fails if called from a DLL

2007-07-08 Thread Yury Sidorov
, specifically the file was lazarus-0.9.23-fpc-2.1.5-20070531-win64.exe Hope this helps ? Mark - Original Message - From: Yury Sidorov To: FPC developers' list Sent: Sunday, July 08, 2007 5:28 PM Subject: Re: [fpc-devel] LoadLibrary fails if called from a DLL Hello, How old

Re: [fpc-devel] LoadLibrary fails if called from a DLL

2007-07-08 Thread Yury Sidorov
a DLL THanks, one final (i hope) question I assume I need to grab the entire folder and recompile it - if so I assume I can compile with FPC itself Mark - Original Message - From: Yury Sidorov To: FPC developers' list Sent: Sunday, July 08, 2007 6:12 PM Subject: Re

Re: [fpc-devel] Errors linking Symbian OS applications

2007-07-06 Thread Yury Sidorov
From: Felipe Monteiro de Carvalho [EMAIL PROTECTED] Hi, I am compiling a symbian os application for the first time since 1 month or so, and now the linking stage fails with: mwldsym2.exe: Undefined symbol: '__data_start__' mwldsym2.exe: referenced from '.text' in system.o mwldsym2.exe:

Re: [fpc-devel] Erroneous finalizing of const widestring array

2007-07-04 Thread Yury Sidorov
From: Martin Schreiber [EMAIL PROTECTED] On Saturday 30 June 2007 14.46, Yury Sidorov wrote: Martin, please inform us when FPC 2.1.5 will work as expected with your code and no more bugs will be left. After that 2.2 release can be launched. I worked now one hour with MSEide compiled with win32

Re: [fpc-devel] Comparison FPC 2.2 - Delphi 7

2007-07-04 Thread Yury Sidorov
From: Martin Schreiber [EMAIL PROTECTED] Comparison FPC 2.2 - Delphi 7. MSEide aps\ide\mseide.pas without database support: Compile time FPC: 17.9s Delphi: 1.28s Exe size FPC: 2.27MB Delphi: 1.87MB Commandline FPC: \fpc\svn\fixes_2_2\compiler\ppc386.exe -O2 -CX -XX -Xs -B -Fi..\.. -XX and

Re: [fpc-devel] Erroneous finalizing of const widestring array

2007-07-04 Thread Yury Sidorov
From: Joao Morais [EMAIL PROTECTED] Yury Sidorov wrote: That's great. I hope no major bugs will be found after 2.2 release :) Provided that you don't use class method reference and optimization :-( What bug report do you mean? Yury. ___ fpc

Re: [fpc-devel] Comparison FPC 2.2 - Delphi 7

2007-07-04 Thread Yury Sidorov
From: Micha Nelissen [EMAIL PROTECTED] Jonas Maebe wrote: The main reduction in compile time would probably come from using -O-1 -Ooregvar instead of -O2. I don't think the resulting code will be much slower either in most cases. No, the main reduction is not outputting anything to console:

Re: [fpc-devel] using gorc on win64 as resource compiler

2007-07-02 Thread Yury Sidorov
From: [EMAIL PROTECTED] - Original Message - From: Yury Sidorov [EMAIL PROTECTED] Date: Monday, July 2, 2007 1:00 pm Subject: Re: [fpc-devel] using gorc on win64 as resource compiler From: [EMAIL PROTECTED] Hi, Thanks for fixing the coff loading on win64. Attached patch enables

Re: [fpc-devel] Erroneous finalizing of const widestring array

2007-06-30 Thread Yury Sidorov
From: Yury Sidorov [EMAIL PROTECTED] From: Martin Schreiber [EMAIL PROTECTED] Possible show stopper for FPC 2.2: http://www.freepascal.org/mantis/view.php?id=9170 I suspect there are more problems, I can only debug one by one. Fixed and merged to fixes. Martin, please inform us when FPC

Re: [fpc-devel] Erroneous finalizing of const widestring array

2007-06-30 Thread Yury Sidorov
From: Martin Schreiber [EMAIL PROTECTED] Here is the next one (win32 widestring copy error): http://www.freepascal.org/mantis/view.php?id=9187 Thanks for the fast reaction :-) Fixed and merged to 2.2 branch. Yury. ___ fpc-devel maillist -

Re: [fpc-devel] DLL function exits without exception or other notice

2007-06-30 Thread Yury Sidorov
From: Felipe Monteiro de Carvalho [EMAIL PROTECTED] I have a code on a Dll which when executed causes the funtion to simply exit without raising an exception or anything. It just exits without notice, and also quits from the function that called it, like if it was an Exception, except that a

Re: [fpc-devel] linking resources on win64

2007-06-29 Thread Yury Sidorov
From: Jonas Maebe [EMAIL PROTECTED] On 29 jun 2007, at 11:12, [EMAIL PROTECTED] wrote: Then I added this line to my program: {$LINK lazarus.obj} I got this error message C:\lazarus\source\lazarus\ide\lazarus.pp(119,1) Error: Error reading COFF Symtable while reading lazarus.obj Isn't this

Re: [fpc-devel] Freepascal made chm compiler test file

2007-06-27 Thread Yury Sidorov
From: Michael Van Canneyt [EMAIL PROTECTED] On Wed, 27 Jun 2007, Micha Nelissen wrote: Andrew Haines wrote: Hi, I've been working on a chm compiler that uses no external libs so it Please let me know if this file works for you. It doesn't seem to work for me: I get 'Action canceled'

Re: [fpc-devel] Freepascal made chm compiler test file

2007-06-27 Thread Yury Sidorov
From: Micha Nelissen [EMAIL PROTECTED] Yury Sidorov wrote: I got 'Action canceled' until I open file properites and unblock it. After that it opened as expected. WinXP/SP2. I can't find it: where is the unblock property ? I have this at the bottom of the first page of file properties. Under

Re: [fpc-devel] Freepascal made chm compiler test file

2007-06-27 Thread Yury Sidorov
From: Micha Nelissen [EMAIL PROTECTED] Yury Sidorov wrote: I have this at the bottom of the first page of file properties. Under file attributes. When file is not blocked there is empty area in this place. Hmm the area is empty there, but it gave me an idea. I copied the file to C

Re: [fpc-devel] Help: Converting Header for WinCE

2007-06-08 Thread Yury Sidorov
of windbase.h are in coredll.inc so do I split the windbase.pp file and add its data types to struct.inc and functions to coredll.inc Please add add missing functions/declarations to existing .inc files and send me a patch. Yury Sidorov. ___ fpc

Re: [fpc-devel] multiply resource files bug (commit 7515)

2007-05-31 Thread Yury Sidorov
From: Vincent Snijders [EMAIL PROTECTED] Vincent Snijders schreef: Yury Sidorov schreef: From: Michael Van Canneyt [EMAIL PROTECTED] On Wed, 30 May 2007, Yury Sidorov wrote: From: Павел Ишенин [EMAIL PROTECTED] Hello, FPC developers' list I've noticed today that Yury resolved old

Re: [fpc-devel] multiply resource files bug (commit 7515)

2007-05-31 Thread Yury Sidorov
From: Vincent Snijders [EMAIL PROTECTED] I compiled Lazarus with some components (rxnew for example), and windres used 470 MB Virtual memory in the task manager. After a while I got this message: Compiling resource ..\units\i386-win32\fpc-res.res D:\FPC\2.0.2\bin\i386-Win32\windres.exe:

  1   2   >