In this paper, we study a class generalized KdV equation with generalized evolution by using sine-cosine method. As a result, more types of new exact solutions to the generalized KdV equation with generalized evolution are obtained, which include more general soliton solutions, compactons solutions and solitary patterns solutions.