This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: GCC Cross Compilation




Vishal Kothari wrote:

Hi,

I want to create an application for Psion 5MX device. It has an ARM
Processor on it. Is it possible using GCC to build the application for
ARM?


yes

The application is in C.
If a device which has an ARM Processor and I build my application for
that processor, then will the application run irrespective of the
Operating System on that device?


no

I also tried using the Epoc SDK available for Linux but wasn't successful.



There are system dependent libraries which are specific. So if you use arm-elf-linux targets it will work for linux
for a bare metal you might try arm-elf-none or one build with newlib instead of glibc ( I am assuming that your system is using ELF object format)


HTH

--
Khem Raj
MontaVista Software Inc.
1237 E. Arques Ave.Sunnyvale CA 94085
web http://www.mvista.com


------ Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/ Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]