SDL Framework for Xcode issues in building

Hello Everyone,
I am a long time programmer of embedded C and Windows. I am migrating over
to Mac. I am having trouble building the SDL Frameworks for Xcode using the
SDL.xcodeproj. I was getting a error message about directory gcc-3.3 being
missing. What I found is that I have a directory for gcc-4.0, gcc-4.2 and a
symbolic link gcc -> gcc-4.0. I decided to create a symbolic link for
gcc-3.3 -> gcc-4.0 to see what I get. I now get a 105 errors in regards to
unrecognized command line option for “-header-mapfile”. Do I need to install
gcc-3.3 or do I have a different problem? I am using Xcode 3.1.2
Thanks for your help.
Rick

Hello Everyone,
I am a long time programmer of embedded C and Windows. I am
migrating over to Mac. I am having trouble building the SDL
Frameworks for Xcode using the SDL.xcodeproj. I was getting a error
message about directory gcc-3.3 being missing. What I found is that
I have a directory for gcc-4.0, gcc-4.2 and a symbolic link gcc ->
gcc-4.0. I decided to create a symbolic link for gcc-3.3 -> gcc-4.0
to see what I get. I now get a 105 errors in regards to unrecognized
command line option for “-header-mapfile”. Do I need to install
gcc-3.3 or do I have a different problem? I am using Xcode 3.1.2
Thanks for your help.
Rick

Hi,

Go to menu: Project / Edit Project settings (and also Active Target).
There you can define the compiler which is being used. Just choose GCC
4.0 there (probably GCC 3.3 is selected).

Regards,
AlbertAm 04.03.2009 um 17:40 schrieb Rick Page:

Hi,
Thanks for the info. The project setting is already set for 4.0 for the
compiler. I did see down a little farther in the User-Defined area that 3.3
was entered for GCC_VERSION_ppc. I don’t care about building a framework for
ppc. How do I keep it from trying to do a Universal build and just build for
i386?
RickOn Wed, Mar 4, 2009 at 10:47 AM, Albert Zeyer <albert.zeyer at rwth-aachen.de>wrote:

Am 04.03.2009 um 17:40 schrieb Rick Page:

Hello Everyone,

I am a long time programmer of embedded C and Windows. I am migrating over
to Mac. I am having trouble building the SDL Frameworks for Xcode using the
SDL.xcodeproj. I was getting a error message about directory gcc-3.3 being
missing. What I found is that I have a directory for gcc-4.0, gcc-4.2 and a
symbolic link gcc -> gcc-4.0. I decided to create a symbolic link for
gcc-3.3 -> gcc-4.0 to see what I get. I now get a 105 errors in regards to
unrecognized command line option for “-header-mapfile”. Do I need to install
gcc-3.3 or do I have a different problem? I am using Xcode 3.1.2
Thanks for your help.
Rick

Hi,

Go to menu: Project / Edit Project settings (and also Active Target). There
you can define the compiler which is being used. Just choose GCC 4.0 there
(probably GCC 3.3 is selected).

Regards,
Albert


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

Hi,

Just remove those user defined settings.

-AlbertAm 04.03.2009 um 17:57 schrieb Rick Page:

Hi,
Thanks for the info. The project setting is already set for 4.0 for
the compiler. I did see down a little farther in the User-Defined
area that 3.3 was entered for GCC_VERSION_ppc. I don’t care about
building a framework for ppc. How do I keep it from trying to do a
Universal build and just build for i386?
Rick

On Wed, Mar 4, 2009 at 10:47 AM, Albert Zeyer <@Albert_Zeyer wrote:

Am 04.03.2009 um 17:40 schrieb Rick Page:

Hello Everyone,
I am a long time programmer of embedded C and Windows. I am
migrating over to Mac. I am having trouble building the SDL
Frameworks for Xcode using the SDL.xcodeproj. I was getting a error
message about directory gcc-3.3 being missing. What I found is that
I have a directory for gcc-4.0, gcc-4.2 and a symbolic link gcc ->
gcc-4.0. I decided to create a symbolic link for gcc-3.3 -> gcc-4.0
to see what I get. I now get a 105 errors in regards to unrecognized
command line option for “-header-mapfile”. Do I need to install
gcc-3.3 or do I have a different problem? I am using Xcode 3.1.2
Thanks for your help.
Rick

Hi,

Go to menu: Project / Edit Project settings (and also Active
Target). There you can define the compiler which is being used. Just
choose GCC 4.0 there (probably GCC 3.3 is selected).

Regards,
Albert


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

Great, Thanks. A successful build but 1026 warnings. I will have to look
through the warnings and see if any are significant. Most of them appear to
be xxx is used uninitialized in this function, xxx maybe used uninitialized
in this function, statement with no effect, unused variable ‘srcsize’, etc…
I also noticed in the project settings that the Architectures setting is set
to i386 ppc. Could I also have just changed this?
RickOn Wed, Mar 4, 2009 at 11:01 AM, Albert Zeyer <albert.zeyer at rwth-aachen.de>wrote:

Hi,

Just remove those user defined settings.

-Albert

Am 04.03.2009 um 17:57 schrieb Rick Page:

Hi,

Thanks for the info. The project setting is already set for 4.0 for the
compiler. I did see down a little farther in the User-Defined area that 3.3
was entered for GCC_VERSION_ppc. I don’t care about building a framework for
ppc. How do I keep it from trying to do a Universal build and just build for
i386?
Rick

On Wed, Mar 4, 2009 at 10:47 AM, Albert Zeyer < albert.zeyer at rwth-aachen.de> wrote:

Am 04.03.2009 um 17:40 schrieb Rick Page:

Hello Everyone,
I am a long time programmer of embedded C and Windows. I am migrating over
to Mac. I am having trouble building the SDL Frameworks for Xcode using the
SDL.xcodeproj. I was getting a error message about directory gcc-3.3 being
missing. What I found is that I have a directory for gcc-4.0, gcc-4.2 and a
symbolic link gcc -> gcc-4.0. I decided to create a symbolic link for
gcc-3.3 -> gcc-4.0 to see what I get. I now get a 105 errors in regards to
unrecognized command line option for “-header-mapfile”. Do I need to install
gcc-3.3 or do I have a different problem? I am using Xcode 3.1.2
Thanks for your help.
Rick

Hi,

Go to menu: Project / Edit Project settings (and also Active Target).
There you can define the compiler which is being used. Just choose GCC 4.0
there (probably GCC 3.3 is selected).

Regards,
Albert


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

Great, Thanks. A successful build but 1026 warnings. I will have to
look through the warnings and see if any are significant. Most of
them appear to be xxx is used uninitialized in this function, xxx
maybe used uninitialized in this function, statement with no effect,
unused variable ‘srcsize’, etc…

In the same settings, you can specify which warnings should be shown.
Best is to just delete your settings to have it back to default. The
warnings which are shown in the default mode should not be too much
and are serious most of the time anyway.

I also noticed in the project settings that the Architectures
setting is set to i386 ppc. Could I also have just changed this?

No, that should not be related. Anyway, there is also no reason to
change that.

  • AlbertAm 04.03.2009 um 18:20 schrieb Rick Page:

Rick

On Wed, Mar 4, 2009 at 11:01 AM, Albert Zeyer <@Albert_Zeyer wrote:
Hi,

Just remove those user defined settings.

-Albert

Am 04.03.2009 um 17:57 schrieb Rick Page:

Hi,
Thanks for the info. The project setting is already set for 4.0 for
the compiler. I did see down a little farther in the User-Defined
area that 3.3 was entered for GCC_VERSION_ppc. I don’t care about
building a framework for ppc. How do I keep it from trying to do a
Universal build and just build for i386?
Rick

On Wed, Mar 4, 2009 at 10:47 AM, Albert Zeyer <@Albert_Zeyer wrote:

Am 04.03.2009 um 17:40 schrieb Rick Page:

Hello Everyone,
I am a long time programmer of embedded C and Windows. I am
migrating over to Mac. I am having trouble building the SDL
Frameworks for Xcode using the SDL.xcodeproj. I was getting a error
message about directory gcc-3.3 being missing. What I found is that
I have a directory for gcc-4.0, gcc-4.2 and a symbolic link gcc ->
gcc-4.0. I decided to create a symbolic link for gcc-3.3 -> gcc-4.0
to see what I get. I now get a 105 errors in regards to unrecognized
command line option for “-header-mapfile”. Do I need to install
gcc-3.3 or do I have a different problem? I am using Xcode 3.1.2
Thanks for your help.
Rick

Hi,

Go to menu: Project / Edit Project settings (and also Active
Target). There you can define the compiler which is being used. Just
choose GCC 4.0 there (probably GCC 3.3 is selected).

Regards,
Albert


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

I also noticed in the project settings that the Architectures setting is
set to i386 ppc. Could I also have just changed this?

Yes :slight_smile:

-Eric