crossbridge-community / crossbridge

C/C++ Compiler for the ActionScript Virtual Machine (AVM2)
http://sourceforge.net/projects/crossbridge-community/
Other
151 stars 36 forks source link

OS X build issues #3

Closed aglitchman closed 10 years ago

aglitchman commented 10 years ago

install_libs: unzip can't overwrite old files.

extralibs: seems it uses host compiler since you have set:

    $?CC=gcc-4.2
    $?CXX=g++-4.2

swig: executable flag has been lost:

swig-3.0.0/Tools/config/install-sh
swig-3.0.0/Tools/pcre-build.sh
swig-3.0.0/configure

pkgconfig: it can't find glib-2.0. Should I install glib using Homebrew / MacPorts?

tr and gcc-4.2:

error: unrecognized command line option "-Wno-unused-local-typedefs"
error: unrecognized command line option "-Wno-maybe-uninitialized"
error: unrecognized command line option "-Wno-narrowing"
error: unrecognized command line option "-Wno-sizeof-pointer-memaccess"
error: unrecognized command line option "-Wno-unused-but-set-variable"
vpmedia commented 10 years ago

Hi!

install_libs: commited a fix...

extra_libs: Sure, I get it.. just I couldn't enable building using Travis CI or a private virtual machine with OSX 10.9 otherwise. Not sure about how to solve it, maybe introducing separated variables for host and target compilers would help... Any idea would be appreciated.. Log for building using Clang 3.4svn on OSX host Log for building using Apple-GCC-42 on OSX host

swig: commited a fix... (Edit 2)

pkgconfig: Yes please, I think you should install 'glib' (Also please refer to install.md, if you encounter similar issues in build/config logs - i've listed everything which i've found out during building using Windows and Cygwin)

tr: commited a fix...

aglitchman commented 10 years ago

Thank you!

vpmedia commented 10 years ago

Hopefully OSX build issues has been resolved by simply symlinking into sdk/usr/bin -42 suffixed versions.. https://github.com/vpmedia/crossbridge/issues/12