Hi,
I've installed one of the GCC packagers from puppy's manager. It doesn't seem to generate binaries.
Are these packages a full installation of GCC or do I neet to install something else?
How do you compile C programs for Puppy?
Too many questions, I know.
BTW I'm trying to compile ZEsarUX, an emulator for 8bit microcomputers made with C
GCC compiler does not work
- OscarTalks
- Posts: 2196
- Joined: Mon 06 Feb 2012, 00:58
- Location: London, England
I can't find Devx on my Slacko 6.3.2 frugalOscarTalks wrote:If you wish to compile, load the devx for your Puppy. It contains gcc and other stuff needed for this. If compiling anything kernel related you should also load the kernel sources.
(frugal meaning base installed on hdd and filesystem+configuration loaded from savefile also on hdd, am i correct?)
The devx is a separate sfs file that has all the compiling stuff in it. Download it here http://distro.ibiblio.org/puppylinux/pu ... -6.3.2/32/ and then load it with the SFS loader.kerl wrote:I can't find Devx on my Slacko 6.3.2 frugalOscarTalks wrote:If you wish to compile, load the devx for your Puppy. It contains gcc and other stuff needed for this. If compiling anything kernel related you should also load the kernel sources.
(frugal meaning base installed on hdd and filesystem+configuration loaded from savefile also on hdd, am i correct?)
You probably want to uninstall the gcc stuff you already installed first.
I downloaded the sfs version from the ppm.
Is there a pet one better? Where can I get it?
BTW I compiled this C program
https://sourceforge.net/projects/zesaru ... rce=navbar
This is the script to compile it:
All the required libraries are in Slacko 6.3.2 except Pulseaudio which I installed (though the Oscar's version, the ppm one lacks files). I managed to compile it but the program does not work well. Is there a way to compile using other libraries different from the installed ones? (Without uninstalling/reinstalling libs which are already present in Puppy)
This program works well on debian and mint. Is there a way to convert the provided .deb to .pet ?
Is there a pet one better? Where can I get it?
BTW I compiled this C program
https://sourceforge.net/projects/zesaru ... rce=navbar
This is the script to compile it:
Code: Select all
#!/bin/sh
export CFLAGS=-O2
export LDFLAGS=-O2
./configure --enable-memptr --enable-visualmem --enable-cpustats --disable-caca --disable-aa --prefix /usr
make clean
make
make bintargz
This program works well on debian and mint. Is there a way to convert the provided .deb to .pet ?