Some days ago I managed to get FO up and running on MacOsX10.3 (panther). For that i had to do some minor changes/additions to the source-code of both freeorion and libgg. Some where little-endian/big-endian related. But one problem still remains: I'ts not possible to compile libGG with full optimizations on: "gcc3.3 -O3 ...." because whenever it gets to
XMLDoc.cpp or GGFileDlg.cpp the compiler seems to hang in a loop and allocate all the systems-memory until it exceeds the virtual mem limit (around 6 gbytes) and is being killed by the system.
The part causing this (in GGFileDlg.cpp) :
Code: Select all
// Killer This is where the gcc3.3 compiler from apple hangs ------------------------------------------------------------------------
file_filters[i] =
if_p (LeadingWildcard(filter_specs[i])) [
*(wildcard - f_str_p(FrontStringBegin(non_wildcards), FrontStringEnd(non_wildcards)))
>> f_str_p(FrontStringBegin(non_wildcards), FrontStringEnd(non_wildcards))
] .else_p [
f_str_p(FrontStringBegin(non_wildcards), FrontStringEnd(non_wildcards))
]
>> for_p (Index(1), IndexLess(static_cast<int>(non_wildcards->size()) - 1), IndexIncr()) [
*(wildcard - f_str_p(IndexedStringBegin(non_wildcards), IndexedStringEnd(non_wildcards)))
>> f_str_p(IndexedStringBegin(non_wildcards), IndexedStringEnd(non_wildcards))
]
>> if_p (TrailingWildcard(filter_specs[i])) [
*wildcard
];
}
// ------------------------------------------------------------------------------------------------------------------------------
Did anyone else ever encounter problems with those two files during compiling?
Greetings from Switzerland
LaplaceOperator