LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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, 08: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 08:45 AM.
 
Old 06-12-2012, 03:12 AM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

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

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


Reply



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 03:53 PM
can link with crt1.o error. wolver Linux From Scratch 0 01-16-2005 09:02 AM
ld: cannot open crt1.o: No such file or directory PeterRanson *BSD 4 10-31-2003 11:31 AM
Slackware 8.1 is completely missing crt1.o fern Slackware 11 08-31-2003 06:33 AM
crt1.o / glibc-devel chris17 Slackware 3 07-26-2003 02:28 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer

All times are GMT -5. The time now is 10:35 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
Open Source Consulting | Domain Registration