[xcrysden] finally new xcrysden version
Tone Kokalj
tone.kokalj at ijs.si
Tue Dec 9 01:12:20 CET 2008
On Mon, 2008-12-08 at 20:41 +0800, lan haiping wrote:
> Anyone has a make.sys for x86-32 configuration ?
You may use with some editing those in system/Make.linux*
For x86_32 compilation. I have used these two (attached).
Regards, Tone
PS: linux_x86 (32bit) binaries are now available on the download page.
http://www.xcrysden.org/download/xc-1.5.17-linux_x86-semishared.tar.gz
http://www.xcrysden.org/download/xc-1.5.17-linux_x86-shared.tar.gz
--
Tone Kokalj <tone.kokalj at ijs.si>
J. Stefan Institute, Jamova 39, 1000 Ljubljana, Slovenia (tel:
+386-1-477-3523 // fax:+386-1-477-3822)
-------------- next part --------------
########################################################################
#
# System-dependent definitions for Linux.
# Edit according to your own needs.
#
########################################################################
#------------------------------------------------------------------------
# if you have a GNU make it is better to set the MAKE variable to point
# to gnu make
#------------------------------------------------------------------------
MAKE = make
#------------------------------------------------------------------------
# compilers & flags
#------------------------------------------------------------------------
# static:
#----------------------------
CFLAGS = -ansi -ffast-math -funroll-loops -DUSE_FONTS -pedantic -Wall -O2
LDFLAGS =
LDLIB = -ldl
MATH = -lm
CC = gcc
FC = gfortran
FFLAGS = -O2
#------------------------------------------------------------------------
# X-libraries & include files
#------------------------------------------------------------------------
X_LIB = -lXmu -lX11
X_INCDIR =
COMPILE_TCLTK = no
COMPILE_MESA = no
#
# Libraries
#
TK_LIB = -ltk8.5
TCL_LIB = -ltcl8.5
GLU_LIB = -lGLU
GL_LIB = -lGL
#
# Include directories
#
TCL_INCDIR = -I/usr/include/tcl8.5
TK_INCDIR = -I/usr/include/tk8.5
GL_INCDIR =
-------------- next part --------------
#########################################################################
#
# System-dependent definitions for Linux.
#
# EDIT ACCORDING TO YOUR OWN NEEDS !!!
#
########################################################################
#------------------------------------------------------------------------
# if you have a GNU make it is better to set the MAKE variable to point
# to gnu make
#------------------------------------------------------------------------
MAKE = make
#------------------------------------------------------------------------
# compilers & flags
#------------------------------------------------------------------------
CFLAGS = -ansi -ffast-math -funroll-loops -fPIC -DUSE_FONTS -O2
CC = gcc
#LDLIB = -ldl
MATH = -lm
# we use a static libgfortran not to depend on gfortran version
FFLAGS = -O2 -static-libgfortran
FC = gfortran
#-------------------------------------------
#debug options
#CFLAGS = -ansi -g -fPIC
#-------------------------------------------
#------------------------------------------------------------------------
# X-libraries & include files
#
# for STATIC compilation one should add: -lpthread
#------------------------------------------------------------------------
X_LIB = -lXmu -lX11 -lXext
X_INCDIR =
###
### use EITHER THIS:
###
#-Possibility-1----------------------------------------------------------
#
# If you want to use your own libraries and include files,
# then set *_LIB and *_INCDIR variables below accordingly:
#
#------------------------------------------------------------------------
# COMPILE_TCLTK = no
# COMPILE_MESA = no
#
# #
# # Libraries
# #
# TK_LIB = -ltk8.5
# TCL_LIB = -ltcl8.5
# GLU_LIB = -lGLU
# GL_LIB = -lGL
#
# #
# # Include directories
# #
# TCL_INCDIR =
# TK_INCDIR =
# GL_INCDIR =
#------------------------------------------------------------------------
###
### or THAT:
###
#-Possibility-2-----------------------------------------------------------
#
# XCRYSDEN package may contain the tcl, tk & Mesa sources !!!
# If you would like to compile and use these then uncomment below lines and
# comment lines "Possibility-1" (see above).
#
#------------------------------------------------------------------------
COMPILE_TCLTK = yes
COMPILE_MESA = yes
#
# Do we want a shared library version of Tcl/Tk/Mesa or static?
# If we want shared then set the following flags to: --enable-shared
# else set the following flag to: --disable-shared
#
TCLTK_OPTIONS = --enable-shared
MESA_TARGET = linux
#
# Libraries (dynamic loading)
# for shared linking the libraries postfix should be .so
# for static linking the libraries postfix should be .a
#
TCL_LIB = -L$(TOPDIR)/external/lib -ltcl$(TCL_VER2)
TK_LIB = -ltk$(TCL_VER2)
GLU_LIB = -lGLU
GL_LIB = -lGL
#
# Include directories
#
TCL_INCDIR = -I$(TOPDIR)/external/src/tcl$(TCL_VER3)/generic
TK_INCDIR = -I$(TOPDIR)/external/src/tk$(TCL_VER3)/generic
GL_INCDIR = -I$(TOPDIR)/external/include
#------------------------------------------------------------------------
More information about the XCrySDen
mailing list