[fpc-pascal] Re: fstat usage

2008-12-08 Thread Francisco Reyes
Francisco Reyes writes: Is the time displayed in UTC? Seems to be. Any way to make the time displayed be my timezone? Nevermind that... Was confused because the date was in a different format.. You pointed me in the right direction and finished the program. __

[fpc-pascal] Re: fstat usage

2008-12-08 Thread Francisco Reyes
Pete Cervasio writes: TDateTime values. Look for UnixToDateTime and DateTimeToUnix in DateUtils. The documentation I have must be old (even though I got it a few days ago from the website). It says those functions are not implemented, yet I was able to use it. Is the time displayed in UTC

Re: [fpc-pascal] Re: Embarcadero/CodeGear officialy interested in Firebird and on native versions of Delphi for other operating systems ...

2008-12-08 Thread Prince Riley
Bee -- You make a very excellent point in your post and one that I think doesn't get repeated loudly enough into the ears of the Embarcadero folks. Maybe its time for an open letter posted to these kinds of lists and sending their president a e-mail with the link to read the comments for himself.

[fpc-pascal] Re: Embarcadero/CodeGear officialy interested in Firebird and on native versions of Delphi for other operating systems ...

2008-12-08 Thread bisma
something i just read at http://www.firebirdnews.org and in Marco Cantu's blog ( http://blog.marcocantu.com/blog/coderage_2008_closing .html) Sometimes I just understand those guys. Delphi (as language) by support of FreePascal and Lazarus had been already on Mac and Linux since years! Especi

Re: [fpc-pascal] Cannot find GTK

2008-12-08 Thread leledumbo
Options->Directories->Unit. AFAIK the IDE doesn't read fpc.cfg but it reads its own named fp.cfg. -- View this message in context: http://www.nabble.com/Cannot-find-GTK-tp20905508p20907673.html Sent from the Free Pascal - General mailing list archive at Nabble.com.

[fpc-pascal] Cannot find GTK

2008-12-08 Thread Andres Linares
Hello: I was trying with some examples about using the GTK library in the FreePascal IDE (the blue screen) and it says that this unit is missing. Despite that, I could compile them all using fpc from the command interpreter. What is happenning? Is there any setting I must change in FP? Thanks

Re: [fpc-pascal] Free Pascal Support for ARM Architecture

2008-12-08 Thread Aleksa Todorovic
So, the situation is like this: 1) Target ARM architecture needs to be "told" to FPC since FPC needs this information to do correct code generation. 2) FPC does not inform GNU assembler of intended ARM architecture for which assembler code is generated for, which doesn't prevent GNU as from gener

Re: [fpc-pascal] Free Pascal Support for ARM Architecture

2008-12-08 Thread Marc Santhoff
Am Montag, den 08.12.2008, 15:04 -0600 schrieb Prince Riley: > Marc, > > Just wanted to say thank you for that info.. much obliged. If you want to know more about what code the compiler produces there are two more opportunities: First you can tell the compiler to not delete the intermediate asse

Re: [fpc-pascal] setting output dir inside fpc's package tree

2008-12-08 Thread Marc Santhoff
Am Montag, den 08.12.2008, 22:24 +0100 schrieb Jonas Maebe: > As far as I can tell it's simply the default behaviour of the > Makefiles generated by fpcmake: LOL, so that's the reason why I cannot find it. Many thanks, Marc ___ fpc-pascal maillist

Re: [fpc-pascal] setting output dir inside fpc's package tree

2008-12-08 Thread Jonas Maebe
On 08 Dec 2008, at 21:58, Marc Santhoff wrote: I' trying again, apparently I wasn't able to make my problem clear. I want to write a Makefile.fpc for fpcmake that does the same thing as any other package inside the $fpc/packages/extra directory tree. How can I force the output directory of .p

Re: [fpc-pascal] Free Pascal Support for ARM Architecture

