[fpc-pascal] SDL example
Michael Van Canneyt
michael at freepascal.org
Wed Apr 20 13:54:27 CEST 2011
Which sources are this ?
I looked in todays SVN, and I find neither examples, nor a dependency on X11 in the sdl package.
In fact, the whole FPC package sources do not contain a demo03.pas file.
(unless SVN and my harddrive are screwed up)
On Wed, 20 Apr 2011, Nataraj S Narayan wrote:
> I am on fpc/packages/sdl/examples.
> # ppcrossarm demo03.pas -darm -XD -CX
> Free Pascal Compiler version 2.5.1 [2011/03/01] for arm
> Copyright (c) 1993-2010 by Florian Klaempfl
> Target OS: Linux for ARM
> Compiling demo03.pas
> Assembling demo03
> Linking demo03
> /uclibc-tc/arm-linux-ld: warning: link.res contains output sections;
> did you forget -T?
> /uclibc-tc/arm-linux-ld: cannot find -lX11
> demo03.pas(284) Error: Error while linking
> demo03.pas(284) Fatal: There were 1 errors compiling module, stopping
> Fatal: Compilation aborted
> Since I am linking against SDL library which uses DirectFB on Arm, I
> don't need X.
> How do I disable -lX11 from linking?
> fpc-pascal maillist - fpc-pascal at lists.freepascal.org
More information about the fpc-pascal