It says the latest version is installed.
Code:
sudo apt-get install build-essential
Reading package lists... Done
Building dependency tree
Reading state information... Done
build-essential is already the newest version.
The following packages were automatically installed and are no longer required:
libglib1.2ldbl imlib11 libarts1c2a libswscale0 libboost-regex1.34.1
libartsc0 yafray libavutil49 libdc1394-22 libsdl-erlang wings3d libgtk1.2
libftgl2 kdelibs-data libsctp1 liblualib50 koffice-data
libboost-date-time1.34.1 dcraw xdg-user-dirs libavformat52 ruby1.8 blt ruby
libdar64-4 python-tk libavahi-qt3-1 python-uno gpp openoffice.org-base-core
lksctp-tools libgsm1 libwps-0.1-1 openoffice.org-emailmerge tcl8.5
libgtk1.2-common imlib-base blender tk8.4 libavcodec51 tk8.5 gtkglarea5
liblua50 libruby1.8 libgts-0.7-5 erlang-base
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 6 not upgraded.
What it says with "gcc -v"
Code:
gcc -v
Using built-in specs.
Target: i486-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 4.3.2-1ubuntu12' --with-bugurl=file:///usr/share/doc/gcc-4.3/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --enable-shared --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --enable-nls --with-gxx-include-dir=/usr/include/c++/4.3 --program-suffix=-4.3 --enable-clocale=gnu --enable-libstdcxx-debug --enable-objc-gc --enable-mpfr --enable-targets=all --enable-checking=release --build=i486-linux-gnu --host=i486-linux-gnu --target=i486-linux-gnu
Thread model: posix
gcc version 4.3.2 (Ubuntu 4.3.2-1ubuntu12)
He's the code:
Code:
#include < stdio.h>
void main()
{
printf ("\nHello, World!\n");
}
I typed in "gcc Hello.c" again and it spat out the same error.
Bookmarks