Add compiler version to AboutSystem so newbs can identify if an image is built with gcc4 or gcc2.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25619 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
fc0c84e771
commit
05ffb70e8f
@ -237,6 +237,20 @@ AboutView::AboutView(const BRect &rect)
|
||||
fInfoView->AddChild(stringView);
|
||||
stringView->ResizeToPreferred();
|
||||
|
||||
// GCC version
|
||||
r.OffsetBy(0, textHeight);
|
||||
r.bottom = r.top + textHeight;
|
||||
|
||||
strlcpy(string, "Compiler version: ", sizeof(string));
|
||||
#ifdef __GNUC__
|
||||
strlcat(string, "GCC ", sizeof(string));
|
||||
#endif
|
||||
strlcat(string, __VERSION__, sizeof(string));
|
||||
|
||||
stringView = new BStringView(r, "gcctext", string);
|
||||
fInfoView->AddChild(stringView);
|
||||
stringView->ResizeToPreferred();
|
||||
|
||||
// CPU count, type and clock speed
|
||||
r.OffsetBy(0, textHeight * 1.5);
|
||||
r.bottom = r.top + labelHeight;
|
||||
|
Loading…
x
Reference in New Issue
Block a user