Displaying 20 results from an estimated 20 matches for "bcdrt".
2001 Dec 12
1
RE: [R] Rcmd SHLIB problem
...SHLIB as Uwe suggested worked:
C:\TEMP>Rcmd SHLIB tryf.f
make[1]: `libR.a' is up to date.
rm -f -f tryf.a
ar cr tryf.a *.o
ranlib tryf.a
------- Building tryf.dll from tryf.a --------
echo LIBRARY tryf > tryf.def
echo EXPORTS >> tryf.def
nm tryf.a > Defs
sed -n '/^........ [BCDRT] _/s/^........ [BCDRT] _/ /p' Defs >> tryf.def
rm -f Defs
gcc --shared -s -o tryf.dll tryf.def tryf.a -Lc:/progra~1/R/rw1031/src/
gnuwin32 -lg2c -Lc:/Rtools/ATLAS/lib/WinNT_PIIISSE1 -lcblas -lf77blas
-latlas -lR
Thanks very much for the (temporary) solution. The question is, could t...
2001 Oct 18
3
Rcmd SHLIB in rw1031 (R for Win)
...inux.
I do:
E:\rw1031\bin>Rcmd SHLIB e:/Rseg/test.c
make[1]: `libR.a' is up to date.
------- Building e:/Rseg/test.dll from e:/Rseg/test.a --------
echo LIBRARY e:/Rseg/test > e:/Rseg/test.def
echo EXPORTS >> e:/Rseg/test.def
nm e:/Rseg/test.a > Defs
sed -n '/^........ [BCDRT] _/s/^........ [BCDRT] _/ /p' Defs >>
e:/Rseg/test.def
rm -f Defs
gcc --shared -s -o e:/Rseg/test.dll e:/Rseg/test.def e:/Rseg/test.a
-LE:/RW10
31/src/gnuwin32 -lg2c -lR
E:\rw1031\bin>Rcmd SHLIB e:/Rseg/test.c
dlltool -k --as as --dllname R.dll --def R.exp --output-lib libR.a
gc...
2001 Mar 26
2
Need some help for building R!
...nuwin32/math'
------- Building R.dll from R.a malloc.o libmain.a libappl.a libmath.a
ga.a gl.a xdr.a em.a dllversion.o --------
echo LIBRARY R > R.def
echo EXPORTS >> R.def
nm R.a malloc.o libmain.a libappl.a libmath.a ga.a gl.a xdr.a em.a
dllversion.o > Defs
sed -n '/^........ [BCDRT] _/s/^........ [BCDRT] _/ /p' Defs >> R.def
rm -f Defs
gcc --shared -s -mwindows -o R.dll R.def R.a malloc.o libmain.a
libappl.a libmath.a ga.a gl.a xdr.a em.a dllversion.o -L. -lg2c
-lwsock32 -lcomctl32 -lversion
-------------------------------------------------------------------------...
2001 Mar 26
2
Need some help for building R!
...nuwin32/math'
------- Building R.dll from R.a malloc.o libmain.a libappl.a libmath.a
ga.a gl.a xdr.a em.a dllversion.o --------
echo LIBRARY R > R.def
echo EXPORTS >> R.def
nm R.a malloc.o libmain.a libappl.a libmath.a ga.a gl.a xdr.a em.a
dllversion.o > Defs
sed -n '/^........ [BCDRT] _/s/^........ [BCDRT] _/ /p' Defs >> R.def
rm -f Defs
gcc --shared -s -mwindows -o R.dll R.def R.a malloc.o libmain.a
libappl.a libmath.a ga.a gl.a xdr.a em.a dllversion.o -L. -lg2c
-lwsock32 -lcomctl32 -lversion
-------------------------------------------------------------------------...
1999 Jul 26
0
ESRI Shapefile reader (help with dlls)
...d table
> is.loaded(symbol.C("SHPOpen"))
[1] FALSE
>
Am I doing something wrong when building the dll? here are the steps I used
gcc -mno-cygwin -O2 -c Sshpopen.c
echo LIBRARY Sshpopen > Sshpopen.def
echo EXPORTS >> Sshpopen.def
nm Sshpopen.o | \
sed -n "/^........ [BCDRT] _/s/^........ [BCDRT] _/ /p" \
>> Sshpopen.def
gcc -mno-cygwin -mdll -Wl,--base-file,Sshpopen.b \
-o Sshpopen.dll Sshpopen.o
dlltool -k -D Sshpopen.dll -b Sshpopen.b -e Sshpopen.e -d Sshpopen.def
gcc -mno-cygwin -mdll -Wl,--base-file,Sshpopen.b \
-o Sshpopen.dll Sshpopen.e Sshpopen.o
dl...
2001 Dec 12
0
RE: [R] Rcmd SHLIB problem
...39; is up to date.
> > rm -f -f tryf.a
> > ar cr tryf.a *.o
> > ranlib tryf.a
> > ------- Building tryf.dll from tryf.a --------
> > echo LIBRARY tryf > tryf.def
> > echo EXPORTS >> tryf.def
> > nm tryf.a > Defs
> > sed -n '/^........ [BCDRT] _/s/^........ [BCDRT] _/ /p'
> Defs >> tryf.def
> > rm -f Defs
> > gcc --shared -s -o tryf.dll tryf.def tryf.a
> -Lc:/progra~1/R/rw1031/src/
> > gnuwin32 -lg2c -Lc:/Rtools/ATLAS/lib/WinNT_PIIISSE1
> -lcblas -lf77blas
> > -latlas -lR
> >
>...
2002 Apr 30
1
makefile for standalone lib
It appears the Makefile.win in
src/nmath/standalone might need some modification since
cd src/nmath/gnuwin32
make -f Makefile.win
make -f Makefile.win test
fails. However if I remove libRmath.a from line 15
OR
modify lines 67/68 replacing Rmath.a with libRmath.a then
make -f Makefile.win test
goes as expected.
_________________________________________________________________
2006 Oct 09
1
Problem building a DLL from Fortran 90 source under Windows (with solution)
...g the output from R CMD SHLIB the following message appeared:
c:\mingw\bin\nm.exe: 'a.out': No such file
The reason is the empty list of dependencies in the pattern rule for
DLLs contained in the file MkRules:
%.dll:
@$(ECHO) EXPORTS > $*.def
@$(NM) $^ | $(SED) -n 's/^........ [BCDRT] _/ /p' >> $*.def
The dependencies list is constructed in the MakeDll file that contains
the following:
CFSOURCES=$(wildcard -f *.c *.f *.f90 *.f95)
CSOURCES=$(wildcard -f *.c)
CXXSOURCES=$(wildcard -f *.cc *.cpp *.C)
FSOURCES=$(wildcard -f *.f)
FCSOURCES=$(wildcard -f *.f90 *.f95)
OBJS...
2000 Apr 03
0
Building acepack for Rw1000 under Win98
...f:147: warning: `is2' might be used uninitialized in this function
rm -f -f acepack.a
ar cr acepack.a *.o
ranlib acepack.a
------- Building acepack.dll from acepack.a --------
echo LIBRARY acepack > acepack.def
echo EXPORTS >> acepack.def
nm acepack.a > Defs
sed -n "/^........ [BCDRT] _/s/^........ [BCDRT] _/ /p" Defs >> acepack.def
gcc -mno-cygwin -mdll -Wl,--base-file,acepack.b -s -o acepack.dll
acepack.a -
L/R/rw1000/src/gnuwin32 -L/cygwin-b20/lib -lg2c -lR
/R/TOOLS/ld: cannot open dllcrt1.o: No such file or directory
collect2: ld returned 1 exit status
MAKE.EX...
2002 May 30
1
problem of compile fortran program
I want to call dll from R but encounter problem in compiling the fortran
program.
First I try "Rcmd shlib prog.f", it failed and warning:
make[1]: `libR.a' is up to date.
make: *** No rule to make target `'prog.o', needed by `prog.a'. stop.
Then I try to compile it by absoft fortran compiler, it works and produces
prog.dll.
But when this routine is called in R, it
2001 Feb 23
0
cross building
...is up to date.
i386-mingw32msvc-windres --include-dir /a3/jyan/src/R-1.2.1/src/include
-i gee_res.rc -o gee_res.o
------- Building gee.dll from gee.a gee_res.o --------
echo LIBRARY gee > gee.def
echo EXPORTS >> gee.def
i386-mingw32msvc-nm gee.a gee_res.o > Defs
sed -n '/^........ [BCDRT] _/s/^........ [BCDRT] _/ /p' Defs >> gee.def
rm -f Defs
i386-mingw32msvc-gcc --shared -s -o gee.dll gee.def gee.a gee_res.o
-L/a3/jyan/src/R-1.2.1/src/gnuwin32 -lg2c -lR
make[2]: Leaving directory `/a3/jyan/gee/src'
mkdir -p /home/jyan/Rwinlibs/gee/libs
cp src/gee.dll /home/jyan...
2001 Nov 23
1
zip error, missing file
4. Noticed this error go by in the r-devel build in Windows 95:
F:/R/TOOLS/BIN/MAKE.EXE -C ./help RHOME=F:/R/R-devel
PKGDIR=F:/R/R-devel/src/lib
rary RLIB=F:/R/R-devel/library ziponlyhelp-base
MAKE.EXE[2]: Entering directory `F:/R/R-devel/src/gnuwin32/help'
zip -jqmX help/Rhelp help/* -x help/AnIndex 2> nul
MAKE.EXE[3]: [zipup] Error 12 (ignored)
My guess is that it's a problem with
2001 Dec 11
2
Rcmd SHLIB problem
Dear R-help,
I'm having problem creating a dll using Rcmd SHLIB with R-1.3.1 on WinNT4:
C:\TEMP>Rcmd SHLIB tryf.o
make[1]: `libR.a' is up to date.
make: *** No rule to make target `'tryf.o', needed by `tryf.a'. Stop.
C:\TEMP>Rcmd SHLIB tryf.f
make[1]: `libR.a' is up to date.
make: *** No rule to make target `'tryf.o', needed by `tryf.a'. Stop.
I
2001 Dec 11
2
Rcmd SHLIB problem
Dear R-help,
I'm having problem creating a dll using Rcmd SHLIB with R-1.3.1 on WinNT4:
C:\TEMP>Rcmd SHLIB tryf.o
make[1]: `libR.a' is up to date.
make: *** No rule to make target `'tryf.o', needed by `tryf.a'. Stop.
C:\TEMP>Rcmd SHLIB tryf.f
make[1]: `libR.a' is up to date.
make: *** No rule to make target `'tryf.o', needed by `tryf.a'. Stop.
I
1998 Sep 18
1
R-beta: undefined reference to `realpr_' ?
...uild multiv. Following error (no mention in
faq etc, but someone may have mentioned it recently). Appreciate any
help.
------- Building multiv.dll from multiv.a --------
echo LIBRARY multiv > multiv.def
echo EXPORTS >> multiv.def
nm multiv.a | sed -n "/^........ [DT] _/s/^........ [BCDRT] _/ /p" >>
multiv.def
gcc -mdll -Wl,--base-file,multiv.b -s -o multiv.dll multiv.a -
L../../../
gnuwin32 -lR -lf2c
dlltool -k --as as --dllname multiv.dll --base-file multiv.b --
output-exp mul
tiv.e --def multiv.def
gcc -mdll -Wl,--base-file,multiv.b -s -o multiv.dll...
1998 Jun 06
1
R-beta: makefile command line for recreating dynload demo dll
Hi,
I have gnuwin32 (b18) and the rw0613b.zip version of R.
With regards to (re)making the dynload dll demo given (zero.dll) could
anyone tell me what the command line for the makefile should be.
ie,
make -f Makefile.in ...?
Thanks for any help
--
Douglas
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read
2000 Apr 26
2
Cross compiling a package for Windows on Linux
...el \
-f /usr/src/r-devel/src/gnuwin32/MakeDll DLLNAME=nls
make[2]: Entering directory `/usr/src/r-devel/src/library/nls/src'
------- Building nls.dll from nls.a --------
echo LIBRARY nls > nls.def
echo EXPORTS >> nls.def
i386-mingw32-nm nls.a > Defs
sed -n "/^........ [BCDRT] _/s/^........ [BCDRT] _/ /p" Defs >> nls.def
i386-mingw32-gcc -mdll -Wl,--base-file,nls.b -s -o nls.dll nls.a -L/usr/src/r-devel/src/gnuwin32 -lR
i386-mingw32-dlltool -k --as i386-mingw32-as --dllname nls.dll --base-file nls.b --output-exp nls.e --def nls.def
i386-mingw32-g...
2023 Aug 31
1
Problems with installing R packages from source and running C++ in R, even on fresh R installation
? Thu, 31 Aug 2023 11:57:06 +0000
Christophe Bousquet <chr_bousquet at protonmail.com> ?????:
> > tools::Rcmd('SHLIB -n hello.c')
> > tools::Rcmd('SHLIB hello.c')
> >
> > What do the commands print? Does the second command fail?
>
> I basically get no output from the two commands, apart from a new
> blank R prompt.
So starting a new
2023 Aug 31
1
Problems with installing R packages from source and running C++ in R, even on fresh R installation
...gcc -o hello.dll hello-win.def hello.o -L"C:/rtools43/x86_64-w64-mingw32.static.posix/lib/x64" -L"C:/rtools43/x86_64-w64-mingw32.static.posix/lib" -L"C:/PROGRA~1/R/R-43~1.1/bin/x64" -lR ; \
else \
echo EXPORTS > tmp.def; \
nm hello.o | sed -n 's/^.* [BCDRT] / /p' | sed -e '/[.]refptr[.]/d' -e '/[.]weak[.]/d' | sed 's/[^ ][^ ]*/"&"/g' >> tmp.def; \
echo gcc -shared -s -static-libgcc -o hello.dll tmp.def hello.o -L"C:/rtools43/x86_64-w64-mingw32.static.posix/lib/x64" -L"C:/rtools43/x...
2018 Feb 09
1
R Compilation gets stuck on Windows 64
Please note that building R on Windows is documented in "R Installation
and Administration", including links to external software. Particularly
there is a link to texinfo which is part of Rtools. The documentation is
maintained and it is a sufficient source of information for building R
on Windows.
https://cran.r-project.org/doc/manuals/r-release/R-admin.html