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 remote unix terminal I can only use nano/pico/vim)? Or will my computer compile differently then the remote machine? Again, they are both x86 64bit Linux machines.