LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 11-26-2018, 03:43 PM   #1
rico001
Member
 
Registered: Aug 2007
Distribution: TwisterOS lite, Linux in a VM
Posts: 94
Blog Entries: 3

Rep: Reputation: 3
Thumbs up Discussion: make easier to compile apps/kernels, FOSS source build environment; for toddlers/everyone


Just wanted to make a discussion or have suggestions on how documenting enviroments can make it easier to compile apps or dicuss ways to make it easier to compile apps or legal reverse engineering software:

Ideas I have:
1. create better logging from terminal/ programs that log.
2. Portable programs or build envirements -- might be easier to compile because the dependancies will be close by;
3. Build envirement tutorials on web.
I kept thinking about this and was thinking we could make it easy for young children or complete noobs?

I also got kind of ashamed that some of the linux community looks down on people not being able to compile from source (not everyone)

This seems to be one of the barriers to linux.

i. EXAMPLES OF COMPLICATED BUILD ENVIROMENTS:
1. Firefox build enviroment and compile time...

2. Cooking: Baking a cake from scratch... you don't have to create the chicken

(A case can be made in programing for the intelligent design of life)

ii. EXAMPLES OF SELF COMPILING/CUSTOMIZABLE BUILD ENVIROMENTS:
1. TinyCore Linux
2. Puppy Linux
3. cut and paste scripts

Hopefully this can be a discussion of how to document or make building easier...

Last edited by rico001; 11-26-2018 at 03:46 PM. Reason: intro more clear, add more
 
Old 11-26-2018, 04:13 PM   #2
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,231

Rep: Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320
Compiling Firefox from source is not something that toddlers and noobs needs to do, and the difficulty of compiling Firefox from source is not a barrier to using Linux.
 
2 members found this post helpful.
Old 11-26-2018, 04:57 PM   #3
rico001
Member
 
Registered: Aug 2007
Distribution: TwisterOS lite, Linux in a VM
Posts: 94

Original Poster
Blog Entries: 3

Rep: Reputation: 3
Quote:
Originally Posted by dugan View Post
Compiling Firefox from source is not something that toddlers and noobs needs to do, and the difficulty of compiling Firefox from source is not a barrier to using Linux.
For my specific 'wants', then, it's a barrier to using linux :-) 720p video on low spec cpu/gpu :-) :-) It has a bunch of libraries.... :-) might need a linux librarian to explain it... where's the fun in toddlers not being able to compile firefox and kernals, and supertux paint ?? :-)

Last edited by rico001; 11-26-2018 at 05:02 PM.
 
Old 11-26-2018, 05:00 PM   #4
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,231

Rep: Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320
EDIT:

If you want to easily compile stuff with your own optimization settings, then use Gentoo.

Then you just do:

Code:
emerge firefox

Last edited by dugan; 11-26-2018 at 05:22 PM.
 
Old 11-26-2018, 05:47 PM   #5
rico001
Member
 
Registered: Aug 2007
Distribution: TwisterOS lite, Linux in a VM
Posts: 94

Original Poster
Blog Entries: 3

Rep: Reputation: 3
Quote:
Originally Posted by dugan View Post
EDIT:

If you want to easily compile stuff with your own optimization settings, then use Gentoo.

Then you just do:

