Changing DYNs to EXECs in /usr/bin dpup-stretch-700-builds

A home for all kinds of Puppy related projects
Message
Author
musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

#16 Post by musher0 »

Hi belham2.

I guess so!

I haven't tried it yet, but it should work. He's one of the big chiefs around
here, so he's got his reputation to think about! ;)

I guess it would work like so

Code: Select all

./configure CFLAGS='no-pie' CXXFLAGS='no-pie' --prefix=/usr --other_parms_if_needed
Maybe ask him for confirmation.

About cherrytree, I installed mine as you suggested, from the PPM, and it
works great. Why compile a new one?

As you may know, cherrytree is a Python program so we can't compile it
the way we do for C and C++ progs. I don't know anything about Python,
BTW, so can't help you there. But I like some of their programs.

BFN.
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

Sailor Enceladus
Posts: 1543
Joined: Mon 22 Feb 2016, 19:43

#17 Post by Sailor Enceladus »

@musher0: Interesting. I used your script, and it made my puppy_puduan_7.0.0a1.sfs 18.5MB smaller than the one made with Woof-CE, and everything still works? :) Did not look into why yet but here it is (in the elfedit directory):

https://my.pcloud.com/publink/show?code ... Rmwjj6bdA7

musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

#18 Post by musher0 »

Hi, Sailor.

It's probably the xz compression type that I use in mksquashfs that
makes the resulting sfs a bit smaller.

When I applied the process to my devx, the resulting size in Mb's was
2Mb's larger. A small variation in size is to be expected and is non-
important, IMO.

Maybe it squeezed the air out of the popcorn you had in there!!! :twisted:

Or you removed gcc by accident before squashing the devx? 18.5 Mb's
times three (average compression ratio of mksquashfs) is about the size
of the gcc unpacked... But don't worry! I'm just getting your goat!!!

BFN.
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

Sailor Enceladus
Posts: 1543
Joined: Mon 22 Feb 2016, 19:43

#19 Post by Sailor Enceladus »

musher0 wrote:It's probably the xz compression type that I use in mksquashfs that
makes the resulting sfs a bit smaller.
You're right musher0! Both expanded to the same size. :) *eats some popcorn so there's more air again*

musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

#20 Post by musher0 »

Sailor Enceladus wrote:
musher0 wrote:It's probably the xz compression type that I use in mksquashfs that
makes the resulting sfs a bit smaller.
You're right musher0! Both expanded to the same size. :) *eats some popcorn so there's more air again*
xz compression illustrated on the right, uncompressed on the left!

....................................................Image

:lol:
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

Pelo

Packages have to be translated to exec, haven't they ?

#21 Post by Pelo »

French see topic here about PPM, click the blue I must say that english explanations about usr/bin would be nice translated french..
In fact packages downloaded from PPM must be translated to exec, Is my understanding correct ?

musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

#22 Post by musher0 »

No pelo.

The PPM is made up of a series of scripts in bash, whereas this thread is
trying to correct the type of executables written and compiled in the C or
C++ langages.

Thanks for your understanding.
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

Post Reply