[sac-user] Running sac2c
R.Stewart at hw.ac.uk
Thu Feb 18 18:49:41 CET 2016
Two of the SaC developers, Hans and Artem, were patient enough to sit
down with me this week to show me what do to get SDL working.
If you get access to SaC again, switch to branch sac2c-follow for both
the sac2c and the stdlib repositories.
When wanting to compile the standard library, in stdlib do:
make EXCLUDEMODS="Unibench UnibenchCSV UnibenchInput UnibenchStructures GnuPlotUnibench UTrace" SUB_CONFIGURE_FLAGS="--disable-opencv --enable-sdl" -j8
Worked for me at least!
On 18/02/2016 at 17:43 Rumyana Rumenova writes:
> Is there anywhere I could download a recent version of SAC?
> What version of gcc would I need (I'm running 4.8.4 at the moment)?
> I'm trying to make the standard library for SAC (with SDL enabled) and
> running into problems...
> I have a development version from 2014, which says
> sac2c: error while loading shared libraries: libsac.seq.so: cannot open
> shared object file: No such file or directory
> -ne error: please set /home/rumi/SAC/sac_compiler/stdlib/shared-libs in the
> LIBPATH section of sac2crc
> make: *** [all] Error 1
> I've edited sac2c/sac2crc to say
> LIBPATH := "$SAC2CBASE/lib:"
> Is that the correct file and syntax?
> I'm unable to make the version on the website either, I'm getting
> ABORT: line 0 file: /usr/include/stdc-predef.h
> ABORT: syntax error at pos 36: '3`
> ABORT: # 1 "/usr/include/stdc-predef.h" 1 3 4
> ABORT: ^
> *** Compilation failed ***
> *** Exit code 1 (Loading SAC program)
> *** 1 Error(s), 0 Warning(s)
> make: *** [modules/structures/lib/libScalarArithTree.so] Error 1
> make: *** [fast] Error 2
> P.S I don't have access to the git (lost my key...)
> sac-user mailing list
> sac-user at sac-home.org
More information about the sac-user