[fpc-pascal]Porting SDL

Michael Van Canneyt michael.vancanneyt at wisa.be
Mon Jan 6 09:38:50 CET 2003


On Mon, 6 Jan 2003, James Mills wrote:

> Hi,
>
> I develop on a linux box, creating a class invaders clone with the SDL
> library.
>
> Could someone help me with porting it to windows, as I'll need to do
> that fairly soon. As for compiling it for the win32 target from linux, I
> think I need to build a cross-linker ?

Yes. Just download the binutils sources, and build for the mingw32
target or cygwin target. The ld should be renamed to ldw, I think.

The binary directory where these tools go can be set on the compiler
command-line with -FD.

Michael.





More information about the fpc-pascal mailing list