[protobuf] Protobuffer cross-compiling for Android

2023-01-05 Thread Nour El Menshawy
Hello I'm facing an issue that consumes a lot of time trying to find out what is the issue and i hope someone could help I build Protobuffer for windows by using the following CMake and it does work some of the setting flags are duplicated but it's okay # === definitions === include(FetchC

[protobuf] Re: fatal error: google/protobuf/port_def.inc: No such file or directory #include during cross compiling an application

2020-03-04 Thread The V
F_TARGET_NAME} ${PROTOBUF_LIBRARY}) > endfunction(missionGenerateProtobuf PROTOBUF_TARGET_NAME MSG_FILES) > > I do not get this fatal error: google/protobuf/port_def.inc: No such file > or directory #include during cross > compiling an application message. > > However the applica

[protobuf] fatal error: google/protobuf/port_def.inc: No such file or directory #include during cross compiling an application

2020-02-19 Thread Ryan Goodman
compiling an application message. However the application I am building is ultimately going to be run on an arm SBC. I use a cmake toolchain file, and try to compile in a different build directory, and then I get the error. How do I set up protobuf in cmake for cross compiling? I have not been

[protobuf] Re: Cross compiling using cmake

2019-06-05 Thread Dibet Garcia
I change my cmake command line to cmake -D BUILD_SHARED_LIBS=ON -D CMAKE_BUILD_TYPE=RELEASE -DCMAKE_CXX_COMPILER=/usr/bin/arm-linux-gnueabihf-g++ -DCMAKE_C_COMPILER=/usr/bin/arm-linux-gnueabihf-gcc -DCMAKE_AR=/usr/bin/arm-linux-gnueabihf-ar CMAKE_INSTALL_PREFIX=/opt/arm-local/protobuf .. Wh

[protobuf] Re: Cross compiling protobuf for ARM on Windows machine

2019-06-05 Thread Dibet Garcia
Hi, i have the same problem. iam using on linux the following command cmake -D BUILD_SHARED_LIBS=ON -D CMAKE_BUILD_TYPE=RELEASE -DCMAKE_CXX_COMPILER=/usr/bin/arm-linux-gnueabihf-g++ -DCMAKE_C_COMPILER=/usr/bin/arm-linux-gnueabihf-gcc -DCMAKE_AR=/usr/bin/arm-linux-gnueabihf-ar .. But i dont

[protobuf] Cross compiling using cmake

2019-06-05 Thread Dibet Garcia
Hi, iam using the following command cmake -D BUILD_SHARED_LIBS=ON -D CMAKE_BUILD_TYPE=RELEASE -DCMAKE_CXX_COMPILER=/usr/bin/arm-linux-gnueabihf-g++ -DCMAKE_C_COMPILER=/usr/bin/arm-linux-gnueabihf-gcc -DCMAKE_AR=/usr/bin/arm-linux-gnueabihf-ar .. How i can especify the protoc binary file ? M

[protobuf] Cross compiling protobuf for ARM on Windows machine

2018-10-21 Thread Steven Feenstra
Hello, I am using CMake on Windows to cross compile gRPC for the ARM platform, which in turn needs protobuf. The build gets stuck on the step where you need protoc to run on your native machine: [ 85%] Running gRPC C++ protocol buffer compiler on src/proto/grpc/status/status.proto 'C:/Users/s

Re: [protobuf] Cross compiling to ARM on X64 fails, uses ARM js_embed

2017-12-14 Thread Alex Biddulph
We ultimately found an alternative method of handling this issue. The problem we were getting was that the binary (more accurately the dynamic loader) was finding the wrong version of C++ standard library, basically it was picking up our ARM libstdc++ because that was in the LD_LIBRARY_PATH. -

Re: [protobuf] Cross compiling to ARM on X64 fails, uses ARM js_embed

2017-12-14 Thread 'Adam Cozzette' via Protocol Buffers
The js_embed binary shouldn't need anything but the C++ standard library. What kind of error are you getting? On Tue, Dec 12, 2017 at 4:55 PM, Alex Biddulph wrote: > @Adam Cozzette I have a further need to also control which libraries > js_embed uses at run time as the necessary run time librari

Re: [protobuf] Cross compiling to ARM on X64 fails, uses ARM js_embed

2017-12-12 Thread Alex Biddulph
@Adam Cozzette I have a further need to also control which libraries js_embed uses at run time as the necessary run time libraries are not in the standard system search paths. Is there a way to add an LD_LIBRARY_PATH_FOR_BUILD type environment variable, or some other way of controlling this? -

