Re: [Libcgi-general] How to use for arm.?
Brought to you by:
rafaelsteil
From: HS8JCV <hs...@gm...> - 2005-05-14 09:17:53
|
What is mean of sh4.? On 5/14/05, Vasiliy Novikov <va...@ya...> wrote: > Try to compile on target platform. >=20 > I use libcgi on sh4 platform. I compiled it on target platform. > I had porblem with compilation: > src/string.c:587: incompatible type for argument 2 of `__builtin_va_copy' >=20 > I changed file src/string.c line 587 from: > 587 va_copy(bkp, str); > to: > 587 va_copy(bkp, ptr); >=20 > and it was compiled. It works ok. >=20 > My gcc: > root@(none):/home/vasya/install/libcgi-1.0/src# gcc -v > Reading specs from /usr/lib/gcc-lib/sh4-linux/3.0.3/specs > Configured with: ../configure --host=3Dsh4-linux --build=3Di686-pc-linux-= gnu > --prefix=3D/usr --exec-prefix=3D/usr --bindir=3D/usr/bin --sbindir=3D/usr= /sbin > --sysconfdir=3D/etc --datadir=3D/usr/share --includedir=3D/usr/include > --libdir=3D/usr/lib --libexecdir=3D/usr/libexec --localstatedir=3D/var > --sharedstatedir=3D/usr/share --mandir=3D/usr/share/man > --infodir=3D/usr/share/info --target=3Dsh4-linux --enable-shared > --enable-languages=3Dc,c++ --enable-threads --disable-c99 > --with-system-zlib --with-cpu=3Dsh4 > Thread model: posix > gcc version 3.0.3 (STMicroelectronics/Linux Base 3.0.3-3) >=20 > Best regards, Vasya >=20 > HS8JCV wrote: >=20 > >I will libcgi for arm linux. > >How to install it. > >I try about this. > > > >make CC=3Darm-linux-gcc > >This process complie ok. > >and > >cp src/cgi.h /usr/local/arm/2.95.3/arm-linux/include/ > >cp src/session.h /usr/local/arm/2.95.3/arm-linux/include/ > >cp src/libcgi.a /usr/local/arm/2.95.3/arm-linux/lib/ > >cp src/libcgi.so /usr/local/arm/2.95.3/arm-linux/lib/ > > > >and > >I try complie sourcecode in example/simple_form/ with make CC=3Darm-linu= x-gcc > >I not complete.It show about this. > > > >arm-linux-gcc -Wall -lcgi form1.c -o ./form1.cgi > >/usr/local/arm/2.95.3/arm-linux/lib/libcgi.so: undefined reference to `v= a_copy' > >collect2: ld returned 1 exit status > >make: *** [all] Error 1 > > > >why. > >How to install it for arm-linux. > > > >best regard > >X@ARM > > > > > >------------------------------------------------------- > >This SF.Net email is sponsored by Oracle Space Sweepstakes > >Want to be the first software developer in space? > >Enter now for the Oracle Space Sweepstakes! > >http://ads.osdn.com/?ad_ids93&alloc_id=16281&op ick > >_______________________________________________ > >Libcgi-general mailing list > >Lib...@li... > >https://lists.sourceforge.net/lists/listinfo/libcgi-general > > > > > > >=20 > ------------------------------------------------------- > This SF.Net email is sponsored by Oracle Space Sweepstakes > Want to be the first software developer in space? > Enter now for the Oracle Space Sweepstakes! > http://ads.osdn.com/?ad_id=3D7393&alloc_id=3D16281&op=3Dclick > _______________________________________________ > Libcgi-general mailing list > Lib...@li... > https://lists.sourceforge.net/lists/listinfo/libcgi-general > |