Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compile on debian #14

Open
GoogleCodeExporter opened this issue Jun 27, 2015 · 2 comments
Open

Compile on debian #14

GoogleCodeExporter opened this issue Jun 27, 2015 · 2 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1.  svn checkout http://word2vec.googlecode.com/svn/trunk/
2. cd trunk
3. make



What is the expected output? What do you see instead?

cc1: error: invalid option argument '-Ofast'
make: *** [word2vec] Erreur 1


What version of the product are you using? On what operating system?

revision 34. Debian Squeeze.



Original issue reported on code.google.com by nicolas....@gmail.com on 4 Oct 2013 at 11:49

@GoogleCodeExporter
Copy link
Author

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

@GoogleCodeExporter
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant