You could refer this to build linux application using ARMCC . http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.dai0212a
Shankar On Tue, Mar 27, 2012 at 3:28 AM, Rio Xiangyu Dong <[email protected]>wrote: > While I was able to compile c++ source codes into ARM binary using GNU > Sourcery toolchain, I failed to compile ARMASM assembly to binary.**** > > ** ** > > I used ARM RVDS 4.0 (armasm and armlink). Although I successfully got an > ELF file, the ELF file could not be read by Gem5. The error message I got > was:**** > > ** ** > > gem5.opt: build/ARM_SE/base/loader/elf_object.cc:333: > ElfObject::ElfObject(const std::string&, int, size_t, uint8_t*, > ObjectFile::Arch, ObjectFile::OpSys): Assertion `text.size != 0' failed.** > ** > > Program aborted at cycle 0**** > > ** ** > > May I ask if there is any trick I should play when I compile ARMASM code?* > *** > > ** ** > > Thank you!**** > > ** ** > > Best,**** > > Xiangyu**** > > ** ** > > ** ** > > ** ** > > ** ** > > _______________________________________________ > gem5-users mailing list > [email protected] > http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users >
_______________________________________________ gem5-users mailing list [email protected] http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
