On Thu, Jan 28, 2010 at 11:45 AM, SyRenity <[email protected]> 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?


>
> On Jan 28, 9:22 pm, Kenton Varda <[email protected]> wrote:
> > What OS?  What compiler?  What is your ./configure command line?
> >
> > On Thu, Jan 28, 2010 at 5:12 AM, SyRenity <[email protected]> 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 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 solved this for now by compiling on another 32-bit machine, which
> > > is awfully inconvenient, plus may cause the strings issue I wrote
> > > earlier.)
> >
> > > Any advice how to sort it out?
> >
> > > Thanks!
> >
> > > --
> > > You received this message because you are subscribed to the Google
> Groups
> > > "Protocol Buffers" group.
> > > To post to this group, send email to [email protected].
> > > To unsubscribe from this group, send email to
> > > [email protected]<protobuf%[email protected]>
> <protobuf%[email protected]<protobuf%[email protected]>
> >
> > > .
> > > For more options, visit this group at
> > >http://groups.google.com/group/protobuf?hl=en.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Protocol Buffers" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<protobuf%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/protobuf?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Protocol Buffers" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/protobuf?hl=en.

Reply via email to