Home Help Center

Makefile assistance for example code in linux/freebsd

spsonispsoni Member Sury P SoniOrganization: Next DigitalProject: Unified Messaging Plattform for Inhouse Products ✭✭
Hi There,

Can anyone guide me simple steps to generate Makefile for Ice demo examples available on windows binary installation to be executed on linux/freebsd?

Do ZeroC provide Makefile for demo examples for any linux distro?

Cheers.

Surya

Comments

  • michimichi Member Michi HenningOrganization: Triodia TechnologiesProject: I have a passing interest in Ice :-) ✭✭✭
    I'm not sure what exactly you are after. There are makefiles for the demos in the source distribution, both for Windows and and for Linux. You can use those as a model for your own code.

    Cheers,

    Michi.
  • spsonispsoni Member Sury P SoniOrganization: Next DigitalProject: Unified Messaging Plattform for Inhouse Products ✭✭
    Oh Sorry. Yes, I can find the Makefiles.

    I am having problem finding c_r library for linking on freebsd. What could be the alternative library I can use? What is the purpose of c_r library?

    Cheers.

    Surya
  • spsonispsoni Member Sury P SoniOrganization: Next DigitalProject: Unified Messaging Plattform for Inhouse Products ✭✭
    spsoni wrote: »
    I am having problem finding c_r library for linking on freebsd. What could be the alternative library I can use? What is the purpose of c_r library?

    I found it, libc_r is deprecated in freebsd.

    Hence, in Makefile somewhere, -lpthread can be used for linking.

    Also, a quick note to all newbies like me, if make command is not working
    make <TARGET>
    

    use
    gmake <TARGET>
    

    since all Makefile bundled with Ice are GNU Makefiles, not fully compatible with make

    Cheers.

    Surya
Sign In or Register to comment.