Re: [fpc-pascal] {$R file} support on non-Windows targets

2008-07-14 Thread Graeme Geldenhuys
On Sun, Jul 13, 2008 at 11:47 PM, German Gentile
<[EMAIL PROTECTED]> wrote:
>> fpGUI - a cross-platform Free Pascal GUI toolkit
>> http://opensoft.homeip.net/fpgui/
>
> Big OT, your site is not working. I wanna try fpgui on lazarus.

They were working on our backup generator over the weekend, so we had
to power everything down. All is back to normal again.  The SubVersion
repository is on SourceForge, so you could still have gotten a copy.
Sorry for any inconvenience.


Regards,
 - Graeme -


___
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/
http://www.sourceforge.net/projects/fpgui/
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] {$R file} support on non-Windows targets

2008-07-14 Thread Graeme Geldenhuys
On Mon, Jul 14, 2008 at 2:10 AM, Valdas Jankūnas <[EMAIL PROTECTED]> wrote:
>
> How about Krusader (http://krusader.org/):

I haven't tried that in years.

I found a project called Double Commander (doublecmd) on SourceForge.
It still has many visual issues (it looks quite ugly under GTK1), but
it seems to have potential - like it has a couple of nice features
like support for Total Commander plugins, very customizable etc...
I'll definitely keep my eye on this project.

By the way, it's a Lazarus based project as well!  :-)


Regards,
 - Graeme -


___
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] FPC and Mac OS X 10.5

2008-07-14 Thread Mattias Gaertner
On Fri, 26 Oct 2007 16:58:29 +0200
Jonas Maebe <[EMAIL PROTECTED]> wrote:

>[...]
> * The new linker deals differently with stabs debug information  
> compared to previous versions, causing a lot of "Unknown stabs"  
> warnings and also some errors during linking
> - Effect: you can't compile code with stabs debug information
> - Occurs: with any program compiled with stabs debug information  
> (programs compiled on 10.4 with stabs may still be debuggable on
> 10.5 though)
> - Fix: already in FPC 2.3.1 (not yet merged to FPC 2.2.1)

Strange. I installed FPC 2.3.1 from svn and I still get the unknown
stabs errors.
And I get a lot warnings like:
ld: warning in zbase.o, file is not of required architecture
And finally a lot of missing symbols so linking fails. :(

Any hint?

> I will merge the fixes for the last two issues to FPC 2.2.1 some
> time during the coming days and put up snapshot installers with that  
> version for PPC and i386 on the ftp site.

Mattias
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] FPC and Mac OS X 10.5

2008-07-14 Thread Mattias Gaertner
On Mon, 14 Jul 2008 23:03:26 +0200
Mattias Gaertner <[EMAIL PROTECTED]> wrote:

> On Fri, 26 Oct 2007 16:58:29 +0200
> Jonas Maebe <[EMAIL PROTECTED]> wrote:
> 
> >[...]
> > * The new linker deals differently with stabs debug information  
> > compared to previous versions, causing a lot of "Unknown stabs"  
> > warnings and also some errors during linking
> > - Effect: you can't compile code with stabs debug information
> > - Occurs: with any program compiled with stabs debug information  
> > (programs compiled on 10.4 with stabs may still be debuggable on
> > 10.5 though)
> > - Fix: already in FPC 2.3.1 (not yet merged to FPC 2.2.1)
> 
> Strange. I installed FPC 2.3.1 from svn and I still get the unknown
> stabs errors.

The unknown stabs are only in the LCL units, not in the FPC units. So
apparently FPC knows a trick.
Does someone know the trick?

> And I get a lot warnings like:
> ld: warning in zbase.o, file is not of required architecture
> And finally a lot of missing symbols so linking fails. :(
 
Any hint?

Mattias
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] FPC and Mac OS X 10.5

2008-07-14 Thread Jonas Maebe


On 14 Jul 2008, at 23:03, Mattias Gaertner wrote:


On Fri, 26 Oct 2007 16:58:29 +0200
Jonas Maebe <[EMAIL PROTECTED]> wrote:


[...]
* The new linker deals differently with stabs debug information
compared to previous versions, causing a lot of "Unknown stabs"
warnings and also some errors during linking
- Effect: you can't compile code with stabs debug information
- Occurs: with any program compiled with stabs debug information
(programs compiled on 10.4 with stabs may still be debuggable on
10.5 though)
- Fix: already in FPC 2.3.1 (not yet merged to FPC 2.2.1)


Strange. I installed FPC 2.3.1 from svn and I still get the unknown
stabs errors.


That's because it also has to be partly fixed in the linker (which I  
didn't realise when I posted that message). The unknown stabs warnings  
(they're not errors afaik) are caused by stabs for local constants in  
functions/procedures (the linker interprets them as function stabs,  
because they have a very similar format and gcc does not generate  
stabs for constants).


If you want, you can download a patched linker from http://trappist.elis.ugent.be/~jmaebe/cctools/ 
 (extract it to some directory, add a symbolic link to /usr/bin/as in  
the same directory, and point FPC to it using the -FD command line  
switch). That linker corresponds to the one shipped with Xcode 3.0 (+  
the patches in that directory).


But since end users most likely won't have that patched linker (and  
because stabs has been deprecated by Apple), you may want to switch to  
dwarf instead on Mac OS X 10.5+



And I get a lot warnings like:
ld: warning in zbase.o, file is not of required architecture


That normally means what it says: you are trying to link a PowerPC  
object file into an Intel binary or vice versa. I don't know why this  
would happen unless you somehow overwrote certain object files without  
overwriting the associated ppu files, have some strange object search  
path, etc. You can use the file command to check the architecture of  
an object file using the "file" command.


