Wireshark-users: Re: [Wireshark-users] Crosscompiling TSHARK to run on embedded linux on ppc440!
From: H Aslam <hassan-aslam@xxxxxxxxxxx>
Date: Thu, 12 Feb 2009 13:34:17 +0100
export CROSS_COMPILE=ppc_4xx-

PATH=$PATH:/opt/eldk/usr/bin:/opt/eldk/bin

ppc_4xx-gcc --static helloworld.c -o helloworld


> From: guy@xxxxxxxxxxxx
> To: wireshark-users@xxxxxxxxxxxxx
> Date: Wed, 11 Feb 2009 18:15:12 -0800
> Subject: Re: [Wireshark-users] Crosscompiling TSHARK to run on embedded linux on ppc440!
>
>
> On Feb 11, 2009, at 3:43 PM, H Aslam wrote:
>
> > /opt/eldk/ppc_4xx/usr/bin//byacc: symbolic link to `yacc'
> > /opt/eldk/ppc_4xx/usr/bin//flex: ELF 32-bit MSB executable, PowerPC
> > or cisco 45
> > 00, version 1 (SYSV), for GNU/Linux 2.4.3, dynamically linked (uses
> > shared libs)
> > , for GNU/Linux 2.4.3, stripped
>
> OK, so it appears that /opt/eldk/ppc_4xx/usr/bin/flex, at least, is a
> Flex intended to run on the embedded target; it will not run on your
> development machine if it is, for example, an x86 or x86-64-based PC.
> I suspect for 99 44/100% of embedded targets, having Flex on the
> target machine is a waste.
>
> What command did you use to compile your "hello, world" program for
> the embedded target?
>
> What is your value of $PATH?
> ___________________________________________________________________________
> 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


What can you do with the new Windows Live? Find out