[Pythonmac-SIG] compiling wxPython

Bob Ippolito bob at redivi.com
Fri Aug 19 03:27:53 CEST 2005


On Aug 18, 2005, at 3:20 PM, Chris Fonnesbeck wrote:

> Has anyone had success compiling wxPython on Tiger? I get the
> following when trying to compile:
>
> ./bk-make-pch .pch/wxprec_basedll/wx/wxprec.h.gch wx/wxprec.h g++
> -I.pch/wxprec_basedll -D__WXMAC__     -I./src/tiff -I./src/jpeg
> -I./src/expat/lib -DwxUSE_GUI=0 -DWXMAKINGDLL_BASE -DwxUSE_BASE=1
> -dynamic -fPIC -DPIC -DWX_PRECOMP -DNO_GCC_PRAGMA
> -Ilib/wx/include/mac-ansi-release-2.6 -I./include
> -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -fpascal-strings
> -I./src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon -O2 -Wall
> -Wno-ctor-dtor-privacy -fno-common
> cc1plus: error: unrecognized command line option "-fpascal-strings"
> make: *** [.pch/wxprec_basedll/wx/wxprec.h.gch] Error 1

I haven't tried it, but are you sure you're using Apple's g++?  Mine  
understands -fpascal-strings just fine.

% g++ --version
powerpc-apple-darwin8-g++-4.0.0 (GCC) 4.0.0 (Apple Computer, Inc.  
build 5026)

-bob



More information about the Pythonmac-SIG mailing list