With barry's build system, you'd have to search through his blog or download the complete sources (or maybe in woof somewhere) to find out what compile-time options he used. The again, he may have used a pet put together by some contributor -even years ago so we don't even know what the options were.

--enable-256-color is the option you need to use. On my KISS system, the xterm binary is 308K without doing any really extreme optimization. You are probably looking at the raw *unstripped* size. Simply stripping it may knock off most of the difference you see. BK's may also be compressed with upx. for some programs, stripping alone will take off 75%! of the raw size.

It took me about 5 seconds to find the full CLFAGS, LDLFAGS and configure options I used on KISS. But it's on another machine so not really convenient to paste the options here.

Thanks for the info... I should have stated, that Barrys 265kb binary is not upx'd, mine was twice as big, even when upx'd (600kb) ... I ran 'strip' on both binaries before comparing... Strip did not make much difference, about 40% if I remember correctly...

Oh well, I knew it would be hard to find the configure line he used... Or who else if it wasn't Barry...

Thanks for the info Dingo, I have done this, and still got 1012kb binary, after stripping.. 1012k seems to be the size, most of the time! I am gonna check the options available in the urxvt binary that I'm 'competing' with, and will retry .. I have disabled in-built PERL (--disable-perl) as well, I think that's right to do that..

Hmm.. the strip command seems to be having a much greater effect than before, with a few different options.. I now get a nice small binary .. And the --with-codesets="" seems to make a big difference..

I am really only looking to upgrade a few features to make elinks work nicer.. I basically want a UTF-8 enabled terminal (showing cyrillic, etc, without problems) that can ALSO show the 'VTE' or 'Linux, OS/2' frames in elinks..

At the moment, I've got UTF-8 and 256 colours, but cannot get urxvt to show any frames in elinks correctly, this is my last stumbling block.. Does anyone know what settings or options are resonsible for this? I am keen to get it done, because using 256 colours is nice, and doesn't seem to affect the size or speed much at all.._________________Akita Linux, VLC-GTK, Pup Search, Pup File Search

if you used slackware or the sbopkg tool
I posted in cutting edge section this package builds correctly automatically with these options

*the package wont build without pkgtool that is pre installed in txz_pup
its the heart of making packages from slackbuild scripts

Code:

#!/bin/sh

# Slackware build script for rxvt-unicode

# Written by Dugan Chen (dugan_c@fastmail.fm)
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
# permitted provided that the following conditions are met:
#
# 1. Redistributions of this script must retain the above copyright
# notice, this list of conditions and the following disclaimer.
#
# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ''AS IS'' AND ANY EXPRESS OR IMPLIED
# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

if you used slackware or the sbopkg tool
I posted in cutting edge section this package builds correctly automatically with these options (it isnt small but you get the idea what you can use for options and then remove what you want ) and maintain a script to rebuild the package lite and share

*the package wont build without pkgtool that is pre installed in txz_pup
its the heart of making packages from slackbuild scripts

Code:

#!/bin/sh

# Slackware build script for rxvt-unicode

# Written by Dugan Chen (dugan_c@fastmail.fm)
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
# permitted provided that the following conditions are met:
#
# 1. Redistributions of this script must retain the above copyright
# notice, this list of conditions and the following disclaimer.
#
# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ''AS IS'' AND ANY EXPRESS OR IMPLIED
# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

you can set the CFLAGS to whatever you want - it just ignores them ... you have to edit the makefiles after running configure

this type of "forced optimal setting" is quite irritating and why individuals like myself and entire distros write wrappers around gcc
... to filter out the crud
... then you end up with issues with the wrappers
... rinse and repeat

even with decent options and settings grokked in, urxvt is still a giant pile of C++ bloat compared to its C cousins (rxvt and the unicode compliant mrxvt)

the best way to make urxvt small is by compiling mrxvt and making a symlink

I will definitely have another look at mrxvt, which I had installed a while back, liked it but it was UGLY... and I have yet to find a package which can show *any* Cyrillic whatsoever .. But I'll get the source and give it a go myself... See what I can make...

I will definitely have another look at mrxvt, which I had installed a while back, liked it but it was UGLY... and I have yet to find a package which can show *any* Cyrillic whatsoever .. But I'll get the source and give it a go myself... See what I can make...

mrxvt is themeable and _can_ look quite nice

Quote:

Techno, I noticed that the CFLAGS make no difference at all to my builds -
... so are they actually ignored?

Yeah some projects (a growing number actually) like to impose their own default flags that override the ones in env. The only sure way to impose your own will, is to grok them out of the makefile (by hand or with a sed script) or to make a wrapper for gcc (it is hard to find every occurence with sed ... packages sometimes even extract flags from your perl or python compilation)

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