Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#9 my gcc does not accept -arch option

open
nobody
None
5
2009-02-19
2009-02-19
Paweł Zuzelski
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

  • buildfix

     
    Attachments
  • 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