Oh, and while you're at it, considering eeepc's aren't the most notable
power machines, you might want to turn off debugging information and turn
on optimizations:

lower down in the Makefile, find this:

%.o : %.c $(HEADERS)
        $(CC) -ggdb -O0 $(DEFS) -c $<

and change the second line to this:

        $(CC) -O3 $(DEFS) -c $<

Which removes debugging info so if it crashes you won't know where, but
adds in maximum optimizations (not factoring in hardware specific
optimizations which may or may not need specifying additionally)

optimizations don't work well with debugging info because the compiler
re-arranges the code in such ways that when debugging, the source code no
longer exactly correlates with what is actually happening.

James.


On Mon, April 19, 2010 14:29, James Morris wrote:
> Hello Alan,
>
> Should be quite simple for you to fix with a little Makefile editing.
>
> You could use nano for example, and nano Makefile and then just remove
> -Waddress and -Wlogical-op from the DEFS := line (note: it's bunch of
> lines interpreted as a single line by use of the \ character at the end of
> each).
>
> They're only options for gcc to emit extra warnings about pointer address
> operations and logical operations which due to operator precedence may not
> work as expected. Can't imagine why your particular version of gcc does
> not recognize them, but nevermind!
>
> I don't think anything else can go wrong now, but, by all means, let me
> know if it does :-)
>
> Cheers,
> James.
>
>
> On Mon, April 19, 2010 01:30, Alan Sondheim wrote:
>>
>>
>> Hi James (and God!) - here's what I get with make/etc. (which worked
>> with
>> Audacity btw but may be limited?) -
>>
>> gcc -ggdb -O0 -std=gnu99 -fsigned-char -Wall -Wextra -Wunused-parameter
>> -Wfloat-equal -Wshadow -Wunsafe-loop-optimizations
>> -funsafe-loop-optimizations -Wpointer-arith -Wbad-function-cast
>> -Wcast-qual -Wcast-align -Wwrite-strings -Wconversion -Waddress
>> -Wlogical-op -Wmissing-prototypes -Wmissing-declarations -Winline -c
>> box.c
>> cc1: error: unrecognized command line option "-Waddress"
>> cc1: error: unrecognized command line option "-Wlogical-op"
>> make: *** [box.o] Error 1
>>
>> - not sure how to read this, thought you would know? but then it's
>> Xandros
>> - Alan
>>
>>
>> On Mon, 19 Apr 2010, James Morris wrote:
>>
>>> text boxer
>>>
>>> renders an ascii text file into boxes of ascii text*
>>>
>>> text_boxer-0.0.2
>>>
>>> fixes --x-placement and --y-placement options so they actually work now
>>>
>>> http://jwm-art.net/art/archive/text_boxer-0.0.2.tar.bz2
>>>
>>> *sorry, C locale only, no wide chars
>>>
>>> james.
>>>
>>>
>>>
>>> _______________________________________________
>>> NetBehaviour mailing list
>>> [email protected]
>>> http://www.netbehaviour.org/mailman/listinfo/netbehaviour
>>>
>>>
>>
>>
>> ==
>> email archive: http://sondheim.rupamsunyata.org/
>> webpage http://www.alansondheim.org sondheimat gmail.com, panix.com
>> ==
>> _______________________________________________
>> NetBehaviour mailing list
>> [email protected]
>> http://www.netbehaviour.org/mailman/listinfo/netbehaviour
>>
>
>
> _______________________________________________
> NetBehaviour mailing list
> [email protected]
> http://www.netbehaviour.org/mailman/listinfo/netbehaviour
>


_______________________________________________
NetBehaviour mailing list
[email protected]
http://www.netbehaviour.org/mailman/listinfo/netbehaviour

Reply via email to