Openocd and STM32F100E-EVAL

I would like to develop an IDE for STM32F100ZE (ARM cortex-M3) under linux , for that I installed the compiler set from code sourcery.The Jtag Probe ST-Link/V2 doesn’t work under linux.I want to debug it under linux.Which is the easiest way to proceed further in terms of its both cost and stuff?

Tell me the procedure to debug it via openocd.As i am new to this topic , kindly give me the detail description to add value.

Regards,

Karthick