To create something comparable is difficult.
You can begin by matching by CUSIPs. However, Compustat's CUSIP is not historical and CRSP's CUSIP is (NCUSIP variable).
Then you would need to compare company names. Again, Compustat only provides header information.
You can use a more complicated algorithm that matches prices in both datasets for a better match.