Sign in with
Sign up | Sign in
Your question

Portable Linux Programming Build

Tags:
  • Programming
  • Build
  • Linux
Last response: in Linux/Free BSD
Share
January 14, 2014 5:09:02 PM

So I want to program C++ and I heard the GNU compiler is standard on most linux distributions. I'm learning C++ and want to be able to run linux from a flash drive, what would be the best distribution and how big does the drive need to be?

More about : portable linux programming build

January 14, 2014 5:34:39 PM

boosted1g said:
8GB drive should be fine.

I would look at fedora


So do I need to download Notepad++ or something to write the code? And I assume compiling works the same as (or similar to) Command Prompt?
m
0
l
a b 5 Linux
January 14, 2014 8:10:58 PM

You can use any editor to edit C/C++ code from basic editors to full blown IDE's with syntax highlighting and other IDE features. There are literally hundreds of editors. Choose which ever you want. There is no "best"; only what you like most!
geany
gedit
vim
emacs
eclipse
kate
...to name a few.


To compile C code:
#gcc foo.c

To compile C++ code:
#g++ foo.c

If you are running off a usb drive make sure you set certain USB safe options to extend your drive life and improve performance.
Lots of good information/tips in the ArchLinux wiki.
https://wiki.archlinux.org/index.php/Solid_State_Drives
m
0
l
Related resources
a b L Programming
a b 5 Linux
January 15, 2014 12:01:09 AM

Don't forget CodeBlocks.
m
0
l
a b 5 Linux
January 15, 2014 1:28:42 AM

skittle said:
You can use any editor to edit C/C++ code from basic editors to full blown IDE's with syntax highlighting and other IDE features. There are literally hundreds of editors. Choose which ever you want. There is no "best"; only what you like most!
geany
gedit
vim
emacs
eclipse
kate
...to name a few.


To compile C code:
#gcc foo.c

To compile C++ code:
#g++ foo.c

If you are running off a usb drive make sure you set certain USB safe options to extend your drive life and improve performance.
Lots of good information/tips in the ArchLinux wiki.
https://wiki.archlinux.org/index.php/Solid_State_Drives


You left off my favorite for novices, Joe.
Don't forget during installation to click on extra space or however the installer you use describes it. This allows you to save work and settings preferences on the USB as well.
m
0
l
!