[Wine] 1.3.30 build error on Mac OS X with non-Apple GCC

Charles Davis cdavis at mymail.mines.edu
Wed Oct 12 12:50:18 CDT 2011


On Oct 12, 2011, at 8:59 AM, ischou wrote:

> There is a linker argument that only Apple's GCC recognizes in the latest build.  In libs/wine/Makefile.in, there is a variable that reads:
> 
> 
> Code:
> DYLIB_LDFLAGS = -compatibility_version $(SOVERSION) -current_version $(VERSION) -headerpad_max_install_names
> 
> 
> 
> in order for non-Apple GCC to successfully build, it needs to pass-through the argument to the linker.  The line should read:
> 
> 
> Code:
> DYLIB_LDFLAGS = -compatibility_version $(SOVERSION) -current_version $(VERSION) -Wl,-headerpad_max_install_names

OK, I've sent a patch.

But tell me: why are you using FSF GCC on Darwin? AFAICT, support for mainline GCC on Darwin has stagnated ever since Apple left to avoid the GPLv3 (which they hate and fear because it legally obligates them to allow people to replace software on devices running iOS).

Chip




More information about the wine-users mailing list