If you want to use a mill with a lathe spindle mounted in X, using Mill X as Lathe Z and Mill Z as Lathe X then there's nothing special to do apart from fixing a tool to the mill head and configuring your axes in Mach3 and correctly defining your machine in any CAM package you use.