Re: [fpc-devel] RE: error when linking

2005-05-26 Thread Marco van de Voort
Try adding this line to the top of your unit or program: {$LINKLIB gcc_s} Why _s? Is FC4 breaking compat here? ___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel

[fpc-devel] RE: error when linking

2005-05-26 Thread Jeff Pohlmeyer
{$LINKLIB gcc_s} Why _s? Is FC4 breaking compat here? I think it is gcc that broke it, not Fedora. I am running SuSE 9.2 and I have /lib/libgcc_s.so.1 ( Installed from SuSE RPM ) and /opt/gcc-3.4.0/lib/libgcc_s.so.1 ( Built directly from gnu.org sources ) - Jeff

[fpc-devel] some little errors/notes

2005-05-26 Thread Gerhard Scholz
Hello, some notes on the compiler: 1.) I tried to compile the compiler itself (make win32zip) and found the following: a) the routine packages\extra\winunitsjwawownt16.pas contains the line (#55) {$WARN SYMBOL_PLATFORM OFF} which is not recognized and gives an error. I made a real comment

Re: [fpc-devel] DOS Platforms

2005-05-26 Thread Vinzent Hoefler
On Wednesday 25 May 2005 14:51, Tomas Hajny wrote: First of all - make sure you don't use Win32 versions of the GNU tools (especially make.exe etc.) when trying to build for the GO32v2 target under WinXX. The best is to change your PATH setting within the given session. Then the existing

Re: [fpc-devel] DOS Platforms

2005-05-26 Thread Vinzent Hoefler
On Wednesday 25 May 2005 12:50, Florian Klaempfl wrote: Our policy is to work and develop patches in the 2.1.x branch. As soon as they work, we merge them back to 2.0.x using the mechanisms of svn. But patches against 2.0.x are ok as well because I don't think that currently much people are

RE: [fpc-devel] DOS Platforms

2005-05-26 Thread Lee, John
OK great - good luck! I've now tried v2.0.0 (the release), v2.0.x (the fixes) and v2.1.1 (latest) sources - all make ok at present. I've had makes working with win95 winme on several PCs so should be mostly ok... You may need 128M of memory tho' 64M may work for make cycle. I've had it

[fpc-devel] linux - select() from linux.ppc

2005-05-26 Thread Michael Preslar
Using the 2.0 compiler binaries from the website.. Free Pascal Compiler version 2.0.0 [2005/05/15] for i386 Code that compiled fine with 1.9.6 won't compile any longer. In specific, the select() routine is gone from the linux unit. I see that it still remains in the oldlinux unit. Is

[fpc-devel] Re: error when linking

2005-05-26 Thread Linuxer Wang
Jeff Pohlmeyer wrote: /usr/bin/ld: cannot find -lgcc_s BTW, I am using Fedora4test3 which use gcc4. Do you have the libgcc libraries installed? It should be be something like this: http://rpmfind.net//linux/RPM/fedora/devel/i386/libgcc-4.0.0-8.i386.html - Jeff Yes! Thank you. I

Re: [fpc-devel] linux - select() from linux.ppc

2005-05-26 Thread Michael Van Canneyt
On Thu, 26 May 2005, Michael Preslar wrote: Using the 2.0 compiler binaries from the website.. Free Pascal Compiler version 2.0.0 [2005/05/15] for i386 Code that compiled fine with 1.9.6 won't compile any longer. In specific, the select() routine is gone from the linux unit. I see that it

Re: [fpc-devel] linux - select() from linux.ppc

2005-05-26 Thread Vinzent Hoefler
On Thursday 26 May 2005 15:04, Michael Preslar wrote: Is select() no longer supported in the 2.0 branch? Try fpselect in baseunix. Vinzent. ___ fpc-devel maillist - fpc-devel@lists.freepascal.org

Re: [fpc-devel] glib2 fix for G_TYPE_INSTANCE_GET_CLASS

2005-05-26 Thread Michael Van Canneyt
On Thu, 26 May 2005, Mattias Gaertner wrote: The macro G_TYPE_INSTANCE_GET_CLASS was not translated correct. Attached is a better version. Applied. Thanks. Michael. ___ fpc-devel maillist - fpc-devel@lists.freepascal.org

Re: [fpc-devel] DOS Platforms

2005-05-26 Thread Tomas Hajny
Vinzent Hoefler said: On Wednesday 25 May 2005 14:51, Tomas Hajny wrote: . . recommend starting with this part (for building the compiler at least - Win2K etc. provide better error checking mechanisms, so e.g. SIGSEGVs can be completely undetected under W9x, whereas W2K shows them

Re: [fpc-devel] linux - select() from linux.ppc

2005-05-26 Thread Marco van de Voort
[ Charset ISO-8859-1 unsupported, converting... ] Using the 2.0 compiler binaries from the website.. Free Pascal Compiler version 2.0.0 [2005/05/15] for i386 Code that compiled fine with 1.9.6 won't compile any longer. In specific, the select() routine is gone from the linux unit.

Re: [fpc-devel] linux - select() from linux.ppc

2005-05-26 Thread Michael Preslar
Michael Van Canneyt wrote: Is select() no longer supported in the 2.0 branch? It is. The linux unit was replaced by the BaseUnix and Unix units, which are more cross-platform (work on all Unixes). To mark the difference, the prefix fp was prepended to all calls. So you should use fpSelect().

Re: [fpc-devel] Cant link?

2005-05-26 Thread Michael Preslar
lord.pas(1841,1) Error: Can't call the linker, switching to external linking Error: /usr/local/bin/ppc386 returned an error exitcode (normal if you did not specifiy a source file to be compiled) Whats the error that Im getting and how can I fix it? Typically this means can't find binutils

Re: [fpc-devel] Cant link?

2005-05-26 Thread Marco van de Voort
yy Typically this means can't find binutils error. So either you don't have binutils, or there is something wrong wiht it. Marco and Michael, [EMAIL PROTECTED] game]$ ld ld: no input files which ld and ld --version ___ fpc-devel

Re: [fpc-devel] Cant link?

2005-05-26 Thread Jonas Maebe
On 26 mei 2005, at 18:42, Michael Preslar wrote: Marco and Michael, [EMAIL PROTECTED] game]$ ld ld: no input files So it exists.. And I know it works (I compiled apache, et al).. or could this particular version of ld be messed up? Add the -s option to your command line options when

Re: [fpc-devel] Cant link?

2005-05-26 Thread Michael Preslar
Marco and Jonas, ld --version: GNU ld version 2.14.90.0.4 20030523 Add the -s option to your command line options when compiling, and afterwards run ./ppas.sh. Then you can see what error ld gives. Added -s to the command line, ran ppas.sh, and it linked. Strange, eh?

Re: [fpc-devel] some little errors/notes

2005-05-26 Thread Daniël Mantione
Op Thu, 26 May 2005, schreef Gerhard Scholz: Hello, some notes on the compiler: 1.) I tried to compile the compiler itself (make win32zip) and found the following: a) the routine packages\extra\winunitsjwawownt16.pas contains the line (#55) {$WARN SYMBOL_PLATFORM OFF} which is

Re: [fpc-devel] Cant link?

2005-05-26 Thread Michael Preslar
Michael Van Canneyt wrote: On Thu, 26 May 2005, Michael Preslar wrote: Marco and Jonas, ld --version: GNU ld version 2.14.90.0.4 20030523 Add the -s option to your command line options when compiling, and afterwards run ./ppas.sh. Then you can see what error ld gives. Added -s to the

Re: [fpc-devel] some little errors/notes

2005-05-26 Thread Micha Nelissen
On Thu, 26 May 2005 11:18:52 +0200 Gerhard Scholz [EMAIL PROTECTED] wrote: This follows the natural precedence of mathematical formulas. But with the power operator the natural precedence is from right to left: a ** b ** c ** d normally means: a ** ( b ** ( c ** d ) )

Re: [fpc-devel] some little errors/notes

2005-05-26 Thread Jonas Maebe
On 26 mei 2005, at 21:22, Micha Nelissen wrote: Define natural please ? If I write 2**3**5, I probably mean 2^3^5 = (2^3)^5, not 2^(3^5). In this case, FP is right. Well, I guess he means that if you write it on paper, you write (view in fixed width font) 4 3 2 which indeed is

Re: [fpc-devel] some little errors/notes

2005-05-26 Thread Gerhard Scholz
yes, exactly like this. and other compilers also follow this scheme, so people who convert code from other languages will have problems at a place they do not expect. Gerhard -Ursprüngliche Nachricht- Von: Jonas Maebe [EMAIL PROTECTED] An: FPC developers' list

Re: [fpc-devel] some little errors/notes

2005-05-26 Thread Tomas Hajny
From: Gerhard Scholz [EMAIL PROTECTED] To: FPC developers' list fpc-devel@lists.freepascal.org Date sent: Thu, 26 May 2005 11:18:52 +0200 Organization: gs Subject:[fpc-devel] some little errors/notes Send reply to: