Thank for your answers,
In Xcode 3.2.3 I'm able to set the base SDK to iOS 4.0
SDKROOT = iphoneos4.0
and the deployment target to iOS 2.0
IPHONEOS_DEPLOYMENT_TARGET = 2.0
I understand that iOS 2.x is no more directly supported, but that doesn't mean you cannot be backward compatible...
As Rudiger pointed out, it will be a pain in the ass to develop an application so backward compatible. But do you really think there are no more iOS 2.x iPod Touches around?
Anyway, thank you for the infos about libsqlite3.dylib, I was stuck with SQLite since foreign key support has been introduced in the october 2009 upgrade (http://www.sqlite.org/changes.html), and so it will not be available in iOS 2.x and 3.x devices...right?