[GUIDE] The Bleeding Edge

Post tutorials, HOWTO's and other useful resources here.
User avatar
82issa
DOC Team
DOC Team
Posts: 127
Joined: 13 Apr 2011, 17:24
Location: USA, NC

[GUIDE] The Bleeding Edge

Post#1 by 82issa » 08 May 2011, 18:56

This article has been moved to the main site, please go here to read it.

Please continue discussing this article on this thread.
Last edited by 82issa on 10 May 2011, 10:48, edited 5 times in total.
Sorry guys... I got to go. My girlfriend just casted "get your dirty ass into the shower" on me.
Oh and here is some naked grandpa pictures too.

User avatar
fanthom
Moderator Team
Moderator Team
Posts: 5666
Joined: 28 Dec 2010, 02:42
Distribution: Porteus Kiosk
Location: Poland
Contact:

Re: [GUIDE] The Bleeding Edge

Post#2 by fanthom » 08 May 2011, 21:48

great HOWTO 82issa :)

just one thing:
from my experience it's better to use
CFLAGS="-Os fPIC -pipe -fomit-frame-pointer" ./configure --prefix=/usr
and then
make && make install DESTDIR=/mnt/sda6/nano-os/
as when you do
--prefix=/mnt/sda6/nano-o3
then other apps which may depend on your compiled program will be looking for it's lib in /mnt/sda6/nano-o3/lib and not /usr/lib.
Please add [Solved] to your thread title if the solution was found.

User avatar
82issa
DOC Team
DOC Team
Posts: 127
Joined: 13 Apr 2011, 17:24
Location: USA, NC

Re: [GUIDE] The Bleeding Edge

Post#3 by 82issa » 08 May 2011, 23:31

That is how I normally do it. But I was looking over the INSTALL file and figured I would go inline with the documentation. Also it states in the documentation that the default prefix if not defined is /usr/local. Anyways not all source compiles using the same instruction. I know this, you know this, It is just a jumping board for those who are not to familiar with the process. And we both know that compounding instructions work just fine. Just trying to make it simple for others who are not familiar with this to understand. I have never run into this problem that you state in your last line. I would build fresh system by ROOT=/mnt/sdb2/testsystem/ emerge system under gentoo. Most of the time an application looks for the libs in relation to itself ../../lib. They rareley cary the full pathname, that is just bad programming practice.
Sorry guys... I got to go. My girlfriend just casted "get your dirty ass into the shower" on me.
Oh and here is some naked grandpa pictures too.

User avatar
Ahau
King of Docs
King of Docs
Posts: 1331
Joined: 28 Dec 2010, 15:18
Distribution: LXDE & Xfce 32/64-bit
Location: USA

Re: [GUIDE] The Bleeding Edge

Post#4 by Ahau » 09 May 2011, 13:02

Yes, great job, 82issa! You've explained some of the compile flags that I didn't really understand before.

I'll get this up on the main site.
Please take a look at our online documentation, here. Suggestions are welcome!

Post Reply