Wireshark-users: Re: [Wireshark-users] Crosscompiling TSHARK to run on embedded linux on ppc440

From: H Aslam <hassan-aslam@xxxxxxxxxxx>
Date: Mon, 9 Feb 2009 05:19:50 +0100
He... you just confirmed my "theory"... was writing a post simultaneously with you... and posted it just minutes after you :)

My first time compiling a program.. I have only compiled a helloworld.c file to a binary to run on a ppc440. which luckily did work!..

will try again... but not sure what I will end up with "size wise".. I assume that tshark will not fit on a ramdisk image?


> From: guy@xxxxxxxxxxxx
> To: wireshark-users@xxxxxxxxxxxxx
> Date: Sun, 8 Feb 2009 20:02:36 -0800
> Subject: Re: [Wireshark-users] Crosscompiling TSHARK to run on embedded linux on ppc440!
>
>
> On Feb 8, 2009, at 6:49 PM, H Aslam wrote:
>
> > did a yum install yum install glib2-devel and compiled.. will this
> > not work?
>
> Probably not, if what was installed is an x86 binary version of the
> library.
>
> > now i assume i can take the compiled files and just crosscompile
> > with eldk to run on the ppc440?
>
> You can't compile already compiled files; "cross-compile" means to
> compile on a machine of one type and generate machine code for a
> machine of another type, so cross-compiling is a type of compiling.
>
> You have to cross-compile the *source* files. If you already compiled
> TShark without specifying that you were compiling for a PowerPC
> system, you presumably compiled it to run on the machine on which you
> compiled it. You would have to compile it again in order to run on
> the PPC440.
>
> > where are the files located that I have to compile?
>
> In the Wireshark source directory.
>
> (Have you cross-compiled any software for the PPC440 machine in the
> past?)
> ___________________________________________________________________________
> Sent via: Wireshark-users mailing list <wireshark-users@xxxxxxxxxxxxx>
> Archives: http://www.wireshark.org/lists/wireshark-users
> Unsubscribe: https://wireshark.org/mailman/options/wireshark-users
> mailto:wireshark-users-request@xxxxxxxxxxxxx?subject=unsubscribe


check out the rest of the Windows Live™. More than mail–Windows Live™ goes way beyond your inbox. More than messages