tl;dr If you're going to be a CTO or founding engineer, make sure you are getting well compensated, either through salary (which start-ups generally can't do) or equity (which the founder won't generally give away).