Code:
emerge firefox
Had already looked at that (thanks) in a previous post about raspberry pib+ iofftopic,
but that gives me an idea to add;
A. don't use hardware specific optimizations
--Other ideas not directly unrealated to how to make apps easier to compile, because they Can circumvent the actual problem:
2.a. use higher level languages (May be feesable with current systems or

b.(less efficient/feesable: economical cost of hardware, etc.)
use middleware such as a , or a virtual machine, or an emulator or simulator

Last edited by rico001; 11-26-2018 at 05:53 PM. Reason: more clear
 
Old 11-26-2018, 05:51 PM   #6
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,231

Rep: Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320
Quote:
Originally Posted by rico001 View Post
For my specific 'wants', then, it's a barrier to using linux :-) 720p video on low spec cpu/gpu :-) :-)
Quote:
Originally Posted by rico001 View Post
A. don't use hardware specific optimizations
Okay I'm confused.

Why do you think building your own Firefox package will make it better at playing 720p video?
 
Old 11-26-2018, 06:12 PM   #7
rico001
Member
 
Registered: Aug 2007
Distribution: TwisterOS lite, Linux in a VM
Posts: 94

Original Poster
Blog Entries: 3

Rep: Reputation: 3
Smile

Quote:
Originally Posted by dugan View Post
Okay I'm confused.

Why do you think building your own Firefox package will make it better at playing 720p video?
That wasn't my context...
Firefox 32bit currently has a bug on some 32bit rasbian systems (https://bugs.launchpad.net/ubuntu/+s...x/+bug/1711337), like with raspberry pi B+ hardware so I couldn't use the 2x faster quantum version... which was supposed to be 2x faster than old chromium. So I had switched to a 64bit gentoo that you brought up and it worked well (until crashing, but that's another topic).

I'll add another reasin why compiling can be hard for users:
bugs

Last edited by rico001; 11-26-2018 at 06:21 PM. Reason: add location of bug
 
Old 12-31-2018, 06:06 PM   #8
rico001
Member
 
Registered: Aug 2007
Distribution: TwisterOS lite, Linux in a VM
Posts: 94

Original Poster
Blog Entries: 3

Rep: Reputation: 3
Thumbs up Add Backwards compatability

I came up with another idea.

Red Hat Linux, I read is one distro that is supposed to provide support for backwords compatability. If distro authors did this people would not have to re-compile apps for newer kernels or possibly architectures. An example of a compatibilty issue was when I was using ubuntu, I think it was 14 ... feisty fawn... not sure the number. But eventually the virtual machine I was using completely stopped working and my old hardware didn't support eifi bios years ago and this was a problem.
 
Old 01-05-2019, 05:25 AM   #9
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,928

Rep: Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612
Just take any one of your numbered items and start learning what you need to know to implement it and demonstrate your point. Document your efforts as you go -after all, you'll be learning a million things from others who have been down the road before and also documenting their course. When you have finished one numbered item from your list, begin the next one, unless you are ready, by then, to retire from a lifetime effort. Please do make it so easy for the rest of so that we can simply point at the screen and have it produce what we want, no matter how complex and ill-thought-out it might be.
 
1 members found this post helpful.
Old 02-01-2024, 06:07 PM   #10
rico001
Member
 
Registered: Aug 2007
Distribution: TwisterOS lite, Linux in a VM
Posts: 94

Original Poster
Blog Entries: 3

Rep: Reputation: 3
Quote:
Originally Posted by rico001 View Post
I came up with another idea.

Red Hat Linux, I read is one distro that is supposed to provide support for backwords compatability. If distro authors did this people would not have to re-compile apps for newer kernels or possibly architectures. An example of a compatibilty issue was when I was using ubuntu, I think it was 14 ... feisty fawn... not sure the number. But eventually the virtual machine I was using completely stopped working and my old hardware didn't support eifi bios years ago and this was a problem.
Supposedly found a type of backward compatability architecture, called I386 (not an intel 386 cpu speed standard) but seems to at least be a compiler standard. reference: https://gcc.gnu.org/onlinedocs/gcc-4...002d64-Options example -mtune=generic; I was used to using i386 .deb files in earlier times. Also generic.tar.gz linux source code archives -- hope someone can explain this?

Last edited by rico001; 02-13-2024 at 03:43 PM.
 
Old 02-01-2024, 06:14 PM   #11
rico001
Member
 
Registered: Aug 2007
Distribution: TwisterOS lite, Linux in a VM
Posts: 94

Original Poster
Blog Entries: 3

Rep: Reputation: 3
untrained people can use button user interfaces, with a graphic, picture, discription or label above the single button that runs a program, similar to a menu kiosk: pick A for apples, B for Bananas; this is a narrower learning curve at first than a gui. Some have written programs for this... Commodore 64 had a programmers reference manual that came with the hardware. Puppy Linux has an on-screen guide on startup. An every day example is the icons/pictures on some home appliances or tv remote.

Last edited by rico001; 02-14-2024 at 12:34 PM. Reason: add clarity/examples
 
Old 02-01-2024, 06:22 PM   #12
rico001
Member
 
Registered: Aug 2007
Distribution: TwisterOS lite, Linux in a VM
Posts: 94

Original Poster
Blog Entries: 3

Rep: Reputation: 3
Quote:
Originally Posted by dugan View Post
EDIT:

If you want to easily compile stuff with your own optimization settings, then use Gentoo.

Then you just do:

Code:
emerge firefox
will look for backwards compatibility, used for awhile...

Last edited by rico001; 02-01-2024 at 06:24 PM.
 
Old 02-01-2024, 06:45 PM   #13
enigma9o7
Senior Member
 
Registered: Jul 2018
Location: Silicon Valley
Distribution: Bodhi Linux
Posts: 1,388

Rep: Reputation: 560Reputation: 560Reputation: 560Reputation: 560Reputation: 560Reputation: 560
Who uses chicken when baking a cake?!@

Use smtube for 720p youtube videos on old hardware that can't do better than 360p in firefox.
 
1 members found this post helpful.
Old 02-13-2024, 03:40 PM   #14
rico001
Member
 
Registered: Aug 2007
Distribution: TwisterOS lite, Linux in a VM
Posts: 94

Original Poster
Blog Entries: 3

Rep: Reputation: 3
Quote:
Originally Posted by enigma9o7 View Post
Who uses chicken when baking a cake?!@

Use smtube for 720p youtube videos on old hardware that can't do better than 360p in firefox.
Yes agreed! If I haven't said it before: opinion: using video in a web browser, is like putting wheels on a boat to drive as a car. Made a seperate thread, quoting you, thanks.

Last edited by rico001; 02-14-2024 at 11:10 AM.
 
  


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
Computing for toddlers bogler General 11 03-11-2024 11:19 PM
Firearm safety for all 'mericans = I'm sick of toddlers shooting their parents metaschima General 28 02-13-2015 09:26 AM
[discussion]Could kernel build config get easier? anyone on the kernel mailing list frog-o Linux - General 1 07-29-2012 10:04 AM
LXer: Windows is Easier, Just Like Stabbing Your Own Eyeballs is Easier LXer Syndicated Linux News 1 03-06-2010 03:17 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 08:19 PM.

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