Is gcc portable between all 64 bit linux machines

view full story

http://askubuntu.com – I'm doing work remotely by connecting to a Linux terminal with ssh. The machine I'm connecting to is a 64 bit x86 Linux machine. My computer is also 64 bit Ubuntu machine with an x86 processor. I need to hand in program assignments that compile with gcc and run on remote machine or they will not be graded. The professor mentioned that gcc may compile programs differently on different machines and that C not completely portable like Java. My question is can I write my programs in gedit and debug them with gdb on my computer and upload them with scp (if I do the work by sshing into the remo (HowTos)