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

2005-05-25 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-25 Thread Jeff Pohlmeyer
> /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 ___ fp

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

2005-05-25 Thread Linuxer Wang
Jeff Pohlmeyer wrote: So I delete the chmlib.so and the compiler try to compile with chmlib.a FPC tells the linker to look first in the current directory, so instead of deleting chmlib.so, you can just do this: % ln -s /usr/local/lib/libchm.a in the directory of your pascal source. Gr

[fpc-devel] RE: error when linking

2005-05-25 Thread Jeff Pohlmeyer
> So I delete the chmlib.so and the > compiler try to compile with chmlib.a FPC tells the linker to look first in the current directory, so instead of deleting chmlib.so, you can just do this: % ln -s /usr/local/lib/libchm.a in the directory of your pascal source. > undefined reference to `__mo

Re: [fpc-devel] error when linking

2005-05-25 Thread Linuxer Wang
Michael Van Canneyt wrote: On Wed, 25 May 2005, Linuxer Wang wrote: Hi, all I try to compile my program with chmlib. There're chmlib.so and chmlib.a under /usr/lib. I find a wierd problem, when I compile my program, the compiler uses chmlib.so, and the compilation is successful. But what I

Re: [fpc-devel] error when linking

2005-05-25 Thread Michael Van Canneyt
On Wed, 25 May 2005, Linuxer Wang wrote: > Hi, all > > I try to compile my program with chmlib. > There're chmlib.so and chmlib.a under /usr/lib. I find a wierd problem, > when I compile my program, the compiler uses chmlib.so, and the > compilation is successful. > But what I want is too compi

[fpc-devel] error when linking

2005-05-25 Thread Linuxer Wang
Hi, all I try to compile my program with chmlib. There're chmlib.so and chmlib.a under /usr/lib. I find a wierd problem, when I compile my program, the compiler uses chmlib.so, and the compilation is successful. But what I want is too compile it with chmlib.a so that the executable will be indepen

Re: [fpc-devel] DOS Platforms

2005-05-25 Thread Tomas Hajny
Vinzent Hoefler said: > Ok, first status on the matter: > > Tonight I've spent some time with the sources and my Win2K machine. For > me it seems as the Makefile(.fpc)'s are not yet up to date for the > go32v2 target (object files didn't get deleted on cleanall, some unit > paths were missing, that

RE: [fpc-devel] DOS Platforms

2005-05-25 Thread Lee, John
Just put a v2.1.1 basedos.zip (compiler & rtl only) snapshot which I just made on win me, using supplied makes into ftp.freepascal.org .../snapshot/v21/. Used .../snapshot/v21/source/ . Not tested much, but it works for hello world program anyway... Regards John -Original Message- From

RE: [fpc-devel] DOS Platforms

2005-05-25 Thread Lee, John
I've never been able to make go32v2 make work properly under w2k/xp, and neither has anyone else afaik - because of the well known bugs...Not worth trying imho - best to use real dos. Current make cycle (just compiler & rtl) & go32v2zip (whole release) works fine under win9x - I use ME. Bo

Re: [fpc-devel] DOS Platforms

2005-05-25 Thread Florian Klaempfl
Vinzent Hoefler wrote: > > Oh, yes. One question: Should I use the current fpc2.0.1 release from > the CVS or would it be better to switch to the 2.1.x branch already to > not get too far behind the current development? Just don't say > "both". ;-) Our policy is to work and develop patches in

Re: [fpc-devel] DOS Platforms

2005-05-25 Thread Vinzent Hoefler
Ok, first status on the matter: Tonight I've spent some time with the sources and my Win2K machine. For me it seems as the Makefile(.fpc)'s are not yet up to date for the go32v2 target (object files didn't get deleted on cleanall, some unit paths were missing, that sort of stuff) [FYI: I checke