Using SDL with Code::Blocks on OSX

Hello !

  1. A friend of mine wants to use SDL 1.2 with Code::Blocks on OSX. Anybody here using the same
    combination and knows a tutorial that shows how to integrate the SDL frameworks with CB and get a simple
    "SDL Hello World" programm running ?

  2. Is it possible with CB to create some system independent project files that run on OSX, Windows and Linux ?
    The used libs would be SDL 1.2, SDL_image, SDL_mixer, no native stuff involved.

CU