Re: DOES euc work with the latest version of Linux Mint?
- Posted by irv Oct 18, 2020
- 1103 views
Here's something you can try, since most of the discussion on the web involves -ffast-math:
euc -keep -build-dir build -extra-lflags="-no-pie" -makefile hello.ex
Open the /build/hello.mak file
CC = gcc CFLAGS = -fomit-frame-pointer -c -w -fsigned-char -O2 -m64 -I/usr/local/include -ffast-math LINKER = gcc LFLAGS = $(RUNTIME_LIBRARY) -m64 -ldl -lm -lpthread -no-pie ...
Remove the -ffast-math from the end of the 2nd line and save it. Then run make (specify no. of cores with -j, or leave it out)
make -j8 -f hello.mak -C build
On my Linux version, test program compiles correctly with or without the -ffast-math.