Menu

#9 my gcc does not accept -arch option

open
nobody
None
5
2009-02-19
2009-02-19
No

byaccj does not build on my system (PLD-Linux th, gcc-4.3.3), because of "-arch" options passed to gcc in Makefile.

I have attached patch that removes these args. It works for me.

Discussion

  • Paweł Zuzelski

    Paweł Zuzelski - 2009-02-19

    buildfix

     
  • Shlomi Fish

    Shlomi Fish - 2011-12-03

    I can reproduce this, but please also use the LDFLAGS in the generation of the "yacc" executable (the command with the -o, as at the moment it is very Mac OS X specific, and may not work elsewhere.

    Alternatively, if you're looking for a more flexible and convenient build system, then look into CMake. See:

    http://www.shlomifish.org/open-source/anti/autohell/

    Regards,

    -- Shlomi Fish

     

Log in to post a comment.