[fpc-pascal] SDL example
Nataraj S Narayan
natarajsn at gmail.com
Wed Apr 20 11:21:43 CEST 2011
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
More information about the fpc-pascal
mailing list