Cut squash into slices about I1/2" thick.
Place in shallow oven dish and brush with oil.
Sprinkle with sugar and salt, and pour the fruit over the top.
Bake in moderate oven until tender, basting 3 or 4 times.
Cooking time will depend on type of squash, and will need 45 to 60 minutes.