Opened 3 years ago

Closed 3 years ago

#319 closed defect - etc (fixed)

tsuite/programs don't work

Reported by: rjrw Owned by: nobody
Priority: major Milestone: C17_branch
Component: infrastructure Version: trunk
Keywords: Cc:

Description

$ ./run_programs.pl 
$(DEFCXX) -ansi -O3 -ftrapping-math -fno-math-errno -Wall -W -g collcool.cpp -o collcool.exe -I../../../source -L../../../source/ -lcloudy
sh: DEFCXX: command not found
sh: -ansi: command not found
compilation done.
now execute collcool.exe

etc.

Running g++ by hand for a couple of spot-checks then fails due to use of fopen(). Should this really be disallowed for Cloudy client code?

Change History (1)

comment:1 Changed 3 years ago by peter

Resolution: fixed
Status: newclosed

Fixed in r10184. The script now uses the make command to obtain the correct compiler and compiler flags. This should be more robust.

The calls to fopen() were already fixed as part of PR #320.

Note: See TracTickets for help on using tickets.