LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   How to install/run C/C++ compiler in Puppy 431 (https://www.linuxquestions.org/questions/linux-software-2/how-to-install-run-c-c-compiler-in-puppy-431-a-775538/)

dickb 12-14-2009 06:49 AM

How to install/run C/C++ compiler in Puppy 431
 
I am trying to install the C/C++ compiler into The current version of puppy 431.
I followed the Release notes and downloaded devx_431.sfs and saved it in the root directory of the drive C:


So I downloaded devx_431.sfs to /mnt/home and I used the Puppy Boot Configuration to make devx_431.sfs automatically
load at boot time.

OK so far so good.

What I need to know now is how do I compile a short test (hello.c) program.

Where are the executables?
Can i copy the executables to ~my-applications/bin ?

"/root/my-applications/bin/ is in the executable search path,
as set by environment variable PATH.

Therefore, any executables placed in here will be found." ???

I'd appreciate any help

AutoBot 12-14-2009 09:17 AM

Yes that's what the my-applications/bin folder is for, its already in the path.

gcc hello.c
./hello

If its good then do a

cp hello ~/my-applications/bin


All times are GMT -5. The time now is 05:51 PM.