Re: [protobuf] Error when cross compiling protobuf/protoc to RISCV.

2017-11-20 Thread Jerry Zhao
>From my understanding, the host and target flags together specify that we are cross compiling. From, https://gcc.gnu.org/onlinedocs/gccint/Configure-Terms.html, I found If build, host, and target are all the same, this is called a *native*. If build and host are the same but target

Re: [protobuf] Error when cross compiling protobuf/protoc to RISCV.

2017-11-20 Thread 'Adam Cozzette' via Protocol Buffers
The --host riscv64-unknown-linux-gnu flag looks to me like it might be a problem--since you're cross-compiling your build machine must not be RISC-V, right? Does it work if you remove that one flag? On Sun, Nov 19, 2017 at 3:56 PM, Jerry Zhao wrote: > I need a RISCV implementation of

[protobuf] Error when cross compiling protobuf/protoc to RISCV.

2017-11-19 Thread Jerry Zhao
I need a RISCV implementation of protobuf. I tried to follow the same instructions for cross compiling ARM, but with the compilers set to the RISCV compilers. I first ran ./configure make make install make distclean This updated my protoc at /usr/local/bin/protoc. Next I ran ./configure to

Re: [protobuf] Cross compiling to ARM on X64 fails, uses ARM js_embed

2017-01-06 Thread 'Adam Cozzette' via Protocol Buffers
now fixed, too. On Thu, Jan 5, 2017 at 7:32 PM, Maxx Becker wrote: > Thanks so much for your replies! I was able to limp along initially by > copying the x64 js_embed binary from /usr/bin to src/ before > cross-compiling. > make check failed all tests in that case but the tools appear t

Re: [protobuf] Cross compiling to ARM on X64 fails, uses ARM js_embed

2017-01-05 Thread Maxx Becker
Thanks so much for your replies! I was able to limp along initially by copying the x64 js_embed binary from /usr/bin to src/ before cross-compiling. make check failed all tests in that case but the tools appear to work! I tried both of your suggestions, with success, as described below. Before

Re: [protobuf] Cross compiling to ARM on X64 fails, uses ARM js_embed

2017-01-05 Thread 'Adam Cozzette' via Protocol Buffers
ary solution, you can use >>> this version of protobuf (which doesn't have the js_embed binary): >>> https://github.com/google/protobuf/releases/tag/v3.1.0 >>> >>> >>> On Wed, Dec 28, 2016 at 11:57 PM, Maxx Becker >>> wrote: >>>

Re: [protobuf] Cross compiling to ARM on X64 fails, uses ARM js_embed

2017-01-03 Thread 'Adam Cozzette' via Protocol Buffers
the js_embed binary): >> https://github.com/google/protobuf/releases/tag/v3.1.0 >> >> >> On Wed, Dec 28, 2016 at 11:57 PM, Maxx Becker >> wrote: >> >>> I'm a newbie, but I have successfully built the protocol buffers sources >>> (version 3.

Re: [protobuf] Cross compiling to ARM on X64 fails, uses ARM js_embed

2017-01-03 Thread 'Adam Cozzette' via Protocol Buffers
ersion 3.1.0) on Ubuntu 14.04 x86_64 and installed, as per >> https://github.com/google/protobuf/blob/master/src/README.md >> I am now attempting to cross-compile to an ARM target, using the >> cross-compiling info from the README above and the following as references: >> https

Re: [protobuf] Cross compiling to ARM on X64 fails, uses ARM js_embed

2017-01-03 Thread 'Feng Xiao' via Protocol Buffers
mpile to an ARM target, using the > cross-compiling info from the README above and the following as references: > https://groups.google.com/forum/#!topic/protobuf/ZWuTzg-N0E0 > After running 'make clean' and re-configuring to use the > arm-linux-gnueabihf compilers and the prev

[protobuf] Cross compiling to ARM on X64 fails, uses ARM js_embed

2016-12-28 Thread Maxx Becker
I'm a newbie, but I have successfully built the protocol buffers sources (version 3.1.0) on Ubuntu 14.04 x86_64 and installed, as per https://github.com/google/protobuf/blob/master/src/README.md I am now attempting to cross-compile to an ARM target, using the cross-compiling info fro

[protobuf] Re: Cross-compiling protobuf to 32-bit

