Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Sun 21 Jan 2018, 16:07
All times are UTC - 4
 Forum index » Advanced Topics » Puppy Projects
Woof CE Debian Stretch and Devuan Ascii Based Development
Moderators: Flash, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 14 of 48 [719 Posts]   Goto page: Previous 1, 2, 3, ..., 12, 13, 14, 15, 16, ..., 46, 47, 48 Next
Author Message
ttuuxxx


Joined: 05 May 2007
Posts: 11191
Location: Ontario Canada,Sydney Australia

PostPosted: Wed 08 Mar 2017, 01:41    Post subject:  

Like I said I don't have that much free time for next week or two so, I quickly made a Iso, a couple of things still missing, but its a much better Alpha release, I replaced the first one I uploaded, No need to keep alpha's laying around Smile , Comes with palemoon and flash, MPV works in the menu for drag and drop videos

A couple of the desktop Icons I just linked to google apps versions, Like
Write=Google Doc's
mail=Gmail
Plan=Google Calendar
Calendar=Google Sheets
have fun
ttuuxxx
278MB iso
http://smokey01.com/ttuuxxx/WoofCe/stretch-7.0.0a1.iso
MD5Sum 4ca6d678d3e134d8b1d2fccfed573a8e stretch-7.0.0a1.iso

_________________
http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games Smile
Back to top
View user's profile Send private message Visit poster's website 
musher0


Joined: 04 Jan 2009
Posts: 11498
Location: Gatineau (Qc), Canada

PostPosted: Wed 08 Mar 2017, 01:51    Post subject:  

Hello all.

Success! I think...

I created an gcc sfs, loaded it. Then I applied james' export vars tip.

I tried it on source code for a small program, Xclock. It compiles and
creates a real executable -- not a hybrid DYN --, at 48 Kb's, stripped,
which is 7.7 Kb's larger than a previous build, BTW.

I typed ./Xclock and the clock was displayed.

This is what we wanted to know, correct? This new gcc creates a real
executable.

Now, if I remove the devx, and only keep the gcc sfs, kaput, because of
no make anymore anywhere. This is normal, right?

If someone wants to revise my work, just say so, and I'll make the sfs
available. (I'd like that, actually. It would make me feel more secure
about the whole thing.) In the meantime, the < tree -fisp > of it is
attached, which can give you an idea.

Next step: How do we integrate this newly built gcc into the devx?

I checked, and the hierarchies of the dirs are not the same, the files are
not in the same place. We erase the correcponding files in /usr/bin,
/usr/lib, etc. and we put links to /opt/gcc in their place?

Or I could rebuild with --prefix=/usr, except it takes a couple hours on
this old boat.

TIA for any pointers.

~~~~~~~~~
FWIW, the formula I used:
Quote:
# Preparation
# ./contrib/download_prerequisites # from the dir. where gcc was unpacked
# for ex., /mnt/sda5/tests/gcc-6.3.0 # Source: gcc wiki

# Build itself
# /mnt/sda5/tests/gcc-6.3.0/configure --prefix=/opt/gcc6 --enable-languages=c,c++ --disable-bootstrap --disable-multilib --with-system-zlib
# from the dir. next to the gcc dir., such as /mnt/sda5/tests/objdir
# Source: mix of tips from jamesbond and LFS

# Checks
# ulimit -s 32768 && make -k check # this recommended by LFS. No
mention of a needed check in the gcc wiki.
gcc-6.3.0_exec.tree.zip
Description 
zip

 Download 
Filename  gcc-6.3.0_exec.tree.zip 
Filesize  14.54 KB 
Downloaded  35 Time(s) 

_________________
musher0
~~~~~~~~~~
"Logical entities must not be multiplied beyond necessity." | |
« Il ne faut pas multiplier les entités logiques sans nécessité. » (Ockham)

Last edited by musher0 on Wed 08 Mar 2017, 01:54; edited 2 times in total
Back to top
View user's profile Send private message 
ttuuxxx


Joined: 05 May 2007
Posts: 11191
Location: Ontario Canada,Sydney Australia

PostPosted: Wed 08 Mar 2017, 01:53    Post subject:  

Oh yeah the pet package retrovol_tray has it in startup , just delete it /root/Startup/retrovol_tray <-- delete, Next release it will be fixed Smile
ttuuxxx

_________________
http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games Smile
Back to top
View user's profile Send private message Visit poster's website 
ttuuxxx


Joined: 05 May 2007
Posts: 11191
Location: Ontario Canada,Sydney Australia

PostPosted: Wed 08 Mar 2017, 01:57    Post subject:  

musher0 wrote:
Hello all.

Success! I think...

I checked, and the hierarchies of the dirs are not the same, the files are
not in the same place. We erase the correcponding files in /usr/bin,
/usr/lib, etc. and we put links to /opt/gcc in their place?

Or I could rebuild with --prefix=/usr, except it takes a couple hours on
this old boat.

TIA for any pointers.
.


I usually build them in /usr, keep the /opt version for backup Smile
ttuuxxx

_________________
http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games Smile
Back to top
View user's profile Send private message Visit poster's website 
musher0


Joined: 04 Jan 2009
Posts: 11498
Location: Gatineau (Qc), Canada

PostPosted: Wed 08 Mar 2017, 02:06    Post subject:  

Hi tuxx.

I guess /opt was ok for the test. i was following james' directions.

That said, if we integrate james' export vars lines, it should be ok (with a
little tinkering!) to leave gcc there and remove the corresponding files in
/usr in the devx.

You didn't mention anything about the results of your gcc building and tests.
Success? False DYN file types gone?

BFN.

_________________
musher0
~~~~~~~~~~
"Logical entities must not be multiplied beyond necessity." | |
« Il ne faut pas multiplier les entités logiques sans nécessité. » (Ockham)
Back to top
View user's profile Send private message 
ttuuxxx


Joined: 05 May 2007
Posts: 11191
Location: Ontario Canada,Sydney Australia

PostPosted: Wed 08 Mar 2017, 02:17    Post subject:  

musher0 wrote:
Hi tuxx.

I guess /opt was ok for the test. i was following james' directions.

That said, if we integrate james' export vars lines, it should be ok (with a
little tinkering!) to leave gcc there and remove the corresponding files in
/usr in the devx.

You didn't mention anything about the results of your gcc building and tests.
Success? False DYN file types gone?

BFN.

The directory structure and file permission look right, about 10 yrs ago when I built GCC in /opt like that I deleted the ones in /Usr and system linked the /opt files to the corresponding locations, Then after that I just recompiled in /usr and replaced them. Actually did it 3 time in 2.14X Smile , Now new Gcc won't compile on older Kernels, you get a "Kernel too Old" error, grrrr. Anyways congratulations on compiling Gcc that the building block of most distro's.
ttuuxxx

_________________
http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games Smile
Back to top
View user's profile Send private message Visit poster's website 
musher0


Joined: 04 Jan 2009
Posts: 11498
Location: Gatineau (Qc), Canada

PostPosted: Wed 08 Mar 2017, 07:31    Post subject:  

Thanks. Very encouraging. We continue!
_________________
musher0
~~~~~~~~~~
"Logical entities must not be multiplied beyond necessity." | |
« Il ne faut pas multiplier les entités logiques sans nécessité. » (Ockham)
Back to top
View user's profile Send private message 
Billtoo


Joined: 07 Apr 2009
Posts: 3334
Location: Ontario Canada

PostPosted: Wed 08 Mar 2017, 12:05    Post subject: Woof CE Debian Stretch and Devuan Ascii Based Development  

I downloaded the iso that ttuuxxx made and did a manual frugal install
to the hard drive:

System: Host: puppypc29809 Kernel: 3.14.79 i686 (32 bit) Desktop: JWM 2.3.6 Distro: Dpup Stretch 7.0.0a1
Machine: Device: desktop System: Compaq-Presario product: AU194AA-A2L CQ5123F serial: MXX9300M0F
Mobo: MSI model: Boston v: 1.0 BIOS: Phoenix v: 5.24 date: 06/19/2009
CPU: Dual core Pentium E5200 (-MCP-) speed/max: 1200/2500 MHz
Graphics: Card: NVIDIA GF108 [GeForce GT 430]
Display Server: X.org 1.19.1 drivers: nouveau (unloaded: modesetting,fbdev,vesa)
tty size: 120x36 Advanced Data: N/A for root
Network: Card-1: Realtek RTL8101/2/6E PCI Express Fast/Gigabit Ethernet controller driver: r8169
Card-2: D-Link System AirPlus G DWL-G122 Wireless Adapter(rev.C1) [Ralink RT2571W] driver: rt73usb
Drives: HDD Total Size: 500.1GB (6.7% used)
Weather: Conditions: 43 F (6 C) - Mostly Cloudy Time: March 8, 10:55 AM EST
Info: Processes: 100 Uptime: 57 min Memory: 165.3/3160.7MB Client: Shell (bash) inxi: 2.3.5

I added some applications with PPM + @radky's FbBox-4.1
No problems so far.
image-1.jpg
 Description   
 Filesize   46.66 KB
 Viewed   449 Time(s)

image-1.jpg

Back to top
View user's profile Send private message 
ttuuxxx


Joined: 05 May 2007
Posts: 11191
Location: Ontario Canada,Sydney Australia

PostPosted: Wed 08 Mar 2017, 19:41    Post subject: Re: Woof CE Debian Stretch and Devuan Ascii Based Development  

Billtoo wrote:
I downloaded the iso that ttuuxxx made and did a manual frugal install
to the hard drive:

I added some applications with PPM + @radky's FbBox-4.1
No problems so far.

Great its stable, never crashed on me Smile A couple of tweaks and it would be really nice.
Thanks for trying it out
ttuuxxx

_________________
http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games Smile
Back to top
View user's profile Send private message Visit poster's website 
cthisbear

Joined: 29 Jan 2006
Posts: 4243
Location: Sydney Australia

PostPosted: Wed 08 Mar 2017, 19:59    Post subject:  

ttuuxxx:

Downloading now.

First Puppy for a long time.
I liked your SlackOff from Jan 2015

http://murga-linux.com/puppy/viewtopic.php?t=97211&sid=4923da3b306a032043e6a81ee4fbc682

Nice to see you in the saddle again.

Cheers.....Chris.
Back to top
View user's profile Send private message 
ttuuxxx


Joined: 05 May 2007
Posts: 11191
Location: Ontario Canada,Sydney Australia

PostPosted: Wed 08 Mar 2017, 20:03    Post subject:  

cthisbear wrote:
ttuuxxx:

Downloading now.

First Puppy for a long time.
I liked your SlackOff from Jan 2015

http://murga-linux.com/puppy/viewtopic.php?t=97211&sid=4923da3b306a032043e6a81ee4fbc682

Nice to see you in the saddle again.

Cheers.....Chris.

Tanks Chris nice to see your still around, Its still an Alpha version but really could be clashed as a early Beta, since its stable.
Thanks for testing it out Smile
Glad you liked the Slackoff lol, loved that name.
ttuuxxx

_________________
http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games Smile
Back to top
View user's profile Send private message Visit poster's website 
mavrothal


Joined: 24 Aug 2009
Posts: 2949

PostPosted: Thu 09 Mar 2017, 06:21    Post subject:  

jamesbond wrote:
But as I said, binaries compiled by plain gcc is just that, binaries, no shared library tricks or anything. Somebody's got to ask them why, because google isn't telling us. Perhaps I just don't know the magic word for google to open up its chest of wisdom..

I did not ask, but did a bit of magic googling Cool and it appears there is a lot of discussion after 6.2.0-7 was configured with "--enable-default-pie", about breaking things left and right (this was done to "fix" a problem in library building and -no-pie)
So tried to compile leafpad from source (in the official Debian strech i386 r2) with
Code:
./configure CFLAGS='-no-pie' CXXFLAGS='-no-pie'
and sure enough comes out as "ELF 32-bit LSB executable" while without -no-pie as "ELF 32-bit LSB shared object".
Hopefully this will help future 'compilers" (that do not like the vast debian package collection Razz )

_________________
== Here is how to solve your Linux problems fast ==
Back to top
View user's profile Send private message 
musher0


Joined: 04 Jan 2009
Posts: 11498
Location: Gatineau (Qc), Canada

PostPosted: Thu 09 Mar 2017, 06:52    Post subject:  

mavrothal wrote:
jamesbond wrote:
But as I said, binaries compiled by plain gcc is just that, binaries, no shared library tricks or anything. Somebody's got to ask them why, because google isn't telling us. Perhaps I just don't know the magic word for google to open up its chest of wisdom..

I did not ask, but did a bit of magic googling Cool and it appears there is a lot of discussion after 6.2.0-7 was configured with "--enable-default-pie", about breaking things left and right (this was done to "fix" a problem in library building and -no-pie)
So tried to compile leafpad from source (in the official Debian strech i386 r2) with
Code:
./configure CFLAGS='-no-pie' CXXFLAGS='-no-pie'
and sure enough comes out as "ELF 32-bit LSB executable" while without -no-pie as "ELF 32-bit LSB shared object".
Hopefully this will help future 'compilers" (that do not like the vast debian package collection Razz )

mavrothal?

I never thought I would say this: "You're a genius!" Very Happy

BFN.

_________________
musher0
~~~~~~~~~~
"Logical entities must not be multiplied beyond necessity." | |
« Il ne faut pas multiplier les entités logiques sans nécessité. » (Ockham)
Back to top
View user's profile Send private message 
Billtoo


Joined: 07 Apr 2009
Posts: 3334
Location: Ontario Canada

PostPosted: Thu 09 Mar 2017, 13:27    Post subject:  

mavrothal wrote:

Code:
./configure CFLAGS='-no-pie' CXXFLAGS='-no-pie'


I'm using a Stretch build that was done Tuesday afternoon so it's the
latest (I think).
I compiled both Fox Toolkit and XFE using the ./configure CFLAGS='-no-pie' CXXFLAGS='-no-pie'
plus prefix=/usr etc.
XFE sees everything as an executable yet Rox-Filer sees XFE as an
executable and some others as a shared lib.
Also compiled mc-4.8.19 and Rox-Filer sees that as an executable.

Both XFE and MC work fine as far as I can tell.
image-1.jpg
 Description   
 Filesize   136.07 KB
 Viewed   253 Time(s)

image-1.jpg

Back to top
View user's profile Send private message 
mavrothal


Joined: 24 Aug 2009
Posts: 2949

PostPosted: Thu 09 Mar 2017, 14:21    Post subject:  

Billtoo wrote:
I'm using a Stretch build that was done Tuesday afternoon so it's the
latest (I think).

DISTRO_SPECS should have the build_from_woof lines that tells you exactly the version of woof is build from (assuming is a kosher build). The latest is 8c4b595, though the last relevant to debian builds is b503b4b

Billtoo wrote:
I compiled both Fox Toolkit and XFE using the ./configure CFLAGS='-no-pie' CXXFLAGS='-no-pie'
plus prefix=/usr etc.
XFE sees everything as an executable yet Rox-Filer sees XFE as an
executable and some others as a shared lib.
Also compiled mc-4.8.19 and Rox-Filer sees that as an executable.

I believe that XFE looks at file permissions while ROX in file type.
Are there any of the ones you compiled with -no-pie show as shared libraries in ROX?
BTW there are reasons that debian gcc is configured with -pie. -no-pie should not be forced indiscriminately.

At the end of the day I think that this would be better solved at the ROX level. Debian has all executables as shared objects and yet everything works fine.
Is unfortunate that ROX is abandonware. Maybe techno, JamesB or someone can take a look at it.

_________________
== Here is how to solve your Linux problems fast ==
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 14 of 48 [719 Posts]   Goto page: Previous 1, 2, 3, ..., 12, 13, 14, 15, 16, ..., 46, 47, 48 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Puppy Projects
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0727s ][ Queries: 13 (0.0143s) ][ GZIP on ]