Menu

#5 cygwin-gcc .build attempts to build windows exe

open
nobody
5
2005-05-25
2005-05-25
john woods
No

Straght out of the can... when I attempt to build a
straight cygwin linux version, the make fails in the
product directory. It tries to use the win32 resource
compiler.

My building went like so...

Read the Readme file,
cd env/
. build cygwin-gcc
make deliver

Results...

=== building product
rc pgm.rc
make[1]: rc: Command not found
make[1]: *** [pgm.res] Error 127
make: *** [all] Error 1

I could just remove the rc section... but I think it is
supposed to know not to be building the win32 version.

Discussion

  • john woods

    john woods - 2005-05-25

    Logged In: YES
    user_id=379060

    My earlier comment should have been...

    Read the Readme file :)
    . build -r cygwin-gcc
    make deliver

    submitting patch for review

    1 I set the bldinfo file to use uname -o, it was set using -a
    [ "$BUILDER_ENV" = "" ] && BUILDER_ENV=`uname -o`

    2 A special section in the build file named 'build' for
    cygwin-gcc

    # special case of cygwin-gcc
    #
    if [ "$PLATFORM" = "cygwin-gcc" ]
    then
    LIB_EXT=lib # library file extension
    EXE_EXT=.exe # executable file extension
    fi

    To...

    # special case of cygwin-gcc
    #
    if [ "$PLATFORM" = "cygwin-gcc" ]
    then
    LIB_EXT=lib # library file extension
    EXE_EXT= # executable file extension
    fi

    And then it built

     
  • john woods

    john woods - 2005-05-25

    patch from 2 separate trees( i may need to make another)

     

Log in to post a comment.

MongoDB Logo MongoDB