LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer
User Name
Password
Linux - Embedded & Single-board computer This forum is for the discussion of Linux on both embedded devices and single-board computers (such as the Raspberry Pi, BeagleBoard and PandaBoard). Discussions involving Arduino, plug computers and other micro-controller like devices are also welcome.

Notices



Reply
 
Search this Thread
Old 06-11-2012, 09:43 AM   #1
manoj7410
Member
 
Registered: Jun 2012
Location: India
Distribution: 2.6.x
Posts: 40

Rep: Reputation: Disabled
Wink command to make crt1.o from a crt1.S


crt1.o file tells the starting of our c program.

it contains _start
and then main
.
.
its code is.
.
.
.global _start
.extern main
.extern exit.
.
.
arm-linux-gcc -c crt1.S
.
then copy the crt1.o file into target's bin directory.
same procedure is for crti.o
.
it will remove error called. crt1.o not found.
I used fedora 15.
gcc-4.5.1
kernel-2.6.10.
.
for beagle board.
.

.
Enjoy....

Last edited by manoj7410; 06-11-2012 at 09:45 AM.
 
Old 06-12-2012, 04:12 AM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014.08, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 14,279

Rep: Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664
Post # 1 seems to be a solution concerning the tread about the same subject :

http://www.linuxquestions.org/questi...or-2-a-949330/
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
crt1.o not found using mipsel-linux udaynag Linux - Software 0 12-08-2005 04:53 PM
can link with crt1.o error. wolver Linux From Scratch 0 01-16-2005 10:02 AM
ld: cannot open crt1.o: No such file or directory PeterRanson *BSD 4 10-31-2003 12:31 PM
Slackware 8.1 is completely missing crt1.o fern Slackware 11 08-31-2003 07:33 AM
crt1.o / glibc-devel chris17 Slackware 3 07-26-2003 03:28 PM


All times are GMT -5. The time now is 06:03 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration