BB Unix Network Monitor - Message

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

Re: {bb} cc, gcc, and makefile



Extremely annoying, not because that's how it works, but because it's not clear how it works. I've edited the parameter in other places before and half built with cc and half with gcc (and as I recall, one half exploded :)). It appears as if there are places where CC is set simply for documentation purposes, as you can set it to something different there and run make and it will not affect your build. When I run make, I expect it to use the Makefile I've specified, not make a new one.

I agree completely that a Makefile should be gen'd during the config process... that is how probably everything I've encountered does it.

---- _ _ _ _ ___ _ _ _
|Y#| | | |\/| | \ |\ | | | Ryan Novosielski - User Support Spec. III
|$&| |__| | | |__/ | \| _| | novosirj@umdnj.edu - 973/972.0922 (2-0922)
\__/ Univ. of Med. and Dent.| IST/AST - NJMS Medical Science Bldg - C630




Philip Clark wrote:
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.




-- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-= 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