enabling "thumb" option in gcc

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I don't know if this is the right place to ask. Am sorry, but I could not
get a solution to this in other lists.

I was trying to enable the "thumb" option for gcc. I just tried to compile
a helloworld.c file with the "-mthumb" option.
gcc said that "unknown option: thumb". So, I enabled

MULTILIB_OPTIONS    += mcpu=arm7
MULTILIB_DIRNAMES   += nofmult
MULTILIB_EXCEPTIONS += *mthumb*/*mcpu=arm7*

 in "gcc/config/arm/t-arm-elf" file, configured gcc, re-installed it. but,
could not enable the "-mthumb" option although gcc seems to work fine. I
installed
gcc-3.4.2. arm-elf-gcc version 2.95.3 20010315 with the coldfire patches is
also installed.

I googled without any success. Similar questions were mostly unanswered.
What am I missing here. Any pointers/guidance would be of great help to me.

Thanks
Joseph Antony




--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux