LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices


Reply
  Search this Thread
Old 02-08-2007, 01:45 AM   #1
yogeshgaur
LQ Newbie
 
Registered: Feb 2007
Posts: 3

Rep: Reputation: 0
how to compile files in gcc-4.0.3 for ARM in Thumb mode


hi to all

i want to know that how would i able to compile the module through gcc-4.0.3 for arm in THUMB mode. As in current situtaion mine the .ko which i am getting after compiling is very big in size so if i able to compilte it in THUMB mode then surely i would get size of my output file less.
 
Old 02-14-2007, 05:41 AM   #2
yogeshgaur
LQ Newbie
 
Registered: Feb 2007
Posts: 3

Original Poster
Rep: Reputation: 0
Solved...

I have added -mthumb as flag in makefile thus files had compiled in thumb mode..
 
  


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
how do i install arm-linux-gcc swapnilborg Linux - Newbie 2 12-15-2005 11:16 PM
when I compile arm linux ,there is wrong shutle Linux - Software 1 10-23-2005 09:21 AM
I'm trying to compile ffmpeg using arm compiler Jeon, Chang-Min Linux - General 2 09-15-2005 05:31 AM
Setting arm-gcc path? karfei00 Linux - General 0 06-16-2004 04:59 AM
a doubt with host gcc and arm-linux-gcc renjithgopal Linux - General 1 09-11-2003 04:02 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 10:38 AM.

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