Need steps to cross compile PHP for Windriver linux

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • MalarN
    New Member
    • Nov 2009
    • 10

    Need steps to cross compile PHP for Windriver linux

    Hi All,

    I need to cross compile PHP for Wind River Linux(MIPS). Please give me the steps to do the same.

    Thanks & Regards,
    Malar
    Last edited by Dormilich; Nov 25 '09, 12:38 PM. Reason: please make sure to spell check the proper names next time
  • Dormilich
    Recognized Expert Expert
    • Aug 2008
    • 8694

    #2
    installing PHP on Linux

    Comment

    • Dheeraj Joshi
      Recognized Expert Top Contributor
      • Jul 2009
      • 1129

      #3
      Hey Dormilich, That link only works if the cross compiled platform is same as linux(Desktop). .. Endianess of the OS may come into picture...

      Regards
      Dheeraj Joshi

      Comment

      • Markus
        Recognized Expert Expert
        • Jun 2007
        • 6092

        #4
        See the GNU configure doc. PHP's ./configure command allows for the --host flag to specify the target to compile for.

        --

        $ PHPSRC: ./configure --help | grep host

        Comment

        • Dheeraj Joshi
          Recognized Expert Top Contributor
          • Jul 2009
          • 1129

          #5
          Originally posted by Markus
          See the GNU configure doc. PHP's ./configure command allows for the --host flag to specify the target to compile for.

          --

          $ PHPSRC: ./configure --help | grep host
          Once upon a time i tried for cross compile the source(PHP) for same target platform.... I tried --host option.... I did not worked. It throwed few exceptions.

          Regards
          Dheeraj Joshi

          Comment

          • Dormilich
            Recognized Expert Expert
            • Aug 2008
            • 8694

            #6
            Originally posted by dheerajjoshim
            Endianess of the OS may come into picture...
            no picture is coming to my mind there.

            Comment

            • MalarN
              New Member
              • Nov 2009
              • 10

              #7
              I am not clear about the steps followed. I need steps to cross-compile php for MIPS (Big endian).

              Comment

              Working...