Ask a Question related to Mac Programming, Design and Development.
-
Heather Donahue #1
Re: Project Builder using wrong compiler
In article <a64afd09.0308312259.5c091fae@posting.google.com >,
[email]key88sf@hotmail.com[/email] (Dave Brown) wrote:
I just ran across something similar to this one, to make use of gcc 3.3> I installed the Dec 2002 Dev Tools, as well as the gcc 3.3 upgrade.
> However, when I write a simple HelloWorld C++ tool in Project Builder,
> it looks to be using the old 2.95 compiler. It also can't find the
> standard include files like <sstream>. The same test program compiles
> and runs fine via compilation in a terminal window with g++.
>
> I notice the "Jamfile" commandline looks like:
> /Developer/Private/jam -d1 -j1
> JAMBASE=/Developer/Makefiles/pbx_jamfiles/ProjectBuilderJambase
> JAMFILE=- build ACTION=build _DEFAULT_GCC_VERSION=2.95.2
> BUILD_STYLE=Development
> CPP_HEADERMAP_FILE=/Users/dbrown/code/HelloWorld/build/HelloWorld.build/HelloW
> orld.build/HelloWorld.hmap
> SRCROOT=/Users/dbrown/code/HelloWorld
> OBJROOT=/Users/dbrown/code/HelloWorld/build
> SYMROOT=/Users/dbrown/code/HelloWorld/build
> DSTROOT=/tmp/HelloWorld.dst
>
> Notice the _DEFAULT_GCC_VERSION-2.95.2 line. !! what's up with this?
> I make sure the Target "GCC Compiler Setting" is set to GCC v3.1.
> (BTW - Why doesn't GCC 3.3 show up here?).
>
> Finally, note that from a terminal window, doing "gcc -v" does indeed
> show me it's version 3.3.
you have to add some additional build settings to your target.
This is explained in the release notes for the gcc 3.3 updater, a PDF
file called "About GCC Updater.pdf" and the extra build settings are
detailed.
As for the line about _DEFAULT_GCC_VERSION, it looks like it says that
when /usr/sbin/gcc_select is set to 3.3 If you set it back to 3.1 it
will say 3.1 but both 3.3 and 2.95.2 cause it to say 2.95.2
Heather Donahue Guest
-
Flex Builder 3 error when changing project names
When you create a Flex 3 project (ex. Test1) and then rename the project (ex. Flickr) the URL settings for the project do NOT change. The stay as... -
Flex Builder is not building my Project
Hi all, I m very new to this Flex. I applied "clean" to my project, from that I am not able to bulid any of my projects.It deleted .html and other... -
Project Builder breakpoints in Java
I suddenly seem to be unable to set breakpoints in my Java code using Project Builder. I'm sure that it was working at one time, but now the... -
Project Builder: moving projects?
I'm using Apple's Project Builder (v2.1, from the 12/02 tools) to develop a Java tool. I need to do development on two different machines, moving... -
project builder and multiple targets
I'm having difficulty creating more than one Java Target/Executable in Project Builder. My coding style is such that I typically like to have...



Reply With Quote

