@xinyiman
As rvk said in his previous post, you have to create an Embedded version of Firebird. It's simple on windows, relatively easy under linux, hard as hell under OSX. I did try once, but I failed miserably. That was a long time ago(more then 4 years), things has changed a lot since, so you should give it a try.