[fpc-pascal] Re: Help needed with (JEDI-)SDL on Mac OS X with FPC 2.0.4 powerpc

Jonas Maebe jonas.maebe at elis.ugent.be
Sun Aug 19 14:02:23 CEST 2007


On 18 Aug 2007, at 21:24, Tom Verhoeff wrote:

> On Fri, Aug 17, 2007 at 10:47:27PM +0100, Milan Marusinec wrote:
>> Tom Verhoeff wrote:
>>> Any idea what I messed up?
>>>
>>> This is what my command line looks like:
>>>
>>> fpc -Fu/Users/wstomv/Download/JEDI-SDLv1.0/SDL/Pas -Fl/usr/X11R6/lib
>>> -XMSDL_main -k-L/sw/lib -k-lSDL -k-framework -kOpenGL -k- 
>>> framework -kCocoa
>>> -Mdelphi demo02
>>
>> I would suggest to pass the -k switch this way:
>>
>> -k"-framework Carbon -framework Cocoa -framework OpenGL -lSDL -L/ 
>> sw/lib"
>>
>> because, fpc passes the "whole content of -k switch" to ld.
>
> I tried that, but it didn't work.  Maybe shell-dependent; I use
> /bin/bash on Mac OS X 10.3.9.

No, it's a bug in current FPC releases. It will be fixed in the next  
release. You can also work around it with current releases by  
directly calling ppcppc/ppc386 instead of fpc.

> Could it be related to versions of the various libraries?  E.g.,
> it may require 10.4.x.

Yes: http://www.idevgames.com/forum/showthread.php?p=130497

http://www.google.com/search?q=_HIPointConvert+referenced+from+QuickTime


Jonas



More information about the fpc-pascal mailing list