cygwin-gcc .build attempts to build windows exe
Brought to you by:
arkanda
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.
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
patch from 2 separate trees( i may need to make another)