2008-12-08 Thread Jonas Maebe
On 08 Dec 2008, at 22:00, Prince Riley wrote: Sorry, I think you are mistaken.. I did ask which ARM Architecture and if you follow the thread back you'll see I even gave examples of what the assembler options were for ARM Here is the text of that post I did not understand your questio

Re: [fpc-pascal] Free Pascal Support for ARM Architecture

2008-12-08 Thread Prince Riley
Marc, Just wanted to say thank you for that info.. much obliged. Prince On Mon, Dec 8, 2008 at 2:14 PM, Marc Santhoff <[EMAIL PROTECTED]>wrote: > Am Montag, den 08.12.2008, 13:43 -0600 schrieb Prince Riley: > > Perhaps the person who coded that support into FP can write back and > > say which A

[fpc-pascal] setting output dir inside fpc's package tree

2008-12-08 Thread Marc Santhoff
Hi, I' trying again, apparently I wasn't able to make my problem clear. I want to write a Makefile.fpc for fpcmake that does the same thing as any other package inside the $fpc/packages/extra directory tree. How can I force the output directory of .ppu files to the correct place (being ./units/$

Re: [fpc-pascal] Free Pascal Support for ARM Architecture

2008-12-08 Thread Prince Riley
Sorry, I think you are mistaken.. I did ask which ARM Architecture and if you follow the thread back you'll see I even gave examples of what the assembler options were for ARM Here is the text of that post === Thanks for that reply ... and yes I meant

Re: [fpc-pascal] Free Pascal Support for ARM Architecture

2008-12-08 Thread Marc Santhoff
Am Montag, den 08.12.2008, 13:43 -0600 schrieb Prince Riley: > Perhaps the person who coded that support into FP can write back and > say which ARM op codes look-up table it uses generating the FP > compiled code. Is it ARM7? Is it ARM9?, Is it ARM4/5? As already mentioned by Jonas: it is the Ach

Re: [fpc-pascal] Free Pascal Support for ARM Architecture

2008-12-08 Thread Jonas Maebe
On 08 Dec 2008, at 20:43, Prince Riley wrote: What I keep asking here and not getting a precise answer about is what specific ARM opcodes does the FP support What is its default ARM architecture is the opcode spec based on? The problem was that you never asked for which ARM architecture FPC

Re: [fpc-pascal] Free Pascal Support for ARM Architecture

2008-12-08 Thread Prince Riley
Sorry to everyone for replying so far down the thread to the points mentioned earlier. The FPC ARM support is stated as ' does not specify an ARM architecture' ... fine ..but there is a major issue there that needs clarification and better documentation. Is it really safe to have no way to target

Re: [fpc-pascal] Free Pascal Support for ARM Architecture

2008-12-08 Thread Marc Santhoff
Am Montag, den 08.12.2008, 19:22 +0100 schrieb Jonas Maebe: > On 08 Dec 2008, at 18:26, Marc Santhoff wrote: > > > There are some ARM7 (and maybe ARM9, not sure) core variants having no > > hardware multiplication unit. IIRC the M in TDMI stands for "hardware > > multiplier unit". Experiences with

Re: [fpc-pascal] Re: fstat usage

2008-12-08 Thread Pete Cervasio
On Monday 08 December 2008 10:22:25 Francisco Reyes wrote: > Francisco Reyes writes: > > Trying the fstat function and don't seem to be getting the right values > > for ctime, mtime and atime. Those values are Unix timestamp values. You need to convert them into TDateTime values. Look for UnixT

Re: [fpc-pascal] Object Pascal operating system

2008-12-08 Thread Marc Santhoff
Am Montag, den 08.12.2008, 08:19 +0200 schrieb Crause, Christo (JC): > Some proof of the concept: ClassiOS > (http://www.petros-project.com/index.php/products/classios.html) was > written in Delphi. Thanks for pointing this out, I didn't know that one yet. > Not an open source project, but it s

Re: [fpc-pascal] Free Pascal Support for ARM Architecture

2008-12-08 Thread Jonas Maebe
On 08 Dec 2008, at 18:26, Marc Santhoff wrote: There are some ARM7 (and maybe ARM9, not sure) core variants having no hardware multiplication unit. IIRC the M in TDMI stands for "hardware multiplier unit". Experiences with gcc showed me that the 32x32=64 mult commands are not used in that ca

Re: [fpc-pascal] Free Pascal Support for ARM Architecture

2008-12-08 Thread Marc Santhoff
Am Montag, den 08.12.2008, 10:27 +0100 schrieb Jonas Maebe: > On 08 Dec 2008, at 00:33, Prince Riley wrote: > > Reading the GNU as manual, the arch parameter value needs to be set > > to one > > of several values. It can also specify generic ARM architecture, but > > that > > choice in additio

Re: [fpc-pascal] Porting linux to pascal, would it be, possible ?

2008-12-08 Thread Marco van de Voort
In our previous episode, Prince Riley said: > > Like ti weigh in on this thread in the discussion regarding increasing the > GUI-ness of FP. > Has anyone looked into writing an Eclipse plug-in for FP (as an was done for > Python and Ruby)? Afaik there was a more editor like plugin at one time. B

[fpc-pascal] Re: fstat usage

2008-12-08 Thread Francisco Reyes
Francisco Reyes writes: Trying the fstat function and don't seem to be getting the right values for ctime, mtime and atime. -- filedate.pp uses BaseUnix,DateUtils,SysUtils; var info : stat ; begin if fpstat ('myfile.txt' , info) <>0 then begin writeln ('Fstat failed . Errno : ' ,

Re: [fpc-pascal] Free Pascal Support for ARM Architecture

2008-12-08 Thread Jeff Wormsley
Jonas Maebe wrote: ... the assembler can perform for different ARM architectures (except for some small THUMB things, but FPC doesn't generate THUMB code). I'd wondered about THUMB support. That means no STM-32 processors, as THUMB code is all they execute. Bummer, as they are nice and extre

Re: [fpc-pascal] Porting discussion

2008-12-08 Thread Marco van de Voort
In our previous episode, Rainer Stratmann said: > To increaase compatibility to Linux it would be great if it is possible to > create a keyword which it makes possible to include C-headers and then do > automatically the binding stuff. > > That means that fpc woul be able to parse C-code (header

[fpc-pascal] Porting discussion

2008-12-08 Thread Rainer Stratmann
To increaase compatibility to Linux it would be great if it is possible to create a keyword which it makes possible to include C-headers and then do automatically the binding stuff. That means that fpc woul be able to parse C-code (headers). If that is possible.

Re: [fpc-pascal] Porting linux to pascal, would it be, possible ?

2008-12-08 Thread Graeme Geldenhuys
On Sun, Dec 7, 2008 at 6:34 AM, Andrew Haines <[EMAIL PROTECTED]> wrote: > > I just checked out fpwm and updated it and fpgui locally so it can compile. > It does almost nothing atm but can reparent and close windows :) not alot. I > was thinking I might write a widget for resizing and moving windo

Re: [fpc-pascal] Porting linux to pascal, would it be, possible ?

2008-12-08 Thread Prince Riley
Hello Like ti weigh in on this thread in the discussion regarding increasing the GUI-ness of FP. Has anyone looked into writing an Eclipse plug-in for FP (as an was done for Python and Ruby)? Given the huge base of Eclipse users this might be a way to reach the goal with both a better developer t

Re: [fpc-pascal] Free Pascal Support for ARM Architecture

2008-12-08 Thread Jonas Maebe
On 08 Dec 2008, at 00:33, Prince Riley wrote: On Sun, Dec 7, 2008 at 4:53 PM, Jonas Maebe <[EMAIL PROTECTED]>wrote: On 07 Dec 2008, at 23:01, Prince Riley wrote: "FPC does not specify any particular sub-architecture to the assembler." was not an opinion or a guess, but a fact. What sub-a