This is a static archive of our old Q&A Site. Please post any new questions and answers at ask.wireshark.org.

Change compiler and linker

0

Hi All,

After building wireshark successfully using Microsoft Compiler on windows, I was trying to build the application using Intel Compiler.

I changed the value of CC and LD in RootFolder\ Makefile.nmake, but build was still using the MS compiler.

Then I started changing the makefile.nmake in each sub-folders. But, the problem is now I want to change the CFLAGS.

Is there any particular file from where I can change CC, LD and CFLAGS values globally??

Thanks,

Mitul

asked 31 Jul '15, 12:01

MJS's gravatar image

MJS
1111
accept rate: 0%


One Answer:

0

I think you may run into lots of issues using the nmake build system which is pretty specific to MS Visual C. I don't know of anyone else attempting to build Wireshark with the Intel Compiler, especially now VS Express Desktop is free.

If you're building off master you may want to try the CMake build (see README.cmake in the root of the source tree), although there is no generator specifically for the Intel Compiler, this SO answer shows how to set CMake to use the Intel Compiler.

Please report back on your results, the dev mailing list is probably the best place for this.

answered 01 Aug '15, 09:31

grahamb's gravatar image

grahamb ♦
19.8k330206
accept rate: 22%