we all know that if $X$ is a compact topological space then $F(X)$ is compact for all $F\colon X\to \mathbb{R}$ continuous. I was wondering whether the converse is true? For metric spaces I have found a proof, one can argue by contradiction and use the metric to construct an unbounded continuous function. But the the topological case, I have no clue? Does it still hold? Do we need some strong stuff like Tychonoff?
Thanks a lot