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)

Michael.

On Wed, 20 Apr 2011, Nataraj S Narayan wrote:

Hi

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?

regards

Nataraj
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to