Closed GoogleCodeExporter closed 9 years ago
There must be some way of fixing this.
The aim is to build a static library: listesseract_api.a that has everything in
it
except tesseractmain.o, so you can link to it to use tesseract.
The only way I found to do it was:
ld -r -o libtesseract_api.o baseapi.o ... lots of tesseract libraries
ar cru libtesseract_api.a libtesseract_api.o
ranlib libtesseract_api.a
This doesn't work if ld is invoked using $(CC) or $(CXX) -Xlinker -r, as it
tries to
link in the start module and produce a valid executable.
There is no $(LD), so what to do?
Any comments from autoconf/cgg command-line experts welcome.
Original comment by theraysm...@gmail.com
on 20 May 2010 at 5:40
I added libtool support today, which may make this a little easier; it's been a
while
since I cross-compiled anything, but AFAIR just using libtool is usually enough.
Original comment by joregan
on 26 May 2010 at 11:25
If libtool support did not fixed this, please create new issue against current
code
Original comment by zde...@gmail.com
on 21 Jul 2012 at 4:42
Original issue reported on code.google.com by
ben.hay...@gmail.com
on 12 Nov 2009 at 10:26