[fpc-pascal] Re: stdcall vs. cdecl: another "using a FPC-generated .dll with Microsoft Visual C++" question

2010-03-26 Thread Seth Grover
> Not exactly on topic, but I'm curious why you want to link statically > like this and not dynamically. AFAIK, VS can call LoadLibrary and > GetProcAddress just fine. > > Jeff. You're right, it can. The product the company I work for produces is a shared library, and I'm just looking into and ma

Re: [fpc-pascal] Cross compiling: "from linux to Darwin or Mac OS X"

2010-03-26 Thread Torsten Bonde Christiansen
I do already own a legit Mac mini so I have not problem compiling my code for Mac OS X. But the mini is not my primary machine and is actually only meant for testing puposes, so I wanted to create a setup on my primary PC (64-bit linux) that, using a script, can compiles and cross compiles for

Re: [fpc-pascal] Cross compiling: "from linux to Darwin or Mac OS X"

2010-03-26 Thread Jonas Maebe
On 26 Mar 2010, at 11:37, Patrick Chevalley wrote: I try and give up. It's indeed quite unfortunate that Apple's tool chain is not easily portable to other platforms. And since they regularly modify internal stuff (new sections/features/flags in object files, changes to the headers of b

Re: [fpc-pascal] Cross compiling: "from linux to Darwin or Mac OS X"

2010-03-26 Thread Patrick Chevalley
I try and give up. What I use now is a Mac virtual machine running on my Linux x64. It's too bad you have to turn to the dark side of the Internet for instruction on how to do that. Patrick ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org htt

Re: [fpc-pascal] when cross-compiling, "Recompiling Unit..., checksum changed for System"

2010-03-26 Thread Jonas Maebe
On 26 Mar 2010, at 11:04, Haluk DUMAN wrote: i use cross-compiling from win32 to (target)linux... and get this error; "Recompiling BaseUnix, checksum changed for System" You are mixing units from different snapshots together. While I think that in theory this should work if they are compi

[fpc-pascal] when cross-compiling, "Recompiling Unit..., checksum changed for System"

2010-03-26 Thread Haluk DUMAN
i use cross-compiling from win32 to (target)linux... and get this error; "Recompiling BaseUnix, checksum changed for System" i am using this snapshot: ftp://ftp.freepascal.org/pub/fpc/snapshot/v24/i386-win32/base_w32_v24.zip ftp://ftp.freepascal.org/pub/fpc/snapshot/v24/i386-win32/fpc-2.4.1.i386-