Mail Archives: cygwin/2000/03/28/18:25:41
------_=_NextPart_000_01BF990B.B9E44300
Content-Type: text/plain;
charset="iso-8859-1"
I am trying to compile ACE/TAO for VxWorks NT Simulator using cygwin (B20-1)
and perl from ActiveState (5.6). I ran into 2 problems:
1. There is a problem when perl invokes a perl script, specifying the full
path to the script. This only happens if the full path to the script file
contains a mounted drive:
bash-2.02$ pwd
/e/Ace51/ACE_wrappers
bash-2.02$ perl /e/Ace51/ACE_wrappers/bin/ace_ld
Can't open perl script "/e/Ace51/ACE_wrappers/bin/ace_ld": No such file or
directory
However, if I invoke the ace_ld using relative rather than absolute path I
don't get the error:
bash-2.02$ pwd
/e/Ace51/ACE_wrappers
bash-2.02$ perl bin/ace_ld
Also, I don't get the error if I invoke the script the following way:
bash-2.02$ pwd
/e/Ace51/ACE_wrappers
bash-2.02$ perl E:/Ace51/ACE_wrappers/bin/ace_ld
The mount point was created with the following commands:
cd /
mkdir /e
mount E:/ /e
2. Several makes fail with the following error:
E:\Ace51\ACE_wrappers\netsvcs\clients\Tokens>make -C collection all
/edrive/Ace51/ACE_wrappers/include/makeinclude/rules.lib.GNU:72: *** missing
separator. Stop.
I attached rules.lib.GNU file. The weird thing is that this file seems to be
invoked by some other makes, which complete successfully.
Output of cygcheck -s -v -r
===================
bash-2.02$ pwd
/e/Ace51/ACE_wrappers
bash-2.02$ cygcheck -s -v -r
Cygnus Win95/NT Configuration Diagnostics
Current System Time: Tue Mar 28 17:37:04 2000
WinNT Ver 4.0 build 1381 Service Pack 6
Path: /d/cygnus/cygwin-b20/H-i586-cygwin32/bin
/d/Tornado/host/x86-win32/bin
/d/Tornado/host/x86-win32/lib/gcc-lib/powerpc-wrs-vxworks/cygnus-2.7.2-9
60126
/d/Tornado/host/x86-win32/powerpc-wrs-vxworks/bin
/e/Ace51/ACE_wrappers/bin
/WINNT/system32
/WINNT
/WINNT/system32/nls/ENGLISH
/bin
/d/Perl/bin
SysDir: C:\WINNT\System32
WinDir: C:\WINNT
GCC_EXEC_PREFIX = `/d/Tornado/host/x86-win32/lib/gcc-lib/'
MAKE_MODE = `UNIX'
PWD = `/e/Ace51/ACE_wrappers'
!C: = `C:\WINNT\Profiles\Aleksander\Desktop'
ACE_ROOT = `/e/Ace51/ACE_wrappers'
ACE_TAO_ROOT = `E:/Ace51/ACE_wrappers/TAO'
ATAHOME = `D:\Sterling\OTDocTools'
CL = `/IE:/Ace51/ACE_wrappers/TAO\tao /IE:/Ace51/ACE_wrappers/TAO
/IE:/Ace51/ACE
_wrappers/TAO\orbsvcs /IE:/Ace51/ACE_wrappers /link
/libpath:E:/Ace51/ACE_wrappe
rs/TAO\tao:E:/Ace51/ACE_wrappers\ace'
CLASSPATH =
`D:\Java\xml4j_2_0_15\xml4j.jar;D:\Java\Jdk1.2.2\lib\tools.jar;D:\Ja
va\jswdk-1.0.1\lib\servlet.jar;D:\Java\jswdk-1.0.1\examples\WEB-INF\jsp\bean
s'
COMPUTERNAME = `ALEKSANDER_M'
COMSPEC = `C:\WINNT\system32\cmd.exe'
CPP_LOCATION = `/Program Files/DevStudio/VC/bin/CL.EXE'
CVSROOT = `:local:x:\cvs_rep'
HOMEDRIVE = `Z:'
HOMEPATH = `\'
HOMESHARE = `\\net_pdc\_Aleksandar$'
HOSTNAME = `aleksander_m'
HOSTTYPE = `i586'
IDLGEN_CONFIG_FILE = `D:\Iona\config\idlgen.cfg'
INCLUDE = `D:\Program Files\Microsoft Visual
Studio\VC98\atl\include;D:\Program
Files\Microsoft Visual Studio\VC98\mfc\include;D:\Program Files\Microsoft
Visual
Studio\VC98\include'
IT_CONFIG_PATH = `D:\Iona\config'
IT_SSL_CONFIG_PATH = `D:\Iona\config'
JAVA_HOME = `D:\Java\Jdk1.2.2'
JAXPHOME = `D:\Program Files\JavaSoft\Jaxp1_0-ea1'
LIB = `D:\Program Files\Microsoft Visual Studio\VC98\mfc\lib;D:\Program
Files\Mi
crosoft Visual Studio\VC98\lib'
LOGONSERVER = `\\MAIL'
M4_HOME = `D:\Sterling\Tools'
MACHTYPE = `i586-pc-cygwin32'
MSDEVDIR = `D:\Program Files\Microsoft Visual Studio\Common\MSDev98'
NUMBER_OF_PROCESSORS = `1'
ORBIX_HOME = `D:\Iona'
OS2LIBPATH = `C:\WINNT\system32\os2\dll;'
OS = `Windows_NT'
OSTYPE = `cygwin32'
PATHEXT = `.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH'
PATH_BKUP =
`D:\Inprise\vbroker\bin;D:\Java\Jdk1.2.2\bin;C:\WINNT\system32;C:\WI
NNT;D:\Program
Files\xerces-c_1_0_0d01-win32\bin;D:\cvs;D:\PROGRA~1\Tcl\bin;D:\b
in;D:\cygnus\cygwin-b20\H-i586-cygwin32\bin;D:\Iona\bin;D:\Iona\contrib\Cygw
in;D
:\Java\idltojava-win32;d:\Java\rmi-iiop\bin;D:\Sterling\Tools\Bin;D:\Sterlin
g\FL
EXlm\bin;D:\Sterling\Tools\Sqlany55\Win32;D:\Sterling\OTDocTools\DOCIT\BIN;D
:\St
erling\OTDocTools\DOC\BIN;E:/Ace51/ACE_wrappers\bin;E:/Ace51/ACE_wrappers\bi
n\Re
lease'
PATH_TAO_NT =
`D:\Inprise\vbroker\bin;D:\Java\Jdk1.2.2\bin;C:\WINNT\system32;C:\
WINNT;D:\Program
Files\xerces-c_1_0_0d01-win32\bin;D:\cvs;D:\PROGRA~1\Tcl\bin;D:
\bin;D:\cygnus\cygwin-b20\H-i586-cygwin32\bin;D:\Iona\bin;D:\Iona\contrib\Cy
gwin
;D:\Java\idltojava-win32;d:\Java\rmi-iiop\bin;D:\Sterling\Tools\Bin;D:\Sterl
ing\
FLEXlm\bin;D:\Sterling\Tools\Sqlany55\Win32;D:\Sterling\OTDocTools\DOCIT\BIN
;D:\
Sterling\OTDocTools\DOC\BIN;D:\Tao\ACE_wrappers\bin;D:\Tao\ACE_wrappers\TAO\
orbs
vcs\orbsvcs;D:\Tao\ACE_wrappers\bin\Release'
PROCESSOR_ARCHITECTURE = `x86'
PROCESSOR_IDENTIFIER = `x86 Family 6 Model 7 Stepping 3, GenuineIntel'
PROCESSOR_LEVEL = `6'
PROCESSOR_REVISION = `0703'
PROMPT = `$P$G'
RMI_IIOP_HOME = `d:\Java\rmi-iiop'
SHELL = `/bin/sh.exe'
SHLVL = `1'
SQLANY = `D:\Sterling\Tools\Sqlany55'
SYSTEMDRIVE = `C:'
SYSTEMROOT = `C:\WINNT'
TAO_ROOT = `/e/Ace51/ACE_wrappers/TAO'
TEMP = `C:\TEMP'
TERM = `pcbios'
TMP = `C:\TEMP'
USERDOMAIN = `NETPOINT'
USERNAME = `aleksandar'
USERPROFILE = `C:\WINNT\Profiles\Aleksander'
WINDIR = `C:\WINNT'
WIND_BASE = `/d/Tornado'
WIND_HOST_TYPE = `x86-win32'
_ = `/d/cygnus/cygwin-b20/H-i586-cygwin32/bin/cygcheck'
HKEY_CURRENT_USER\Software\Cygnus Solutions
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\00
(default) = `E:'
unix = `/e'
fbinary = 0x00000000
fsilent = 0x00000000
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\01
(default) = `\\.\tape1:'
unix = `/dev/st1'
fbinary = 0x00000000
fsilent = 0x00000001
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\02
(default) = `\\.\tape0:'
unix = `/dev/st0'
fbinary = 0x00000000
fsilent = 0x00000001
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\03
(default) = `\\.\b:'
unix = `/dev/fd1'
fbinary = 0x00000000
fsilent = 0x00000001
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\04
(default) = `\\.\a:'
unix = `/dev/fd0'
fbinary = 0x00000000
fsilent = 0x00000001
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\05
(default) = `D:'
unix = `/d'
fbinary = 0x00000000
fsilent = 0x00000000
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\06
(default) = `C:'
unix = `/'
fbinary = 0x00000000
fsilent = 0x00000000
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin B20
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin B20\B20.1
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL
setup\b15.0\mounts\00
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL
setup\b15.0\mounts\01
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL
setup\b15.0\mounts\02
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL
setup\b15.0\mounts\03
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL
setup\b15.0\mounts\04
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL
setup\b15.0\mounts\05
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL
setup\b15.0\mounts\06
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL
setup\b15.0\mounts\07
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL
setup\b15.0\mounts\08
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL
setup\b15.0\mounts\09
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL
setup\b15.0\mounts\0A
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL
setup\b15.0\mounts\0B
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL
setup\b15.0\mounts\0C
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL
setup\b15.0\mounts\0D
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL
setup\b15.0\mounts\0E
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL
setup\b15.0\mounts\0F
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL
setup\b15.0\mounts\10
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL
setup\b15.0\mounts\11
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL
setup\b15.0\mounts\12
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL
setup\b15.0\mounts\13
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL
setup\b15.0\mounts\14
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL
setup\b15.0\mounts\15
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL
setup\b15.0\mounts\16
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL
setup\b15.0\mounts\17
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL
setup\b15.0\mounts\18
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL
setup\b15.0\mounts\19
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL
setup\b15.0\mounts\1A
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL
setup\b15.0\mounts\1B
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL
setup\b15.0\mounts\1C
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL
setup\b15.0\mounts\1D
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\GNUPro
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\GNUPro\i586-cygwin32
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus
Solutions\GNUPro\i586-cygwin32\i586-cygwin32
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus
Solutions\GNUPro\i586-cygwin32\i586-cygwin32\
cygwin-B20.1
(default) = `d:\cygnus\cygwin-b20'
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Cygnu
s Cy
gwin B20
(default) = `C:\WINNT\IsUninst.exe -fd:\cygnus\cygwin-b20\Uninst.isu'
DisplayName = `Cygwin B20'
a:\ fd N/A N/A
c:\ hd NTFS 2047Mb 66% CP CS UN PA FC
d:\ hd NTFS 5498Mb 59% CP CS UN PA FC
e:\ hd NTFS 5436Mb 84% CP CS UN PA FC
f:\ cd N/A N/A
t:\ net NTFS 57906Mb 54% CP CS UN PA FC
x:\ net NTFS 57906Mb 54% CP CS UN PA FC
z:\ net NTFS 57906Mb 54% CP CS UN PA FC
C: / native text!=binary
D: /d native text!=binary
\\.\a: /dev/fd0 native text!=binary
\\.\b: /dev/fd1 native text!=binary
\\.\tape0: /dev/st0 native text!=binary
\\.\tape1: /dev/st1 native text!=binary
E: /e native text!=binary
Found: D:\cygnus\cygwin-b20\H-i586-cygwin32\bin\bash.exe
Found: D:\cygnus\cygwin-b20\H-i586-cygwin32\bin\cat.exe
Found: D:\Tornado\host\x86-win32\bin\cat.exe
Warning: D:\cygnus\cygwin-b20\H-i586-cygwin32\bin\cat.exe hides
D:\Tornado\host\
x86-win32\bin\cat.exe
Found:
D:\Tornado\host\x86-win32\lib\gcc-lib\powerpc-wrs-vxworks\cygnus-2.7.2-96
0126\cpp.exe
Found: D:\cygnus\cygwin-b20\H-i586-cygwin32\bin\find.exe
Found: D:\cygnus\cygwin-b20\H-i586-cygwin32\bin\gcc.exe
Found: D:\Tornado\host\x86-win32\powerpc-wrs-vxworks\bin\gcc.exe
Warning: D:\cygnus\cygwin-b20\H-i586-cygwin32\bin\gcc.exe hides
D:\Tornado\host\
x86-win32\powerpc-wrs-vxworks\bin\gcc.exe
Found: D:\cygnus\cygwin-b20\H-i586-cygwin32\bin\gdb.exe
Found: D:\cygnus\cygwin-b20\H-i586-cygwin32\bin\ld.exe
Found:
D:\Tornado\host\x86-win32\lib\gcc-lib\powerpc-wrs-vxworks\cygnus-2.7.2-96
0126\ld.exe
Warning: D:\cygnus\cygwin-b20\H-i586-cygwin32\bin\ld.exe hides
D:\Tornado\host\x
86-win32\lib\gcc-lib\powerpc-wrs-vxworks\cygnus-2.7.2-960126\ld.exe
Found: D:\Tornado\host\x86-win32\powerpc-wrs-vxworks\bin\ld.exe
Warning: D:\cygnus\cygwin-b20\H-i586-cygwin32\bin\ld.exe hides
D:\Tornado\host\x
86-win32\powerpc-wrs-vxworks\bin\ld.exe
Found: D:\cygnus\cygwin-b20\H-i586-cygwin32\bin\ls.exe
Found: D:\cygnus\cygwin-b20\H-i586-cygwin32\bin\make.exe
Found: D:\Tornado\host\x86-win32\bin\make.exe
Warning: D:\cygnus\cygwin-b20\H-i586-cygwin32\bin\make.exe hides
D:\Tornado\host
\x86-win32\bin\make.exe
Found: D:\cygnus\cygwin-b20\H-i586-cygwin32\bin\sh.exe
Found: C:\bin\sh.exe
Warning: D:\cygnus\cygwin-b20\H-i586-cygwin32\bin\sh.exe hides C:\bin\sh.exe
371k 1998/12/01 D:\cygnus\cygwin-b20\H-i586-cygwin32\bin\cygtcl80.dll -
os=4.0
img=1.0 sys=4.0
"cygtcl80.dll" v0.0 ts=1998/12/1 3:25
5k 1998/12/01 D:\cygnus\cygwin-b20\H-i586-cygwin32\bin\cygtclpip80.dll -
os=
4.0 img=1.0 sys=4.0
10k 1998/12/01 D:\cygnus\cygwin-b20\H-i586-cygwin32\bin\cygtclreg80.dll -
os=
4.0 img=1.0 sys=4.0
"cygtclreg80.dll" v0.0 ts=1998/12/1 3:25
600k 1998/12/01 D:\cygnus\cygwin-b20\H-i586-cygwin32\bin\cygtk80.dll -
os=4.0
img=1.0 sys=4.0
"cygtk80.dll" v0.0 ts=1998/12/1 3:28
446k 1998/12/04 D:\cygnus\cygwin-b20\H-i586-cygwin32\bin\cygwin1.dll -
os=4.0
img=1.0 sys=4.0
"cygwin1.dll" v0.0 ts=1998/12/3 23:39
386k 1998/06/17 D:\Tornado\host\x86-win32\bin\cygwinb19.dll - os=4.0
img=1.0 s
ys=4.0
"cygwinb19.dll" v0.0 ts=1998/2/25 5:22
446k 1998/12/04 C:\bin\cygwin1.dll - os=4.0 img=1.0 sys=4.0
"cygwin1.dll" v0.0 ts=1998/12/3 23:39
Use -h to see help about each section
bash-2.02$
Output of cygcheck make:
===================
bash-2.02$ cygcheck make
Found: D:\cygnus\cygwin-b20\H-i586-cygwin32\bin\make.exe
Found: D:\Tornado\host\x86-win32\bin\make.exe
D:\cygnus\cygwin-b20\H-i586-cygwin32\bin\make.exe
D:\cygnus\cygwin-b20\H-i586-cygwin32\bin\cygwin1.dll
C:\WINNT\System32\advapi32.dll
C:\WINNT\System32\ntdll.dll
C:\WINNT\System32\KERNEL32.dll
C:\WINNT\System32\USER32.dll
C:\WINNT\System32\GDI32.dll
C:\WINNT\System32\RPCRT4.dll
Use -h to see help about each section
bash-2.02$
Regards,
Aleksandar
<<rules.lib.GNU>>
------_=_NextPart_000_01BF990B.B9E44300
Content-Type: application/octet-stream;
name="rules.lib.GNU"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;
filename="rules.lib.GNU"
#-----------------------------------------------------------------------=
-----
# rules.lib.GNU,v 4.25 1999/10/19 05:29:56 nanbor Exp
#
# Build libraries (i.e., contain no binary executables)
# GNU version
# Requires GNU make
#-----------------------------------------------------------------------=
-----
#-----------------------------------------------------------------------=
-----
# The following targets arrange to build both unshared and shared =
libraries
#-----------------------------------------------------------------------=
-----
VSHLIB =3D $(SHLIB:%.$(SOEXT)=3D%$(VAR).$(SOEXT))
ifdef SHLIBA
VSHLIBA =3D $(SHLIBA:%.$(LIBEXT)=3D%$(VAR).$(LIBEXT))
endif
VLOBJS =3D $(subst .cpp,.$(OBJEXT),$(foreach =
file,$(LSRC),$(VDIR)$(notdir $(file))))
LSRC +=3D $(LSRC2)
ifdef PRELIB
ifdef PRELIB_USES_OBJ_ONLY
VSHOBJS =3D $(subst .cpp,.$(OBJEXT),$(foreach =
file,$(LSRC),$(VSHDIR)$(notdir $(file))))
else # ! PRELIB_USES_OBJ_ONLY
VSHOBJS =3D $(subst .cpp,.$(OBJEXT),$(foreach =
file,$(LSRC),$(VSHDIR)$(notdir $(file))))
endif # ! PRELIB_USES_OBJ_ONLY
VSHOBJS1 =3D $(VSHOBJS)
else # ! PRELIB
VSHOBJS =3D $(subst .cpp,.$(OBJEXT),$(foreach =
file,$(LSRC),$(VSHDIR)$(notdir $(file))))
VSHOBJS1 =3D \
$(subst .cpp,.$(OBJEXT),$(foreach file,$(LSRC),$(VSHDIR)$(notdir =
$(file))))
endif # ! PRELIB
# Comment out for now...
# $(DEFS:%=3D$(INSINC)/%) \
ifdef static_libs
INSTALL +=3D $(VLIB:%.$(LIBEXT)=3D$(INSLIB)/%.$(LIBEXT))
endif # static_libs
ifdef shared_libs
INSTALL +=3D \
=
$(VSHLIB:%.$(SOEXT)=3D$(INSLIB)/%.$(SOEXT)$(ACE_LDSO_Version_Number))
ifdef SHLIBA
INSTALL +=3D $(VSHLIBA:%=3D$(INSLIB)/%)
endif
endif # shared_libs
ifdef PRELIB
# Unfortunately, gcc has to do a link of all of the objects (during =
which
# it may decide to recompile some of the objects), before we can safely =
build
# any libraries or shared objects. Comment this line if no shared
# libraries or objects are used.
#
# I have no idea why this dependency has any effect similar to what is
# described above, so I will comment it out. This eliminates the VERY
# annoying messages from make such as:
# make: Circular .shobj/interp.so <- libcorba.so dependency dropped.
#$(VSHOBJS): $(VSHLIB)
endif
# Comment these lines out if you want to build both *.a and *.so =
libraries...
#$(VSHLIB): $(VSHOBJS)
#ifdef PRELIB
# $(PRELIB)
#endif
# $(SOLINK.cc) $(SO_OUTPUT_FLAG) $@ $(LDFLAGS) $(VSHDIR)*.$(OBJEXT)
# Uncomment the remaining lines if you want to build both *.a and *.so =
libraries...
VLIB =3D $(LIB:%.$(LIBEXT)=3D%$(VAR).$(LIBEXT))
$(VLIB): $(VLOBJS)
ifeq (1,$(repo))
ifneq (,$(ACELIB))
#### With repo, link in all of the ace object files to the lib.
#### This avoids multiple instantiations. We haven't found it to
#### be necessary with shared libs, so just do it for static libs.
vpath %.$(OBJEXT) $(ACE_ROOT)/ace/$(VDIR)
$(VLIB): $(ACE_ROOT)/ace/$(VDIR)*.$(OBJEXT)
endif # ! ACELIB
endif # repo
ifdef PRELIB
$(PRELIB)
endif
ifeq (1,$(ace_lib_prelink))
#### Attempt a link (which will fail), to add template =
instantiations
#### to lib files, for example.
-$(LINK.cc) $(LINK_OUTPUT_FLAG) ace-templ_inst $? $(LDFLAGS) =
$(ACE_NUL_STDERR)
endif # ace_lib_prelink
$(AR) $(ARFLAGS) $@ $?
ifdef TEMPINCDIR
# This is required to get AIX xlC to instantiate and compile the needed
# templates.
if test -s ./$(TEMPINCDIR)/*.C; \
then \
$(LINK.cc) $(LINK_OUTPUT_FLAG) dummy $(LDFLAGS) =
$(ACE_ROOT)/etc/xlc_dummy.cpp $^ $(ACE_SHLIBS) $(LIBS); \
$(RM) dummy; \
$(AR) $(ARFLAGS) $@ tempinc/*.$(OBJEXT); \
fi
endif
-chmod a+r $@
ifneq (,$(RANLIB))
-$(RANLIB) $@
endif # RANLIB
# Note that if you don't want to build shared libraries, just remove =
the $(VSHOBJS)
ifdef SHLIBBUILD
$(VSHLIB): $(VSHOBJS)
else
$(VSHLIB): $(VSHOBJS1)
endif
ifdef PRELIB
$(PRELIB)
endif
ifdef TEMPINCDIR
# This is required to get AIX xlC to instantiate and compile the needed
# templates before building the library.
if test -s ./$(TEMPINCDIR)/*.C; \
then \
$(LINK.cc) $(LINK_OUTPUT_FLAG) dummy $(LDFLAGS) =
$(ACE_ROOT)/etc/xlc_dummy.cpp $^ $(ACE_SHLIBS) $(LIBS); \
$(RM) dummy; \
fi
endif
ifdef SHLIBBUILD
$(SHLIBBUILD)
else
ifdef TEMPINCDIR
if test -s ./$(TEMPINCDIR)/*.$(OBJEXT); \
then \
$(SOLINK.cc) $(SO_OUTPUT_FLAG) $@ $(VSHOBJS1) =
$(TEMPINCDIR)/*.$(OBJEXT) $(LDFLAGS) $(ACE_SHLIBS) $(LIBS); \
else \
$(SOLINK.cc) $(SO_OUTPUT_FLAG) $@ $(VSHOBJS1) $(LDFLAGS) =
$(ACE_SHLIBS) $(LIBS); \
fi
else
ifeq (1,$(ace_lib_prelink))
#### Attempt a link (which will fail), to add template =
instantiations
#### to lib files, for example.
-$(LINK.cc) $(LINK_OUTPUT_FLAG) ace-templ_inst $(VSHOBJS1) $(LDFLAGS) =
$(ACE_NUL_STDERR)
endif # ace_lib_prelink
$(SOLINK.cc) $(SO_OUTPUT_FLAG) $@ $(VSHOBJS1) $(LDFLAGS) $(ACE_SHLIBS) =
$(LIBS)
endif
-chmod a+rx $@
endif
ifdef SHLIBA
$(SHLIBA): $(VSHLIB)
$(AR) $(ARFLAGS) $@ $?
-chmod a+rx $@
ifneq (,$(RANLIB))
-$(RANLIB) $@
endif # RANLIB
endif
------_=_NextPart_000_01BF990B.B9E44300
Content-Type: text/plain; charset=us-ascii
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com
------_=_NextPart_000_01BF990B.B9E44300--
- Raw text -