Combination of log-lineared sector and non-linear sector

Hi, everyone. Rencently I am trying to replicate others’ papers and encountering a question. One of the reference is expressed as a log-lineared model and the other is non-linear. For the latter, it includes cumulative distribution functions in the “model” sector. I think there are two alternatives:
1.log-linearize the equation involving the cumulative distribution function
2.include the log-lineared sector and non-linear sector in the same mod-file.
Unfortunately, I do not know how to realize either. I would feel grateful for you kind-hearted help!