We are currently migrating Bugzilla to GitHub issues.
Any changes made to the bug tracker now will be lost, so please do not post new bugs or make changes to them.
When we're done, all bug URLs will redirect to their equivalent location on the new bug tracker.

Bug 377

Summary: CFLAGS and LDFLAGS version mismatch for building fat binaries
Product: SDL Reporter: Patrice Mandin <patmandin>
Component: buildAssignee: Ryan C. Gordon <icculus>
Status: RESOLVED FIXED QA Contact: Sam Lantinga <slouken>
Severity: normal    
Priority: P2    
Version: 1.2.11   
Hardware: PowerPC   
OS: Mac OS X (All)   

Description Patrice Mandin 2006-12-22 18:33:44 UTC
[From Torsten Giebl]

All the files (gcc-fat.sh, fatbuild.sh) contain :

CFLAGS :
-I/Developer/SDKs/MacOSX10.4u.sdk/usr/lib/gcc/i686-apple-darwin8/4.0.1/include

LDFLAGS :
-L/Developer/SDKs/MacOSX10.4u.sdk/usr/lib/gcc/i686-apple-darwin8/4.0.0 \
-Wl,-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk"

Should this not also be 4.0.1 for LDFLAGS and not 4.0.0 ?
Comment 1 Ryan C. Gordon 2007-02-13 05:04:05 UTC
SDL:
Fixed in svn revision #2963 for 1.2 branch, and #2964 for 1.3 branch.

SDL_image:
Fixed in svn revision #2965.

SDL_mixer:
Fixed in svn revision #2966.

SDL_ttf:
Fixed in svn revision #2967.

SDL_rtf:
Fixed in svn revision #2968.

SDL_net:
Fixed in svn revision #2969.

I think that's everything.

--ryan.