And also take into account the comments of the first note at http://bugs.freepascal.org/bug_view_advanced_page.php?bug_id=11270#bugnotes 
 (but that only affects the finally linked binaries and not the  
compilation of the unit object files).



And finally a lot of missing symbols so linking fails. :(


That's because of the right object files were not found.


Jonas
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] FPC and Mac OS X 10.5

2008-07-14 Thread Jonas Maebe


On 14 Jul 2008, at 23:14, Mattias Gaertner wrote:


The unknown stabs are only in the LCL units, not in the FPC units. So
apparently FPC knows a trick.
Does someone know the trick?


The "trick" is not using local constants.


Jonas
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] FPC and Mac OS X 10.5

2008-07-14 Thread Mattias Gaertner
On Mon, 14 Jul 2008 23:51:30 +0200
Jonas Maebe <[EMAIL PROTECTED]> wrote:

> 
> On 14 Jul 2008, at 23:03, Mattias Gaertner wrote:
> 
> > On Fri, 26 Oct 2007 16:58:29 +0200
> > Jonas Maebe <[EMAIL PROTECTED]> wrote:
> >
> >> [...]
> >> * The new linker deals differently with stabs debug information
> >> compared to previous versions, causing a lot of "Unknown stabs"
> >> warnings and also some errors during linking
> >> - Effect: you can't compile code with stabs debug information
> >> - Occurs: with any program compiled with stabs debug information
> >> (programs compiled on 10.4 with stabs may still be debuggable on
> >> 10.5 though)
> >> - Fix: already in FPC 2.3.1 (not yet merged to FPC 2.2.1)
> >
> > Strange. I installed FPC 2.3.1 from svn and I still get the unknown
> > stabs errors.
> 
> That's because it also has to be partly fixed in the linker (which I  
> didn't realise when I posted that message). The unknown stabs
> warnings (they're not errors afaik) are caused by stabs for local
> constants in functions/procedures (the linker interprets them as
> function stabs, because they have a very similar format and gcc does
> not generate stabs for constants).
> 
> If you want, you can download a patched linker from
> http://trappist.elis.ugent.be/~jmaebe/cctools/ (extract it to some
> directory, add a symbolic link to /usr/bin/as in the same directory,
> and point FPC to it using the -FD command line switch). That linker
> corresponds to the one shipped with Xcode 3.0 (+ the patches in that
> directory).
> 
> But since end users most likely won't have that patched linker (and  
> because stabs has been deprecated by Apple), you may want to switch
> to dwarf instead on Mac OS X 10.5+

Thanks. That fixed the warnings. 
Now only the wrong file formats.
zbase, gzio, crc, zdeflate, ... inffast. Hmm. These are only the .o
files in paszlib.

 
> > And I get a lot warnings like:
> > ld: warning in zbase.o, file is not of required architecture
> 
> That normally means what it says: you are trying to link a PowerPC  
> object file into an Intel binary or vice versa. I don't know why
> this would happen unless you somehow overwrote certain object files
> without overwriting the associated ppu files, have some strange
> object search path, etc. You can use the file command to check the
> architecture of an object file using the "file" command.

I was wrong. There are some fpc files too. 'file' gives:
inffast.o: Mach-O object i386.
Like all other.

 
> And also take into account the comments of the first note at
> http://bugs.freepascal.org/bug_view_advanced_page.php?bug_id=11270#bugnotes
> (but that only affects the finally linked binaries and not the
> compilation of the unit object files).
> 
> > And finally a lot of missing symbols so linking fails. :(
> 
> That's because of the right object files were not found.

Mattias
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


[fpc-pascal] Article writers wanted.

2008-07-14 Thread Marc Weustink

Hi,

recently I spoke to Detlef Overbeek, editor of the Blaise Pascal
magazine (http://blaisepascal.eu) and he asked me if there would be
people interested in writing an atricle about Freepascal or Lazarus or
combination of both.
Since i'm not that big writer, i'll aks it here too.

Marc

___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] {$R file} support on non-Windows targets

2008-07-14 Thread Luiz Americo Pereira Camara

Graeme Geldenhuys wrote:

On Sun, Jul 13, 2008 at 11:47 PM, German Gentile
<[EMAIL PROTECTED]> wrote:
  

fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/
  

Big OT, your site is not working. I wanna try fpgui on lazarus.



They were working on our backup generator over the weekend, so we had
to power everything down. All is back to normal again.  The SubVersion
repository is on SourceForge, so you could still have gotten a copy.
Sorry for any inconvenience.

  


I still can not access the website or the news server

Luiz
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] {$R file} support on non-Windows targets

2008-07-14 Thread Paul Nicholls
- Original Message - 
From: "Luiz Americo Pereira Camara" <[EMAIL PROTECTED]>

To: "FPC-Pascal users discussions" 
Sent: Tuesday, July 15, 2008 10:23 AM
Subject: Re: [fpc-pascal] {$R file} support on non-Windows targets



Graeme Geldenhuys wrote:

On Sun, Jul 13, 2008 at 11:47 PM, German Gentile
<[EMAIL PROTECTED]> wrote:


fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/


Big OT, your site is not working. I wanna try fpgui on lazarus.



They were working on our backup generator over the weekend, so we had
to power everything down. All is back to normal again.  The SubVersion
repository is on SourceForge, so you could still have gotten a copy.
Sorry for any inconvenience.




I still can not access the website or the news server

Luiz


Hi Graeme, for your info, I can't access the page either (I'm in Australia, 
if this helps)

cheers,
Paul 


___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal