I have Paul Smedley's building environment in place (which still uses
gcc335)
After sh configure and make, the attempt stops with following error:
echo "LIBRARY charset INITINSTANCE" > .libs/charset.def
echo "DESCRIPTION \"charset\"" >> .libs/charset.def
echo DATA >> .libs/charset.def
echo " SINGLE NONSHARED" >> .libs/charset.def
echo EXPORTS >> .libs/charset.def
emxexp .libs/libcharset.la-2.o >> .libs/charset.def
gcc -Zdll -Zcrtdll -o .libs/charset.dll .libs/libcharset.la-2.o
-mcpu=pentium3
.libs/charset.def
rm -f .libs/libcharset.la-1.o .libs/libcharset.la-2.o
(cd .libs && rm -f charset.a && ln -s charset.dll charset.a)
using piecewise archive linking...
ar.exe cru .libs/charset.a localcharset.o
ar.exe: .libs/charset.a: File format not recognized
make.exe[2]: *** [libcharset.la] Error 1
make.exe[2]: Leaving directory `U:/libiconv-1.12/libcharset/lib'
make.exe[1]: *** [all] Error 2
make.exe[1]: Leaving directory `U:/libiconv-1.12/libcharset'
make: *** [lib/localcharset.h] Error 2
What is going wrong here?
thanks
Piersante
It's because 'ln' links 'charset.dll' to 'charset.a', but ar.exe does
not know about '.dll'.
You should use libtoolize from OS/2 port of libtool.
And overwrite libtool.m4 from OS/2 port of libtool to iconv one.
Finally, you should rerun auto-tools.
--
KO Myung-Hun
Using Mozilla SeaMonkey 1.1.14
Under OS/2 Warp 4 for Korean with FixPak #15
On AMD ThunderBird 1 GHz with 512 MB RAM
Korean OS/2 User Community : http://www.ecomstation.co.kr
Lars
"piesse" <pie...@despammed.com> schrieb im Newsbeitrag
news:73e2maF...@mid.individual.net...
??? My compile is on Hobbes (EMX). Another is used by Froloff's ports.
(The names of the DLLs confict! Do not forget to choose
compiler-specific name for such widely used DLLs...)
Hope this helps,
Ilya
I did find a "Companion library ICONV.DLL to iconv2- 0_2_1-bin.zip", but
the latter executable doesn't seem to be there
thanks
Piersante
Googling groups `iconv2' finds a reference to Unix-os2.
Anyway, as this reference reminds us, what you found is obsolete.
There is iconv0.2.1a.zip.
Hope this helps,
Ilya
I think that Piesse is thinking of gnu libiconv of which there are ports
floating around but all the sites I checked are now defunct. 1.8.1 and
newer included makefiles etc for EMX.
Dave
Per another post of today:
http://ebisa.hp.infoseek.co.jp/os2/index.htm#git
Hope this helps,
Ilya
You beat me to it :) Sadly I notice that the unixos2.org site is no more
as well as a couple of other sites that I expected to find ports of gnu
libiconv.
Dave
Hi,
>You beat me to it :) Sadly I notice that the unixos2.org site is no more
>as well as a couple of other sites that I expected to find ports of gnu
>libiconv.
Try
Steven
--
--------------------------------------------------------------------------------------------
Steven Levine <ste...@earthlink.bogus.net>
eCS/Warp/DIY etc. www.scoug.com www.ecomstation.com
--------------------------------------------------------------------------------------------
Ah, seems my bookmark was broken or both the .org and .com were
registered and now just the .com is. Anyways thanks, I'll update my
bookmarks
Dave