BB Unix Network Monitor - Message

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: {bb} cc, gcc, and makefile (was: "")



On Thu, 2006-02-16 at 15:31, Ryan Novosielski wrote:
> I feel like I have tried that and it does not work.
> 
> The very annoying thing about the build of this product is that it 
> completely overrides environment variables, making you edit genmake if 
> you want to set something (you can't even edit the makefile). As on most 
> platforms, I'd prefer to use the compiler I paid for (which is likely 
> better optimized than gcc anyway), this is extremely annoying.

Extremely? I have a long list of things that annoy me more than quirky
build processes :) I can recommend the book "Is It Just Me, Or Is
Everything Sh*t?", by Lowe and McArthur (ISBN 0 316 72953 1). Much of
it may be specific to the UK, but who could fail to be annoyed by the
"Intel Inside" tune? I'm buying AMD until Intel stop it and apologise. 

It looks like the environment is ignored because make (all) calls the
genmake script, which effectively overrides it. Maybe genmake should be
part of the bbconfig process. That would provide a natural break in
which users could tweak the OS specific makefile.

In this case, it would appear that GCC was specifically being ignored
for AIX. Perhaps this is a historical thing and GCC on AIX didn't work
properly at some point. I'd expect that the modification that Martin
suggested (or even just removing the CC="gcc" statement from the
"aix" clause) should do the trick. Setting and alias for "cc" might
also be sufficient.

Cheers, Phil.



-- 
There's no point in being grown up if you can't be childish
sometimes. (Dr. Who)

--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=
To unsubscribe from this list, or to subscribe to the bb-digest list
send e-mail to mailto:majordomo@bb4.com with unsubscribe bb -and/or-
subscribe bb-digest in the BODY of the message.


Home | Main Index | Thread Index