Cut the eggplant, bell pepper, and onion into 1-inch cubes. Toss them in a large bowl with the garlic, olive oil, salt, and pepper. Spread them on a baking sheet. Roast for 45 minutes, until the vegetables are lightly browned and soft, tossing once during cooking.