Re: Ported X11 soft from Solaris

2002-10-26 Thread Benjamin Riefenstahl
Hi Max, Max Buvry <[EMAIL PROTECTED]> writes: > LIB = -lSM -lXpm -lXaw -lXmu -lXt -lX11 -lXext -lm -lc -lpq Don't specify the C runtime libraries, they are implied and adding them here can only do harm. IOW drop "-lm -lc". > CFLAGS = -I/usr/include/ -I/usr/X11R6/include/ Same with C r

Ported X11 soft from Solaris

2002-10-26 Thread Max Buvry
Hi, I use cygwin/xfree under XP and I attempt to port a graphic application which runs under Solaris 7. The beginning of my makefile is : CC = gcc COPT= -O -c -g -Wall LIB = -lSM -lXpm -lXaw -lXmu -lXt -lX11 -lXext -lm -lc -lpq CFLAGS = -I/usr/include/ -I/usr/X11R6/include/ LDFLAGS