Hi Teju,

The toolchain u r mentioning here "arm-none-linux-gnueabi-gcc" is NOT the
android toolchain which is available in

<mydroid>/prebuilt/linux-x86/toolchain/arm-eabi-4.2.1/bin as "arm-eabi-gcc"
.

The toolchain you are mentioning here is Open Source Code Sorcery toolchain,
by using it

I am also getting my file compiled bUt if I use android tolchain for the
same , I am getting

the following error :-

arm-eabi-gcc -o hello hello.c
arm-eabi-gcc: error trying to exec 'cc1': execvp: No such file or directory

Thanks & Regards
Nimit Manglick




On Thu, Dec 18, 2008 at 9:42 AM, teju <[email protected]> wrote:

>
> hi nimit
>
> for ur q's
> we compiled it with the android toolchain avilable and put the binary
> to the filesystem v used for android.
> to compile the application export the path of the toolchain to ur
> shell and
> arm-none-linux-gnueabi-gcc -o executable <urfilename>
>
> ur executable ll be ready.
>
>
>
>
> Nimit Manglick wrote:
> > Hi Teju,
> >
> > As you have mentioned that you tried with sample uart app so I have some
> > doubts regarding that :-
> >
> > 1. How you compiled that sample uart application with android prebuilt
> > toolchain ?
> >
> >   Can you please tell me the procedure as that sample application binary
> > needs to be a part
> >
> >  of the android file system. I am really struggling with it :(
> >
> > 2. Also can you please share the same source code + binary ??
> >
> > Thanks & Regards
> > Nimit Manglick
> >
> > On Mon, Dec 15, 2008 at 4:58 PM, David Turner <[email protected]> wrote:
> >
> > > use "adb logcat -b radio" to display the radio log. this includes
> traces
> > > from both the reference-ril
> > > library and the GSM stack that talk to it (including AT commands).
> > >
> > > that should help you diagnose the problem much more easily. It's also
> easy
> > > to add
> > > additionnal traces to reference-ril if you need to
> > >
> > >
> > > On Fri, Dec 12, 2008 at 5:26 AM, teju <[email protected]> wrote:
> > >
> > >>
> > >> hi,
> > >>
> > >> my modem is connected to ttyS2 port, ttyS0 is used as console,
> > >>
> > >> /system/bin/rild -l /system/lib/librild.so -- -d /dev/ttyS2
> > >>
> > >> command works fine, but when i try to make a call from my dialer app,
> > >> i dont get any call.
> > >>
> > >> to confirm with the serial port i tested the ttyS2 port with sample
> > >> uart app. It worked fine.
> > >>
> > >> I want to put debug msgs in the rild code. Pls let me know how to
> > >> compile the rild code .
> > >>
> > >> Mikkel Christensen wrote:
> > >> > Hi,
> > >> >
> > >> > The command for starting rild is:
> > >> >
> > >> > /system/bin/rild -l /system/lib/<LIBNAME>.so -- -d /dev/ttyS0
> > >> >
> > >> > where <LIBNAME> could e.g. be "libreference-ril.so"
> > >> >
> > >> > This requires that you have a modem on /dev/ttyS0 connected to your
> > >> > OMAP2430 hardware and a RIL library that fits that modem.
> > >> >
> > >> > /Mikkel
> > >> >
> > >> >
> > >> > On Dec 9, 10:40�pm, teju <[email protected]> wrote:
> > >> > > hi
> > >> > >
> > >> > > v hav ported android on OMAP2430 hardware.
> > >> > > Can anyone tell me how to use the rild which is available. We
> tried to
> > >> > > run ...
> > >> > >
> > >> > > rild -l �/system/lib/librild.so -p /dev/ttyS1
> > >> > >
> > >> > > it just hangs. Can anyone help pls
> > >>
> > >>
> > >
> > > >
> > >
> >
>

--~--~---------~--~----~------------~-------~--~----~
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting
-~----------~----~----~----~------~----~------~--~---

Reply via email to