Re: Re: [Libcgi-general] How to use for arm.?
Brought to you by:
rafaelsteil
From: Vasiliy N. <va...@ya...> - 2005-05-14 09:59:49
|
sh4 is 32-bit risc cpu. http://www.superh.com/products/sh4.htm HS8JCV wrote: >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_copy' >> >>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=sh4-linux --build=i686-pc-linux-gnu >>--prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin >>--sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include >>--libdir=/usr/lib --libexecdir=/usr/libexec --localstatedir=/var >>--sharedstatedir=/usr/share --mandir=/usr/share/man >>--infodir=/usr/share/info --target=sh4-linux --enable-shared >>--enable-languages=c,c++ --enable-threads --disable-c99 >>--with-system-zlib --with-cpu=sh4 >>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=arm-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=arm-linux-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_id281&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=7393&alloc_id=16281&op=click >>_______________________________________________ >>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_id281&opick >_______________________________________________ >Libcgi-general mailing list >Lib...@li... >https://lists.sourceforge.net/lists/listinfo/libcgi-general > > > |