File: cfgwindowsnodebug

package info (click to toggle)
baycomepp 0.10-15
  • links: PTS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 2,896 kB
  • ctags: 3,195
  • sloc: ansic: 32,213; sh: 3,795; makefile: 482; sed: 93; perl: 31; asm: 18
file content (20 lines) | stat: -rwxr-xr-x 648 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/bin/sh

if test -d /usr/local/cross/i686-pc-cygwin; then
  CROSSPATH=/usr/local/cross/i686-pc-cygwin/
else
  CROSSPATH=/usr/local/cygwin/i686-pc-cygwin/
fi
PATH=${CROSSPATH}/bin:${PATH}
CC=i686-pc-cygwin-gcc
AR=i686-pc-cygwin-ar
AS=i686-pc-cygwin-as
LD=i686-pc-cygwin-ld
RANLIB=i686-pc-cygwin-ranlib
DLLTOOL=i686-pc-cygwin-dlltool
WINDRES=i686-pc-cygwin-windres
CFLAGS="-O2 -I${CROSSPATH}/gtk/include -mno-cygwin -mpentium -fnative-struct"
LDFLAGS="-L${CROSSPATH}/gtk/lib -mno-cygwin"
export CC AS AR LD RANLIB DLLTOOL PATH CFLAGS LDFLAGS
dir=`dirname $0`
${dir}/configure --host=i686-pc-cygwin --disable-nls --enable-driver=no --prefix=/tmp $*