Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (15) </ ... 3 4 5 6 7 [8] 9 10 11 12 13 ... >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: easier way to compile stuff for DSL, chroot + debootstrap< Next Oldest | Next Newest >
curaga Offline





Group: Members
Posts: 2163
Joined: Feb. 2007
Posted: Oct. 17 2007,15:11 QUOTE

Symlinks would save space.. But how will your extension be different from gcc1-with-libs for example, which already enables compiling on dsl?

--------------
There's no such thing as life. Those mean little jocks invented it ;)
-
Windows is not a virus. A virus does something!
Back to top
Profile PM 
Juanito Offline





Group: Members
Posts: 1601
Joined: Sep. 2005
Posted: Oct. 17 2007,16:45 QUOTE

Well, it would be a uci rather than dsl/unc and it would be compiled on dsl rather than (I think) made from debs.
Back to top
Profile PM 
Juanito Offline





Group: Members
Posts: 1601
Joined: Sep. 2005
Posted: Oct. 18 2007,09:24 QUOTE

Another compile question...

I noticed that I get two sets of executables with binutils/gcc, for example:

/bin/ld
/i686-pc-linux-gnu/bin/ld

The file sizes appear to be the same - are they the same, or is one optimised for i686 rather than i386?

I also get:

/bin/gcc
/bin/i686-pc-linux-gnu-gcc

again, are they the same?
Back to top
Profile PM 
curaga Offline





Group: Members
Posts: 2163
Joined: Feb. 2007
Posted: Oct. 18 2007,13:25 QUOTE

They are the same. But for DSL you ought to compile for i486 (--host=i486-pc-linux-gnu --target=i486-pc-linux-gnu --with-arch=i486)

Aren't you contradicting yourself? I mean, you compile on a Sarge debootstrap, not DSL? Or have I mixed up somewhere?


--------------
There's no such thing as life. Those mean little jocks invented it ;)
-
Windows is not a virus. A virus does something!
Back to top
Profile PM 
Juanito Offline





Group: Members
Posts: 1601
Joined: Sep. 2005
Posted: Oct. 18 2007,13:53 QUOTE

Quote
Aren't you contradicting yourself? I mean, you compile on a Sarge debootstrap, not DSL? Or have I mixed up somewhere?

My starting point was to load a bunch of sarge debs (not a sarge bootstrap) in order to be able to compile gcc, glibc, etc to /opt/build and make an extension.

Next I rebooted, loaded the extension made above and used this to again compile gcc, glibc, etc to /opt/compile. Maybe this step was uneccessary but now I have a compile extension that was itself compiled on dsl

Quote
They are the same. But for DSL you ought to compile for i486 (--host=i486-pc-linux-gnu --target=i486-pc-linux-gnu --with-arch=i486)

If they are the same, which version should be deleted?

Would --host=i686-pc-linux-gnu --target=i486-pc-linux-gnu --with-arch=i486 make more sense? Is anybody going to compile with a 486?
Back to top
Profile PM 
73 replies since June 18 2007,19:08 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (15) </ ... 3 4 5 6 7 [8] 9 10 11 12 13 ... >/
reply to topic new topic new poll
Quick Reply: easier way to compile stuff for DSL

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code