<?php
Doctrine::compile();

// on some other script:

require_once("path_to_doctrine/Doctrine.compiled.php");
?>