Re: [opensc-devel] cross build system ( does opensc (svn version) work for you?)

2009-01-26 Thread Martin Paljak
On 26.01.2009, at 14:49, Alon Bar-Lev wrote: > If you want to copy it to /usr/local/ using a package manager or > whatever you can do this as well if you set the right value of > OPENSC_TARGET_ROOT. > Basically after you set the OPENSC_TARGET_ROOT you need to deliver the > software to destination

Re: [opensc-devel] cross build system ( does opensc (svn version) work for you?)

2009-01-26 Thread Alon Bar-Lev
On 1/26/09, Ludovic Rousseau wrote: > > What are your supposed to do with the image? > How are you supposed to _install_ the software? On Windows you can provide installer with these files. For now I just provide archive. On Linux if you compile uclibc for initramfs you can just copy the result

Re: [opensc-devel] cross build system ( does opensc (svn version) work for you?)

2009-01-26 Thread Ludovic Rousseau
2009/1/26 Alon Bar-Lev : > Jean-Pierre, if you like you can use this, I am sure it almost ready. > The above issue is caused by the root location. > > If you set OPENSC_TARGET_ROOT to something sensible then it should work. > Executing directly from the image will probably require > OPENSC_TARGET_R

Re: [opensc-devel] cross build system ( does opensc (svn version) work for you?)

2009-01-26 Thread Alon Bar-Lev
On 1/26/09, Ludovic Rousseau wrote: > I do not want to invest more time in this build script since I do not > use OpenSC on Mac OS X. OK. > trunk/image/opensc/bin$ ./opensc-tool > dyld: Library not loaded: //lib/libopensc.2.dylib > Referenced from: > > /Users/lroussea/Documents/sc/OpenSC

Re: [opensc-devel] cross build system ( does opensc (svn version) work for you?)

2009-01-26 Thread Ludovic Rousseau
2009/1/25 Alon Bar-Lev : > On 1/24/09, Ludovic Rousseau wrote: >> > So everything is working accept this? >> No idea. I don't know how to test the compiled binaries. > > Oh... It should be working opensc, no? Is there a major difference > between darwin and other unixes? The binaries are install

Re: [opensc-devel] cross build system ( does opensc (svn version) work for you?)

2009-01-24 Thread Alon Bar-Lev
On 1/24/09, Ludovic Rousseau wrote: > > So everything is working accept this? > No idea. I don't know how to test the compiled binaries. Oh... It should be working opensc, no? Is there a major difference between darwin and other unixes? Alon ___ opens

Re: [opensc-devel] cross build system ( does opensc (svn version) work for you?)

2009-01-24 Thread Ludovic Rousseau
2009/1/24 Alon Bar-Lev : > On 1/24/09, Ludovic Rousseau wrote: >> 2009/1/24 Alon Bar-Lev : >> >> > Please try now. >> >> Build of OpenSSL fails if I use MAKEFLAGS=-j3 >> It is OK with no MAKEFLAGS. >> OpenSSL does not like parallel build? > > True. > You need to use MAKEOPTS="-j3" and I don't u

Re: [opensc-devel] cross build system ( does opensc (svn version) work for you?)

2009-01-24 Thread Alon Bar-Lev
On 1/24/09, Ludovic Rousseau wrote: > 2009/1/24 Alon Bar-Lev : > > > Please try now. > > Build of OpenSSL fails if I use MAKEFLAGS=-j3 > It is OK with no MAKEFLAGS. > OpenSSL does not like parallel build? True. You need to use MAKEOPTS="-j3" and I don't use it at OpenSSL build. So everything i

Re: [opensc-devel] cross build system ( does opensc (svn version) work for you?)

2009-01-24 Thread Ludovic Rousseau
2009/1/24 Alon Bar-Lev : > Please try now. Build of OpenSSL fails if I use MAKEFLAGS=-j3 It is OK with no MAKEFLAGS. OpenSSL does not like parallel build? [...] cc -I.. -I../.. -I../asn1 -I../evp -I../../include -fPIC -fno-common -DOPENSSL_PIC -DZLIB_SHARED -DZLIB -DOPENSSL_THREADS -D_REENTRANT -

Re: [opensc-devel] cross build system ( does opensc (svn version) work for you?)

2009-01-24 Thread Jean-Pierre Szikora
Alon Bar-Lev wrote: > On 1/24/09, Martin Paljak wrote: >> On 24.01.2009, at 8:12, Alon Bar-Lev wrote: >> >>> BTW: You should check if you need to include iconv in this environment >>> as well... I remember martin had to add it. >>> >> iconv, as well as OpenSSL are provided by OS X, so unless the

Re: [opensc-devel] cross build system ( does opensc (svn version) work for you?)

2009-01-24 Thread Alon Bar-Lev
On 1/24/09, Ludovic Rousseau wrote: > 2009/1/24 Alon Bar-Lev : > > > Now I understand what you mean. > > The translation script between the CHOST and openssl host does not > > support darwin. > > > > Can you please tell me how to map gcc -dumpmachine output to: > > darwin-i386-cc darwin-ppc-c

Re: [opensc-devel] cross build system ( does opensc (svn version) work for you?)

2009-01-24 Thread Ludovic Rousseau
2009/1/24 Alon Bar-Lev : > Now I understand what you mean. > The translation script between the CHOST and openssl host does not > support darwin. > > Can you please tell me how to map gcc -dumpmachine output to: > darwin-i386-cc darwin-ppc-cc darwin64-ppc-cc darwin64-x86_64-cc > > Just send me a sa

Re: [opensc-devel] cross build system ( does opensc (svn version) work for you?)

2009-01-24 Thread Alon Bar-Lev
On 1/24/09, Martin Paljak wrote: > > On 24.01.2009, at 8:12, Alon Bar-Lev wrote: > > > BTW: You should check if you need to include iconv in this environment > > as well... I remember martin had to add it. > > > iconv, as well as OpenSSL are provided by OS X, so unless there is a real > problem

Re: [opensc-devel] cross build system ( does opensc (svn version) work for you?)

2009-01-24 Thread Martin Paljak
On 24.01.2009, at 8:12, Alon Bar-Lev wrote: > BTW: You should check if you need to include iconv in this environment > as well... I remember martin had to add it. iconv, as well as OpenSSL are provided by OS X, so unless there is a real problem with the system versions, those should not be provi

Re: [opensc-devel] cross build system ( does opensc (svn version) work for you?)

2009-01-24 Thread Alon Bar-Lev
Now I understand what you mean. The translation script between the CHOST and openssl host does not support darwin. Can you please tell me how to map gcc -dumpmachine output to: darwin-i386-cc darwin-ppc-cc darwin64-ppc-cc darwin64-x86_64-cc Just send me a sample of gcc -dumpmachine output... The

Re: [opensc-devel] cross build system ( does opensc (svn version) work for you?)

2009-01-24 Thread Ludovic Rousseau
2009/1/24 Alon Bar-Lev : > On 1/23/09, Ludovic Rousseau wrote: >> Good idea. I already started to add support for Mac OS X. But >> compilation of OpenSSL fails. It should not be a cross-compilation on >> Mac OS X. > > Why? > Which host do you use? I want to try this myself. > Maybe open a bug w

Re: [opensc-devel] cross build system ( does opensc (svn version) work for you?)

2009-01-23 Thread Alon Bar-Lev
On 1/23/09, Ludovic Rousseau wrote: > Good idea. I already started to add support for Mac OS X. But > compilation of OpenSSL fails. It should not be a cross-compilation on > Mac OS X. Why? Which host do you use? I want to try this myself. Maybe open a bug with OpenSSL developers as cross compi

Re: [opensc-devel] cross build system ( does opensc (svn version) work for you?)

2009-01-23 Thread Ludovic Rousseau
2009/1/23 Alon Bar-Lev : > On 1/23/09, Ludovic Rousseau wrote: >> I don't think mingw exists for Mac OS X. Do you plan to cross-compile >> for Mac OS X from GNU/Linux? >> >> Mac OS X should be able to use autoconf/automake as on any other Unix >> system. I don't see a need for cross-compile her