Original date:2020-10-18 08:50:13 Edited by: irv Subject: Re: DOES euc work with the latest version of Linux Mint?

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.

Not Categorized, Please Help


Quick Links

User menu

Not signed in.

Misc Menu