Open GoogleCodeExporter opened 8 years ago
You should change -Ofast to -O2 if you have older version of the gcc compiler
(however, that can produce significantly slower code).
Original comment by tmiko...@google.com
on 4 Oct 2013 at 6:57
I am on ubuntu and my gcc version is gcc version 4.5.2 (GCC)
and I am on ubuntu 12.04
Distributor ID: Ubuntu
Description: Ubuntu 12.04.3 LTS
Release: 12.04
Codename: precise
make
gcc word2vec.c -o word2vec -lm -pthread -Ofast -march=native -Wall
-funroll-loops -Wno-unused-result
cc1: error: invalid option argument ‘-Ofast’
make: *** [word2vec] Error 1
Original comment by auduwage
on 18 Oct 2013 at 10:13
Original issue reported on code.google.com by
nicolas....@gmail.com
on 4 Oct 2013 at 11:49