If you're playing in a core-only game, archery is quite a viable build. Just go with a Ranger. You get all the feats you need, you get some skills and spells on the side, and unlike the fighter and barbarian you get to full attack every turn without getting full attacked back. Once you get Improved Precise Shot, you don't even need to move.
And for non-core, there are all the options above.
The main problem is, as mentioned, the total lack of interesting PrCs. You'd think with all those splatbooks, there'd be a few somewhere . . .