Re: [fpc-pascal] Freepascal on OSX 10.9 Mavericks $LINKLIB gcc broken

2014-03-09 Thread Peter Brooks
I'm a bit surprised. As it happens, just this week I compiled the fpc compiler from scratch on Mavericks. It worked perfectly well, and is compiling perfectly well - version 2.6.0. I was wondering, though, whether there was any enhanced support for features on the Intel 'Sandy-Bridge' and 'Ivy-Bri

Re: [fpc-pascal] Freepascal on OSX 10.9 Mavericks $LINKLIB gcc broken

2014-03-09 Thread m...@rpzdesign.com
After diving deeply into the dependency tree, there are 2 libraries that are involved in this particular problem: /usr/lib/libSystem.B.dylib /usr/lib/libgcc_s.1.dylib But I cannot figure out yet how to call up the libgcc_s.1.dylib {$LINKLIB /usr/lib/gcc [many variations tried] } The mystery c

[fpc-pascal] Freepascal on OSX 10.9 Mavericks $LINKLIB gcc broken

2014-03-09 Thread m...@rpzdesign.com
Now that OSX Mavericks 10.9 is running full speed, it has broken the {$LINKLIB gcc} compiler directive. {$LINKLIB c} still WORKS. But {$LINKLIB gcc} does not. The reason is that Mavericks does not use GCC any more, it is using clang, a new compiler. So now Freepascal users need to know how to r

Re: [fpc-pascal] $LINKLIB MSVCRT on windows/osx

2014-03-09 Thread Marco van de Voort
In our previous episode, m...@rpzdesign.com said: > Based on the tone of your response, I am thinking that I > am doing something stupid on windows win32? Not really. You are just asking C questions in a Pascal list :-) > Should I be using Microsoft compiler to build ceecodelib.a? (Instead of

Re: [fpc-pascal] $LINKLIB MSVCRT on windows/osx

2014-03-09 Thread m...@rpzdesign.com
Marco: Based on the tone of your response, I am thinking that I am doing something stupid on windows win32? Should I be using Microsoft compiler to build ceecodelib.a? (Instead of Mingw 4.7x) I was seeing COFF magic error for Microsoft compiler static libraries. The amount of information I

[fpc-pascal] Mantis maintenance

2014-03-09 Thread Dmitry Boyarintsev
Hello, Not sure, if Mantis is maintained by FPC or Lazarus team (or actually either. I've provided a plugin for it to preserve backtrace formatting. http://bugs.freepascal.org/view.php?id=25780 It requires someone with physical access to the machine hosting Mantis to install it. Did anyone had a

Re: [fpc-pascal] $LINKLIB MSVCRT on windows/osx

2014-03-09 Thread Marco van de Voort
In our previous episode, m...@rpzdesign.com said: > Thanks for your response. > > I am trying to use {$LINKLIB ceecodelib.a} . > > But this compiled c code makes references to Windows C Runtime calls > like _memcpy, etc. What is that library compiled with? I guess mingw. You probably need vari

Re: [fpc-pascal] $LINKLIB MSVCRT on windows/osx

2014-03-09 Thread m...@rpzdesign.com
Marco: Thanks for your response. I am trying to use {$LINKLIB ceecodelib.a} . But this compiled c code makes references to Windows C Runtime calls like _memcpy, etc. Under linux, I was able to use {$LINKLIB c} and it picked up all the unresolved references for the linker. Under Windows Wi

Re: [fpc-pascal] $LINKLIB MSVCRT on windows/osx

2014-03-09 Thread Marco van de Voort
In our previous episode, m...@rpzdesign.com said: > Has anybody got a clue how to statically link the windows c run time with > lazarus/freepascal on Windows 7/8 x32 or x64? No idea. > Looking at gdbint.pp, there are all sorts of references to {$LINKLIB > libmsvcrt.a} > > But there is only li

Re: [fpc-pascal] $LINKLIB MSVCRT on windows/osx

2014-03-09 Thread m...@rpzdesign.com
Oops: That was a typo error. First I need to link to c run time on Windows. Then I need to link to c run time on OSX. Cheers, marco On 3/9/2014 1:42 PM, m...@rpzdesign.com wrote: Hey: Has anybody got a clue how to statically link the windows c run time with lazarus/freepascal on Windows 7/

[fpc-pascal] $LINKLIB MSVCRT on windows/osx

2014-03-09 Thread m...@rpzdesign.com
Hey: Has anybody got a clue how to statically link the windows c run time with lazarus/freepascal on Windows 7/8 x32 or x64? Looking at gdbint.pp, there are all sorts of references to {$LINKLIB libmsvcrt.a} But there is only libmsvcrt.a when I install MingW 4.8.1 compiler Since forum.lazaru

Re: [fpc-pascal] DBF components are maintained now

2014-03-09 Thread Attila Kovács
I use tdbf component very often, and i like it. Foxpro/visual foxpro support (with CDX) superb. Many thanks Attila Kovács ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal