8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-23 20:43:03 +01:00
firebird-mirror/builds/posix/prefix.aix_powerpc
alexpeshkoff 812c153990 AIX port
2008-12-24 14:17:55 +00:00

73 lines
2.8 KiB
Plaintext

# The contents of this file are subject to the Interbase Public
# License Version 1.0 (the "License"); you may not use this file
# except in compliance with the License. You may obtain a copy
# of the License at http://www.Inprise.com/IPL.html
#
# Software distributed under the License is distributed on an
# "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either express
# or implied. See the License for the specific language governing
# rights and limitations under the License.
#
# The Original Code was created by Inprise Corporation
# and its predecessors. Portions created by Inprise Corporation are
# Copyright (C) Inprise Corporation.
#
# All Rights Reserved.
# Contributor(s): Bill Oliver
#
# Compiler settings for 64-bit AIX/powerpc using gcc and native linker
#
# Tested with AIX 6.1.0.0. Requires AIX 5.1+
#
# 2008-11-04 recommend gcc 4.3.1 or higher
#
# To compile an application in 64 bit mode, one should use the option -maix64,
# which enables the 64-bit AIX ABI such as: 64-bit pointers, 64-bit long type,
# and the infrastructure needed to support them. Specifying -maix64 implies
# -mpowerpc64 and -mpowerpc, while -maix32 disables the 64-bit ABI and implies
# -mno-powerpc64. GCC defaults to -maix32.
#
# Notes:
#
# 1) Set these variables before running autogen.sh. If you don't,
# sizeof long will be incorrectly detected as 4, not 8, by autoconf.
#
# export CXXFLAGS=-maix64
# export CFLAGS=-maix64
# _AIX, _POWER are pre-defined by gcc. To see list of all system-specific
# pre-defined macros, type "echo | cpp -dM | sort"
# non-firebird libraries have .a extension
SHRLIB_FOREIGN_EXT=a
# -O3 causes lock manager seizure for gcc 4.2.3, 4.2.4, -O2 is ok
# -O3 turns on -finline-functions, no need to specify it explicitly.
PROD_FLAGS=-ggdb -O3 -fsigned-char -fmessage-length=0 -fno-omit-frame-pointer -DNDEBUG -pipe -MMD -fPIC
# -Wno-unused-variable
DEV_FLAGS=-ggdb -O0 -fsigned-char -fmessage-length=0 -pipe -MMD -fPIC -Wall -Wextra -Wno-unused-parameter -Wno-switch -Wno-parentheses -Wno-unknown-pragmas
# link options when using IBM /usr/bin/ld fronted by g++
LIB_LINK_OPTIONS:=-shared -Wl,-bbigtoc,-bexpall
# AIX ld option to set run-time library path is -Wl-blibpath:path1:path2
# Additional -blibpath options are not additive! All paths must be provided as a colon separated list.
# LIB_LINK_RPATH:=-Wl-blibpath:
# LIB_PATH_OPTS = $(LIB_LINK_RPATH)$(FirebirdInstallPrefix)/lib:$(FirebirdInstallPrefix)/intl:/usr/lib:/lib
LIB_LINK_RPATH=
LIB_PATH_OPTS=
# add LDFLAGS here, so it will be picked up even if user doesn't export LDFLAGS
#LDFLAGS=-Wl,-bbigtoc,-b64
#LDFLAGS=-Wl,-bbigtoc
OS_ServerFiles=inet_server.cpp
EMBED_UTIL_TARGETS=gstat gds_drop gsec fbguard nbackup fb_lock_print fbsvcmgr
CLIENT_UTIL_TARGETS=gds_drop gstat gsec fbguard fbmgr_bin nbackup fb_lock_print fbsvcmgr
Physical_IO_Module=os/posix/unix.cpp
UNDEF_PLATFORM=