Skip to content

Compile on FreeBSD #439

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

Merged
merged 6 commits into from
Dec 19, 2015
Merged

Compile on FreeBSD #439

merged 6 commits into from
Dec 19, 2015

Conversation

renecannao
Copy link
Contributor

Related to issue #354

@grigorov : currently it compiles with:

CC=gcc CXX=g++ time gmake -f Makefile.BSD

It also run fine, but I could run much testing yet

@renecannao renecannao self-assigned this Nov 16, 2015
@renecannao renecannao added this to the Iovita milestone Nov 16, 2015
@grigorov
Copy link

Hi, Clang support is not ready? Only gcc??

@renecannao
Copy link
Contributor Author

Hi, Clang is currently not ready, only gcc .
The difficulty I had in supporting both is in the way they link against c++ libraries . gcc/g++ links against libstdc++ , while clang links against libc++ .
If you specifically needs clang , I can work on it. Please let me know

@grigorov
Copy link

Commiters freebsd port, not happy dependecy GCC, he can compile default C/C++ compiler (clang).
Now i creating patch files for freebsd port. Compile under clang is not compile, compile under gcc - ok. I see in ubuntu/centos a have clang too. Maybee, can you support clang ? Under fedore 23 - i have clang 3.7.0, on freebsd - clang 3.4.1

@renecannao
Copy link
Contributor Author

I understand.
Ok, I will make it work on clang too. Please give me few days to work on it

@grigorov
Copy link

grigorov commented Dec 7, 2015

Not ok? many problems?

@renecannao
Copy link
Contributor Author

Hi Aleks,
Sorry, I didn't invest time in this yet, my apologize for the delay.
Is it possible for you to extensively test ProxySQL compiled with gcc to make sure it works as expected, before compiling with clang ?
Of course I want to support clang, but I think is better to make sure ProxySQL works on FreeBSD with the minimum amount of changes.
Thanks

@grigorov
Copy link

Ok, not problem. i use gcc.

renecannao added a commit that referenced this pull request Dec 19, 2015
@renecannao renecannao merged commit 3bdbdad into sysown:master Dec 19, 2015
@renecannao
Copy link
Contributor Author

@grigorov : let's continue the support for FreeBSD on pull #448 .
Thanks!

@renecannao renecannao deleted the freebsd branch December 26, 2015 17:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants