Re: Re: [Libcgi-general] How to use for arm.?
Brought to you by:
rafaelsteil
From: HS8JCV <hs...@gm...> - 2005-05-14 11:10:52
|
Is it same arm AT91RM9200 of atmel.? If not same.How to complie for AT91RM9200.? best regard X@ARM On 5/14/05, Vasiliy Novikov <va...@ya...> wrote: > sh4 is 32-bit risc cpu. > http://www.superh.com/products/sh4.htm >=20 > HS8JCV wrote: >=20 > >What is mean of sh4.? > > > >On 5/14/05, Vasiliy Novikov <va...@ya...> wrote: > > > > > >>Try to compile on target platform. > >> > >>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_cop= y' > >> > >>I changed file src/string.c line 587 from: > >>587 va_copy(bkp, str); > >>to: > >>587 va_copy(bkp, ptr); > >> > >>and it was compiled. It works ok. > >> > >>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-linu= x-gnu > >>--prefix=3D/usr --exec-prefix=3D/usr --bindir=3D/usr/bin --sbindir=3D/u= sr/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) > >> > >>Best regards, Vasya > >> > >>HS8JCV wrote: > >> > >> > >> > >>>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-li= nux-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 = `va_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 > >>> > >>> > >>> > >>> > >>> > >>------------------------------------------------------- > >>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 > >> > >> > >> > > > > > >------------------------------------------------------- > >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 > |