On Sun, 21 Mar 2004, S/T wrote:
>FYI, here is the CCXXFLAGS that I use for all my compilation;
>   CFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer 
>-momit-leaf-frame-pointer -ftracer -fno-crossjumping 
>-falign-functions=16 -falign-loops=16 -falign-jumps=16 -fno-align-labels 
>-mfpmath=sse,387 -maccumulate-outgoing-args -fmove-all-movables 
>-freduce-all-givs -fnew-ra"
>   CXXFLAGS="${CFLAGS}"
>I've been told it's the best optimization flags.

It's impossible to say from gdb's output what's at fault here, but 
changing the optimization switches should not alter the program's behavior
like this..

>Also I was able to go through "3) Listing" on 
>http://www.bincimap.org/bincimap-faq.html#q18
># When I try to create mailbox it gave me;
>   3 CREATE mailbox
>   3 NO CREATE failed: invalid mailbox name

This is a setup problem, unrelated to the problem you've had with logging
in. What path do you use for your Maildirs, and how have you set up Binc
IMAP?

>So I guess this implies that my cxxflag is the culprit. What flags would 
>have caused this? Since I have little memory (256M) and limited 
>computing power (Athlon XP 1.5GHz), I still would like it to be 
>optimized as possible. Thanks.

I bet you wouldn't notice any difference from using a plain old -O2 and
the most optimal switches you showed above. Binc IMAP's parser is the only
place where optimization has any noticable effect, but that's more on the
algorithmic side and less on the unroll-align-peep optimization side.

Andy :-)

--
Andreas Aardal Hanssen   | http://www.andreas.hanssen.name/gpg
Author of Binc IMAP      |  "It is better not to do something
http://www.bincimap.org/ |        than to do it poorly."


Reply via email to