Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2003-01

Porting SDL

2 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

James Mills

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 ?

cheers
James

Reply by email

Michael Van Canneyt
to James Mills
James Mills wrote 8 lines
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.

Reply by email