User forums > Help
CB 10.05 unusable under MAC OSX 10.6.4. - Workaround for GCC4.4 under 8.05?
er:
As a comparison,
1- Under XCode/GCC4.2, I can choose the architecture betw ppc, i386 and X86_64, using a scroll down menu. I tried the last two and they compile fine.
2- I only encountered the above warning by trying to compile with GCC4.4, which was the original topic of this thread, and which had worked a while ago. Using
the default settings (GCC4.2), there is no such warning.
Thanks in advance.
stahta01:
Turn ON Full Compiler Logging and find an expert on your Compiler to look at the full rebuild log.
http://wiki.codeblocks.org/index.php?title=FAQ#Q:_How_do_I_troubleshoot_an_compiler_problem.3F
Tim S.
er:
Thanks, but
by following the instructions in the link, under "Compiler logging" there are 3 options:
Full command line
Task description (default)
No logging
that all produce the same build message and nothing more:
warning: in obj/Debug/main.o, file was built for i386 which is not the architecture being linked (x86_64).
and I'm tyring to compile
int main()
{
//using namespace boost;
return 0;
}
er:
Well, this seems to be a problem that is common with porting to mac, and gcc4.4 is ported, in this case:
http://lists.macosforge.org/pipermail/macports-users/2010-May/020124.html
Will look there and update here if I find anything conclusive.
Weird though, as I'm just repeating some steps that I figured out in this thread and that had worked.
er:
Update : there is no problem in building the same program from the command line, .e.g
/sw/bin/g++-4 -o helloworld main.cpp
and it executes as it should...
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version