2016-03-07 Thread Kevin L
Hi SyRenity. I've been running into this same issue on CentOS 5. Were you able to fix the problem? On Thursday, January 28, 2010 at 5:12:09 AM UTC-8, SyRenity wrote: > > Hi. > > I'm trying to compile a 32-bit protobuf on 64-bit machine. > > No matter what I tried (changing build option, host opti

[protobuf] Problem with cross compiling for PowerPC arch

2015-07-13 Thread Олег Викторович
Hi All! I'm using protobuf-2.6.1 and I would like to make cross compiling for PowerPC e300c3. == export CC=powerpc-e300c3-linux-gnu-c++ export CXX=powerpc-e300c3-linux-gnu-g++ ./configure --host=powerpc-e300c3-linux --with-protoc=/home/user/protobuf-2.6.1/prev_x86_dir/protoc --prefix=

[protobuf] Problem with cross compiling for PowerPC e300c3

2015-07-13 Thread Олег Викторович
Hi All! I'm using protobuf-2.6.1 and I would like to make cross compiling for PowerPC e300c3. export CC=powerpc-e300c3-linux-gnu-c++ export CXX=powerpc-e300c3-linux-gnu-g++ ./configure --host=powerpc-e300c3-linux --with-protoc=/home/user/protobuf-2.6.1/prev_x86_dir/protoc --prefix=/home

[protobuf] Issues Cross Compiling for VxWorks

2015-07-06 Thread Chuck Claunch
I'm attempting to cross compile protobuf for use on a National Instruments Compact RIO (PowerPC 603). I'm using the toolchain located here . I've verified the toolchain with some simple applications and would now like to use protobuf. Most

Re: [protobuf] Cross Compiling Protobuf For Raspberry Pi

2014-11-13 Thread 'Feng Xiao' via Protocol Buffers
On Thu, Nov 13, 2014 at 2:04 PM, Andrew Capodieci < andrew.capodi...@gmail.com> wrote: > I guess I don't understand what the make check is doing...is it trying to > run tests using the library it just cross compiled for the raspberry pi, > and thus it's trying to run a library built for arm on a l

Re: [protobuf] Cross Compiling Protobuf For Raspberry Pi

2014-11-13 Thread Andrew Capodieci
I guess I don't understand what the make check is doing...is it trying to run tests using the library it just cross compiled for the raspberry pi, and thus it's trying to run a library built for arm on a linux machine and thus failing to execute? -- You received this message because you are su

Re: [protobuf] Cross Compiling Protobuf For Raspberry Pi

2014-11-13 Thread Andrew Capodieci
make check >> >> -- all (5/5) tests pass >> >> sudo make install >> make distclean >> >> This should set up the initial protoc executable that can be run by my >> build machine (Lenovo w540 laptop running Ubuntu 12.04) during the cross >&

[protobuf] Re: Cross Compiling Protobuf For Raspberry Pi

2014-11-13 Thread Andrew Capodieci
; -- all (5/5) tests pass > > sudo make install > make distclean > > This should set up the initial protoc executable that can be run by my > build machine (Lenovo w540 laptop running Ubuntu 12.04) during the cross > compiling for my host, the raspberry pi. > >

Re: [protobuf] Cross Compiling Protobuf For Raspberry Pi

2014-11-13 Thread 'Feng Xiao' via Protocol Buffers
; > This should set up the initial protoc executable that can be run by my > build machine (Lenovo w540 laptop running Ubuntu 12.04) during the cross > compiling for my host, the raspberry pi. > > I then run: > > ./configure --host=arm-linux-gnueabi CC=/opt/cross/x-tools/

[protobuf] Cross Compiling Protobuf For Raspberry Pi

2014-11-13 Thread Andrew Capodieci
obuf-2.6.0 ./configure --disable-shared make make check -- all (5/5) tests pass sudo make install make distclean This should set up the initial protoc executable that can be run by my build machine (Lenovo w540 laptop running Ubuntu 12.04) during the cross compiling for my

[protobuf] Re: cross compiling for powerpc fails with error

2013-10-17 Thread Safi Ali
Hi Nash, Sorry for the late reply, didnt check the forum in a while. Well I couldnt find a proper solution to the intptr_t missing definition problem, so instead I hard coded it to match our platform's integer representation. In src/google/protobuf/stubs/common.h there is a section where int r

[protobuf] Cross-compiling on OS X

2013-07-08 Thread Liam Lacey
Hey I've managed to compile and install the protobufs lib onto my OS X 10.6 machine, and I've managed to link the libprotobuf.a file to an Xcode project which will then compile and run fine when building for 64 bit. However when trying to build the same project for 32 bit I get the following er

[protobuf] Re: cross compiling for powerpc fails with error

2013-07-02 Thread Nash Kamal
Just wondering if you were able to resolve your build issue as we are having the same problem while trying to build on the IBM Bluegene Q. If you were able to successfully build by making some changes to the header files please post it here and let us know. Regards, Nash. On Wednesday, 19 June

[protobuf] Re: cross compiling for powerpc fails with error

2013-06-19 Thread Safi Ali
Hi again, Another problem that I can add here is this:- /home/esyishh/protobuf-2.5.0/src/google/protobuf/stubs/atomicops.h:81: error: 'intptr_t' does not name a type I get this error when i am compiling protocol buffer generated cpp code with my powerpc-eabi-g++ compiler. It was strange as it

[protobuf] cross compiling for powerpc fails with error

2013-06-19 Thread Safi Ali
Hi there, Lets start with some background. I'm building on an x86_64 linux server, and the target platform is powerpc. So far I have generated the cpp files from my proto files (on the linux machine using protoc) and now im trying to compile the cpp code for powerpc platform. Im using the "po

Re: [protobuf] Unittest fails cross-compiling for ARM

2013-06-13 Thread Curzio Basso
rently related > to the unit tests (but maybe related to wrong > configuration...). Sorry to bother but I did not find any hint in other > messages... which probably means I'm missing something > obvious :-( > > I'm cross-compiling for ARM, on an x86 Ubuntu 13.04. I ins

Re: [protobuf] Unittest fails cross-compiling for ARM

2013-06-13 Thread Feng Xiao
sages... which probably means I'm missing something > obvious :-( > > I'm cross-compiling for ARM, on an x86 Ubuntu 13.04. I installed Ubuntu's > protocol buffer packages. This is what I did: > > $ mkdir build-arm > $ cd build-arm > $ ../configure CC=arm-linux-g

[protobuf] Unittest fails cross-compiling for ARM

2013-06-13 Thread Curzio Basso
Hi all, I've got some problem trying to cross-compile for ARM, apparently related to the unit tests (but maybe related to wrong configuration...). Sorry to bother but I did not find any hint in other messages... which probably means I'm missing something obvious :-( I'm cross-co

[protobuf] Problem cross compiling 2.4.1 for Android

2012-09-24 Thread Lothar May
When cross compiling protocol buffers 2.4.1 for Android, I get the following problem: http://stackoverflow.com/questions/4594736/configure-does-not-recognize-androideabi The fix (updating config.sub and config.guess) works. Please update them with the next release. Thanks, Lothar -- You

[protobuf] Cross compiling for PowerPC

2011-10-21 Thread Tergeist P
-2.4.1/src' make[2]: *** [check-am] Error 2 make[2]: Leaving directory `/home/omni/ECC/protobuf-2.4.1/src' make[1]: *** [check] Error 2 make[1]: Leaving directory `/home/omni/ECC/protobuf-2.4.1/src' make: *** [check-recursive] Error 1 Any support is greatly appreciated! Best regards

[protobuf] Cross compiling for PowerPC

2011-10-21 Thread Tergeist P
Hi, Thanks, I hadn't seen the "Note for cross-compiling" in the README! But now, I have a new problem : ./configure --host=powerpc-405-linux-gnu CC=powerpc-405-linux-gnu-gcc CXX=powerpc-405-linux-gnu-g++ --with-protoc=protoc make make install =>No problem. But then I try t

[protobuf] Re: Cross compiling for PowerPC

2011-10-20 Thread Eyal Farago
you have to use the '--with-protoc' option when configuring, please have a look at readme.txt(line 80). enjoy, Eyal -- You received this message because you are subscribed to the Google Groups "Protocol Buffers" group. To view

[protobuf] Cross compiling for PowerPC

2011-10-20 Thread Tergeist P
Hi, I'm using protobuf-2.4.1 and I would like to make cross compiling for PowerPC. I've a linux box (Linux 2.6.10). So : ./configure --host=powerpc-405-linux-gnu CC=powerpc-405-linux-gnu-gcc CXX=powerpc-405-linux-gnu-g++ make => protobuf/src/protoc :line 136: /protobuf/src/.l

[protobuf] Cross-Compiling protobuf for target ARM architecture

2011-06-14 Thread Kavi
Hi all Any suggestions on how to cross-compile protobuf for ARM? Any -target - arch options to be passes with ./configure?? Thanks Kavi -- You received this message because you are subscribed to the Google Groups "Protocol Buffers" group. To post to this group, send email to protobuf@googlegro

[protobuf] Re: Make check failed when cross compiling for power-pc

2010-03-12 Thread phelyks
ok, just like i thought. thanks for the info On Mar 11, 8:35 pm, Kenton Varda wrote: > The tests obviously can't run when cross-compiling, so this is expected. >  You should manually run protobuf-test on the target architecture to make > sure it works.  The other tests probably ar

Re: Fwd: [protobuf] Re: Cross-compiling protobuf to 32-bit

2010-02-01 Thread Kenton Varda
message -- > > From: Stas Oskin > > Date: Fri, Jan 29, 2010 at 11:27 PM > > Subject: Re: [protobuf] Re: Cross-compiling protobuf to 32-bit > > To: Kenton Varda > > > > Hi. > > > > > And when you configure other autotool-based packages the same wa

Re: Fwd: [protobuf] Re: Cross-compiling protobuf to 32-bit

2010-02-01 Thread SyRenity
as well. > > -- Forwarded message -- > From: Stas Oskin > Date: Fri, Jan 29, 2010 at 11:27 PM > Subject: Re: [protobuf] Re: Cross-compiling protobuf to 32-bit > To: Kenton Varda > > Hi. > > > And when you configure other autotool-based packages the same way, it &

Fwd: [protobuf] Re: Cross-compiling protobuf to 32-bit

2010-01-29 Thread Stas Oskin
Sorry, forwarding to list as well. -- Forwarded message -- From: Stas Oskin Date: Fri, Jan 29, 2010 at 11:27 PM Subject: Re: [protobuf] Re: Cross-compiling protobuf to 32-bit To: Kenton Varda Hi. > > And when you configure other autotool-based packages the same w

Re: [protobuf] Re: Cross-compiling protobuf to 32-bit

2010-01-28 Thread Kenton Varda
On Thu, Jan 28, 2010 at 11:45 AM, SyRenity wrote: > CentOS 5.4 > GCC 4.1.2 > > Configure for example: > ./configure --prefix=/tmp/protobuf --host i386-redhat-linux > And when you configure other autotool-based packages the same way, it works? You said you were using the -m32 flag. Where is it?

[protobuf] Re: Cross-compiling protobuf to 32-bit

2010-01-28 Thread SyRenity
CentOS 5.4 GCC 4.1.2 Configure for example: ./configure --prefix=/tmp/protobuf --host i386-redhat-linux On Jan 28, 9:22 pm, Kenton Varda wrote: > What OS?  What compiler?  What is your ./configure command line? > > On Thu, Jan 28, 2010 at 5:12 AM, SyRenity wrote: > > Hi. > > > I'm trying to com

Re: [protobuf] Cross-compiling protobuf to 32-bit

2010-01-28 Thread Kenton Varda
What OS? What compiler? What is your ./configure command line? On Thu, Jan 28, 2010 at 5:12 AM, SyRenity wrote: > Hi. > > I'm trying to compile a 32-bit protobuf on 64-bit machine. > > No matter what I tried (changing build option, host option or setting - > m32 flag), I couldn't get it workin

[protobuf] Cross-compiling protobuf to 32-bit

2010-01-28 Thread SyRenity
Hi. I'm trying to compile a 32-bit protobuf on 64-bit machine. No matter what I tried (changing build option, host option or setting - m32 flag), I couldn't get it working. Either I stuck on compile stage, or the resulting binaries are 64-bit. I do able to compile other apps via -m32 flag. (I s

Re: Out of sources cross-compiling

2009-09-11 Thread Kenton Varda
rotoc -- > host=powerpc-linux --prefix=/opt/powerpc-linux). When cross-compiling, > it is convenient to have one source tree and several build directories > (one per target). > > Doing the out of source cross-compiling, when I type make, I get the > following error (associated to b

Out of sources cross-compiling

2009-09-11 Thread pierreK
tree), but not doing it out of the source tree (i.e. executing something like ../ protobuf-2.2.0/configure --with-protoc=/usr/local/bin/protoc -- host=powerpc-linux --prefix=/opt/powerpc-linux). When cross-compiling, it is convenient to have one source tree and several build directories (one per t

Antwort: Re: Compiling protobuf for cross-compiling environment

2009-09-03 Thread Guenther Makulik
Hi, Kenton Varda schrieb am 02.09.2009 19:07:38: > Sorry, automake does not make it easy to install only part of the package, > and I think it is non-trivial to get working libraries without running the > "install" step. Is there any harm in building protoc? No, not really except build per

Re: Compiling protobuf for cross-compiling environment

2009-09-02 Thread Kenton Varda
protoc binary when building (rather than attempt to execute the one it > just > > built). > > Other than that, cross-compiling works the same as with any > > automake/autoconf package. E.g. I have cross-compiled Windows binaries > on a > > Mac machine using: > > &

Re: Compiling protobuf for cross-compiling environment

2009-09-02 Thread Makulik
ecute the one it just > built). > Other than that, cross-compiling works the same as with any > automake/autoconf package.  E.g. I have cross-compiled Windows binaries on a > Mac machine using: > >    ./configure --with-protoc=/usr/bin/protoc --host=i386-mingw32 > --prefix=/usr/i38

Re: Compiling protobuf for cross-compiling environment

2009-09-01 Thread Kenton Varda
Use the --with-protoc option to configure to tell it to use a particular protoc binary when building (rather than attempt to execute the one it just built). Other than that, cross-compiling works the same as with any automake/autoconf package. E.g. I have cross-compiled Windows binaries on a Mac

Compiling protobuf for cross-compiling environment

2009-09-01 Thread Makulik
Hi, I need to use protobuf in a cross-compiling environment. The .proto files should be compiled with an x86 version of protoc, but the outputs should be compiled with a powerpc gcc and of course linked with an appropriate version of the protobuf runtime libs. What's the best approach ju

Re: Cross Compiling Protobuf

2009-05-13 Thread Peter K.
Hi Kenton, Thanks for the pointer. That worked a treat. I just did: ./configure --prefix=/home/kootsoop/install/ make make install make distclean ./configure --host=arm-linux --prefix=/home/kootsoop/install/ARM -- with-protoc=/home/kootsoop/install/bin/protoc make make install And it all work

Re: Cross Compiling Protobuf

2009-05-12 Thread Peter K.
Thanks, Kenton, I'll try it out tomorrow and post the results. We're sticking with 2.0.3 for now, but will switch once 2.1 goes to full release. Ciao, Peter K. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Prot

Re: Cross Compiling Protobuf

2009-05-12 Thread Kenton Varda
In v2.1.0 I've added a parameter to the configure script --with-protoc= which lets you specify an alternate protoc binary to use when compiling. This way, the makefiles won't invoke the protoc they just built. So, cross-compiling should work. However, I haven't actually tested

Re: Cross Compiling Protobuf

2009-05-12 Thread Peter K.
e protoc is compiled for the target, but it is run on the build machine. What we tend to do is install the Intel version (e.g. /usr/local/bin/ protoc), re-configure for cross-compiling. Make. Wait for make to break. Move the ./src/protoc to ./src/protoc.cross. Copy /usr/local/ bin/protoc to ./src

Cross Compiling Protobuf

2009-05-12 Thread ry.n...@gmail.com
Hello, I am reasonably new to the embedded world but I am trying to use protobufs on a virtex5 ppc. I have a xcompiler and was wondering what steps/flags I would need to create appropriate libraries to use. The setup: I have some proto files that I want to use. I have the 2.0.3 tarball. I

Re: Cross compiling

2009-01-24 Thread Kenton Varda
I think this should do it: cd src make libprotobuf.la On Sat, Jan 24, 2009 at 12:11 PM, Wink wrote: > > It is mentioned in this post: > > http://groups.google.com/group/protobuf/browse_thread/thread/a0098a395e0ec63c > That to cross compile you just need build the library. > What are the tar

Cross compiling

2009-01-24 Thread Wink
It is mentioned in this post: http://groups.google.com/group/protobuf/browse_thread/thread/a0098a395e0ec63c That to cross compile you just need build the library. What are the targets for the building just the runtime libraries? -- Wink --~--~-~--~~~---~--~~ You

Re: Cross compiling

2008-10-20 Thread Kenton Varda
The code generated by protoc is identical on all platforms, so you can use the same protoc that you compiled for Linux. You only have to cross-compile the libprotobuf library. Cross-compiling should work exactly like it does with any other autoconf-based package. On Mon, Oct 20, 2008 at 6:58 AM

Cross compiling

2008-10-20 Thread magnus . ivarsson
Hi, I am building and using protocol buffers 2.0.1 on a Linux host and it works fine. Now I am moving to a target hardware with an ARM9 cpu, also running Linux (and later to an ARM7 with no os) and would like to cross compile to these platforms. I have tried to find information on how to do this