Re: [fpc-devel] (class) helper questions

2011-03-14 Thread Paul Ishenin
15.03.2011 3:22, Jonas Maebe wrote: On 14 Mar 2011, at 21:07, Sven Barth wrote: I have tought about this topic a bit more. On the one hand I still want a cleaner syntax for this, but on the other hand I also understand that others want to have the ability to use "objfpc" code in Delphi with a

Re: [fpc-devel] (class) helper questions

2011-03-14 Thread Jonas Maebe
On 14 Mar 2011, at 21:07, Sven Barth wrote: > I have tought about this topic a bit more. On the one hand I still want a > cleaner syntax for this, but on the other hand I also understand that others > want to have the ability to use "objfpc" code in Delphi with as less ifdefs > as possible (or

Re: [fpc-devel] (class) helper questions

2011-03-14 Thread Sven Barth
On 09.03.2011 02:17, Paul Ishenin wrote: 4. The syntax that was introduced by Borland is not very pascalish in my opinion. So I'd like to change the syntax for mode ObjFPC a bit (sadly this won't simplify the parser anymore because of the Delphi compatibility). Delphi syntax: TypeIdentifier = c

Re: [fpc-devel] Re-installing fpc

2011-03-14 Thread Henry Vermaak
On 14/03/11 13:16, Jonas Maebe wrote: On 14 Mar 2011, at 14:14, Michael Schnell wrote: On 03/14/2011 01:20 PM, Jonas Maebe wrote: make FPC=./ppc386 installsymlink Sorry for my silliness but I really fail to understand this complex stuff and can't help myself here. make FPC=`pwd`/ppc386 in

Re: [fpc-devel] Re-installing fpc

2011-03-14 Thread Michael Schnell
On 03/14/2011 02:16 PM, Jonas Maebe wrote: make FPC=`pwd`/ppc386 installsymlink Great ! This works. (I don't dare to ask how and why.) Thanks a lot ! -Michael ___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mail

Re: [fpc-devel] Re-installing fpc

2011-03-14 Thread Jonas Maebe
On 14 Mar 2011, at 14:14, Michael Schnell wrote: > On 03/14/2011 01:20 PM, Jonas Maebe wrote: >> make FPC=./ppc386 installsymlink > Sorry for my silliness but I really fail to understand this complex stuff and > can't help myself here. make FPC=`pwd`/ppc386 installsymlink Jonas___

Re: [fpc-devel] Re-installing fpc

2011-03-14 Thread Michael Schnell
On 03/14/2011 01:20 PM, Jonas Maebe wrote: make FPC=./ppc386 installsymlink Sorry for my silliness but I really fail to understand this complex stuff and can't help myself here. I got this: mschnell-Linux:/home/mschnell/Downloads/svn/fpc/trunk # cd compiler/ mschnell-Linux:/home/mschnell/Dow

Re: [fpc-devel] Re-installing fpc

2011-03-14 Thread Jonas Maebe
On 14 Mar 2011, at 13:15, Michael Schnell wrote: > On 03/14/2011 11:14 AM, Jonas Maebe wrote: >> make FPC=`pwd`/compiler/ppc386 install INSTALL_PREFIX=/usr > This in fact runs seemingly without an error message and creates "fpc" and 32 > more files in /usr/bin. > > (Making me wonder why I did n

Re: [fpc-devel] Re-installing fpc

2011-03-14 Thread Michael Schnell
On 03/14/2011 11:14 AM, Jonas Maebe wrote: make FPC=`pwd`/compiler/ppc386 install INSTALL_PREFIX=/usr This in fact runs seemingly without an error message and creates "fpc" and 32 more files in /usr/bin. (Making me wonder why I did not need the parameter FPC=`pwd`/compiler/ppc386 before reins

Re: [fpc-devel] Re-installing fpc

2011-03-14 Thread Michael Schnell
On 03/14/2011 11:13 AM, Thomas Schatzl wrote: "make install" requires fpcmake in the path, I did copy it to /usr/bin from the old system. (I never updated this file, could this be problematic ? ) or invoking it manually as you did, ..unsuccessfully :( or put it into the FPCMAKE environment.

Re: [fpc-devel] Re-installing fpc

2011-03-14 Thread Michael Schnell
On 03/14/2011 11:12 AM, Henry Vermaak wrote: There is no need to build as root. This is a very bad idea. OK, I once was not able to do this as a normal user. I was not able to find out why. (supposedly some files were owned by root and could not be overwritten when making fpc as a user) OTOH,

Re: [fpc-devel] Re-installing fpc

2011-03-14 Thread Jonas Maebe
On 14 Mar 2011, at 11:13, Thomas Schatzl wrote: > On Mon, 14 Mar 2011 10:48:50 +0100, Michael Schnell wrote: >> Makefile:199: *** The Makefile doesn't support target >> can't-executed,, please run fpcmake first. Stop. >> >> but when I try to do fpcmake in the source directory this does not >> h

Re: [fpc-devel] Re-installing fpc

2011-03-14 Thread Jonas Maebe
On 14 Mar 2011, at 10:48, Michael Schnell wrote: > sudo make clean all FPC=/home/mschnell/Downloads/fpc/ppc386 > > To compile fpc just fine. > > But when I tried to install fpc to /usr/bin with (as root) > > make install INSTALL_PREFIX=/usr sudo make FPC=`pwd`/compiler/ppc386 install INSTALL

Re: [fpc-devel] Re-installing fpc

2011-03-14 Thread Thomas Schatzl
Hi, On Mon, 14 Mar 2011 10:48:50 +0100, Michael Schnell wrote: I re-installed Linux, trashing the root director "make install" requires fpcmake in the path, or invoking it manually as you did, or put it into the FPCMAKE environment. I.e. "export FPCMAKE=/path/to/fpcmake". make install INS

Re: [fpc-devel] Re-installing fpc

2011-03-14 Thread Henry Vermaak
On 14 March 2011 09:48, Michael Schnell wrote: > I re-installed Linux, trashing the root director home directories. > > Now I need to re-install fpc (which I provide the newest svn version to all > users in /usr/bin). > > In one of the home directories I have the svn and an older fpc version to >

[fpc-devel] Re-installing fpc

2011-03-14 Thread Michael Schnell
I re-installed Linux, trashing the root directoruser's home directories. Now I need to re-install fpc (which I provide the newest svn version to all users in /usr/bin). In one of the home directories I have the svn and an older fpc version to compile it. I can do sudo make clean all FPC=/h

[fpc-devel] FmtBCD unit improvements / bugs

2011-03-14 Thread LacaK
Hi, I would like to ask somebody to look at these bug reports: 1. http://bugs.freepascal.org/view.php?id=18388 This bug report contains implementation of missing BcdToStrF function. There is also discussion if FmtBCD unit is localized ... tests under Delphi (6,10) shows, that Delphi *uses* globa