Re: Compile broken after upgrading to Ubuntu 18.04 LTS

new topic     » goto parent     » topic index » view thread      » older message » newer message
irv said...

I now have an 8-core processor. Is there any way to make euc use several of those, rather than just one?

There sure is! You can compile your translated apps in a fraction of the time.

euc -build-dir build -extra-lflags="-no-pie" -makefile appname.ex 
make -j8 -f appname.mak -C build 

euc options

  • -build-dir - use the named directory (default is build-[random number])
  • -extra-lflags - required on Ubuntu 17.10+ as discussed previously
  • -makefile - generate a makefile instead of compiling directly (will be named [build-dir]/[basename].mak)

make options

  • -j (or --jobs) - use this many simultaneous jobs (usually one job per core/thread)
  • -f (or --file) - use the specified makefile (default is Makefile)
  • -C (or --directory) - change to the specified directory before doing anything

This works on Windows or Linux. Only difference is you need to use mingw32-make instead of just make on Windows.

-Greg

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu