This video shows how to estimate GMM using Gretl for time series data.
Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.