Author Topic: ArcaOS - Recreate a complete build environment?  (Read 6936 times)

Dave Yeo

  • Hero Member
  • *****
  • Posts: 4831
  • Karma: +101/-1
    • View Profile
Re: ArcaOS - Recreate a complete build environment?
« Reply #30 on: April 10, 2024, 04:56:14 pm »
You can also create a config.site file in $PREFIX/share, usually /usr/local/share/config.site. Mine for Mozilla, or IIRC, where %CONFIG_SITE% points.
Code: [Select]
export CFLAGS=-Zomf
export CXXFLAGS=-Zomf
export ASFLAGS=-Zomf
export 'CPPFLAGS=-idirafter w:/usr/include/os2tk45'
export 'LIBS=-lcx -Zomf'

The -idirafter is to search the toolkit for includes after the usual locations such as /@unixroot/usr/include.