LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Puppy
User Name
Password
Puppy This forum is for the discussion of Puppy Linux.

Notices


Reply
  Search this Thread
Old 05-30-2015, 01:00 PM   #1
Fixit7
Senior Member
 
Registered: Mar 2014
Location: El Lago, Texas
Distribution: Ubuntu_Mate 16.04
Posts: 1,374

Rep: Reputation: 169Reputation: 169
Getting gcc set up


I need help getting gcc running.

How do I get the libraries and include files ?

How do I add their locations to my path statement ?
 
Old 05-30-2015, 01:07 PM   #2
schneidz
LQ Guru
 
Registered: May 2005
Location: boston, usa
Distribution: fedora-35
Posts: 5,313

Rep: Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918
assuming fedora
Code:
sudo yum groupinstall "Development Tools"

Last edited by schneidz; 05-30-2015 at 01:12 PM.
 
Old 05-30-2015, 02:16 PM   #3
Fixit7
Senior Member
 
Registered: Mar 2014
Location: El Lago, Texas
Distribution: Ubuntu_Mate 16.04
Posts: 1,374

Original Poster
Rep: Reputation: 169Reputation: 169
I am using Puppy, thus my post in the Puppy group. :-)
 
1 members found this post helpful.
Old 05-30-2015, 02:37 PM   #4
schneidz
LQ Guru
 
Registered: May 2005
Location: boston, usa
Distribution: fedora-35
Posts: 5,313

Rep: Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918
whoops. i was responding from lqspy.
 
Old 05-30-2015, 06:02 PM   #5
Keith Hedger
Senior Member
 
Registered: Jun 2010
Location: Wiltshire, UK
Distribution: Void, Linux From Scratch, Slackware64
Posts: 3,152

Rep: Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856
i think the debian equivelent is
Code:
sudo apt-get install build-essential
you may need other development files as well these are usually named the same as the normal packages with -dev tacked on the end.
 
Old 05-30-2015, 07:14 PM   #6
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,746

Rep: Reputation: 5925Reputation: 5925Reputation: 5925Reputation: 5925Reputation: 5925Reputation: 5925Reputation: 5925Reputation: 5925Reputation: 5925Reputation: 5925Reputation: 5925
The devx sfs file contains the compiler. Download and install the devx file that corresponds to your puppy version.

http://puppylinux.org/wikka/devx
 
Old 06-01-2015, 01:11 AM   #7
Fixit7
Senior Member
 
Registered: Mar 2014
Location: El Lago, Texas
Distribution: Ubuntu_Mate 16.04
Posts: 1,374

Original Poster
Rep: Reputation: 169Reputation: 169
Thanks michaelk.

I installed the devx.

It was "clear as mud."

It said, "Select the source directory for the project. This should contain the CMakeLists.txt files for the project.

Linux is way older than Windows.

So why is it such a P.I.T.A. to program for ?

You can go here and can create programs for Windows using the included examples.

http://www.masm32.com/index.htm
 
Old 06-01-2015, 05:12 AM   #8
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,746

Rep: Reputation: 5925Reputation: 5925Reputation: 5925Reputation: 5925Reputation: 5925Reputation: 5925Reputation: 5925Reputation: 5925Reputation: 5925Reputation: 5925Reputation: 5925
linux was first released in 1991, Windows 1.0 was first released in 1985 and Unix first released in 1969. Puppy tries to be as small as possible but many distributions do not install the development tools by default.

Not sure why you think creating programs in linux is harder then windows. Using a package manager you can install all the tools and compile a hello world c program in about 5 minutes.
 
Old 06-01-2015, 07:09 AM   #9
schneidz
LQ Guru
 
Registered: May 2005
Location: boston, usa
Distribution: fedora-35
Posts: 5,313

Rep: Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918
Quote:
Originally Posted by Fixit7 View Post
Thanks michaelk.

I installed the devx.

It was "clear as mud."

It said, "Select the source directory for the project. This should contain the CMakeLists.txt files for the project.

Linux is way older than Windows.

So why is it such a P.I.T.A. to program for ?

You can go here and can create programs for Windows using the included examples.

http://www.masm32.com/index.htm
iirc, puppy is designed to be as small as possible with little need to install anything extra like a appliance distro.

sorry to sound mean but that is like complaining that a golf-cart cant drive on the interstate; or a motorbike cant carry as much cargo as a moving truck.

if you have the need for a development platform there are many available under an all-purpose distro like fedora, debian, ubuntu, mint, ...
e.g.: these options are geared towards specific development tracks:
http://labs.fedoraproject.org/
 
1 members found this post helpful.
Old 06-02-2015, 06:53 PM   #10
Fixit7
Senior Member
 
Registered: Mar 2014
Location: El Lago, Texas
Distribution: Ubuntu_Mate 16.04
Posts: 1,374

Original Poster
Rep: Reputation: 169Reputation: 169
Thanks.

I am willing to install a Linux version that has programming tools built in.

Who is a programmer and what distro are you using ?
 
Old 06-23-2015, 01:37 PM   #11
ltwilliams58
LQ Newbie
 
Registered: Jun 2015
Distribution: Mint Ubuntu
Posts: 29

Rep: Reputation: 3
Quote:
Originally Posted by Fixit7 View Post
I am willing to install a Linux version that has programming tools built in.
I don't know of any distributions that have development tools installed by default, but on most, like Debian or Fedora, they are easy to install, as shown in previous posts.
 
Old 06-23-2015, 01:43 PM   #12
Keith Hedger
Senior Member
 
Registered: Jun 2010
Location: Wiltshire, UK
Distribution: Void, Linux From Scratch, Slackware64
Posts: 3,152

Rep: Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856
Quote:
Originally Posted by ltwilliams58 View Post
I don't know of any distributions that have development tools installed by default, but on most, like Debian or Fedora, they are easy to install, as shown in previous posts.
Slackware,LFS and I assume Arch as its source based or ANY source based distro, go wild have a look at distro watch and try somthing different!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Set universal CFLAGS that gcc automatically sees thebombzen Linux - Software 3 08-22-2011 10:20 AM
Installation and environment set for gcc bineet Linux - Newbie 5 04-18-2009 01:25 AM
HOW TO SET PATH TO gcc in UBUNTU8.10 RSR Linux - Newbie 4 01-13-2009 09:34 AM
yum install gcc doesn't set the lastest gcc ver 4.3.x kim,jw Linux - Newbie 3 12-22-2008 11:51 PM
Must set up Enviroment variables for GCC 3.4.3? colintri Linux - Software 5 03-13-2005 06:42 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Puppy

All times are GMT -5. The time now is 05:14 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration