[issue23024] Python Compile Error on Mac os X ld: unknown option: -export-dynamic

2014-12-11 Thread Berker Peksag
Changes by Berker Peksag : -- resolution: -> not a bug stage: -> resolved status: open -> closed type: -> behavior ___ Python tracker ___ _

[issue23024] Python Compile Error on Mac os X ld: unknown option: -export-dynamic

2014-12-11 Thread zhuoyikang
zhuoyikang added the comment: thank u very much ! question solved 2014-12-11 14:42 GMT+08:00 Ned Deily : > > Ned Deily added the comment: > > That should work just fine, assuming you are using an unmodified Python > 3.4.x source download or the 3.4 branch of a source repo. My best guess as > t

[issue23024] Python Compile Error on Mac os X ld: unknown option: -export-dynamic

2014-12-10 Thread Ned Deily
Ned Deily added the comment: That should work just fine, assuming you are using an unmodified Python 3.4.x source download or the 3.4 branch of a source repo. My best guess as to why you are running into problems is that you may be picking up build tools other than those supplied by Apple. On

[issue23024] Python Compile Error on Mac os X ld: unknown option: -export-dynamic

2014-12-10 Thread zhuoyikang
zhuoyikang added the comment: Sorry, i am not cross-build , i just building it on my mac os x machine : i fellow this => Build Instructions -- On Unix, Linux, BSD, OSX, and Cygwin: New text ./configure make make test sudo make install This will install Python

[issue23024] Python Compile Error on Mac os X ld: unknown option: -export-dynamic

2014-12-10 Thread Ned Deily
Ned Deily added the comment: The -export-dynamic compile option is not supported nor selected at configure time for normal builds on OS X. Exactly what configure options did you use? I see that you have checked Cross-Build for components. What sort of cross-building are you attempting? ---

[issue23024] Python Compile Error on Mac os X ld: unknown option: -export-dynamic

2014-12-10 Thread zhuoyikang
New submission from zhuoyikang: /Applications/Xcode.app/Contents/Developer/usr/bin/make Parser/pgen gcc -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -L/usr/local/lib -export-dynamic Parser/acceler.o Parser/grammar1.o Parser/listnode.o Parser/node.o Parser/parser.o Parser/bitset.o Parser/