gcc on ARM?

Started by Anonymous in comp.arch.embedded12 years ago 10 replies

Hello! I can already see you all role your eyes at my question but anyway: is there any explanation on the net or can anyone explain me...

Hello! I can already see you all role your eyes at my question but anyway: is there any explanation on the net or can anyone explain me how I can compile gcc (either 2.95.3 or 4.0.1) on a x86-linux system (with x86-gcc 3.4.3 and a arm-crosscompiler-gcc 2.95.3 installed) in order to get a working gcc that runs on arm and compiles for arm? The situation is this: I have a Qtopia-device ...


Building gcc-3.3.1-3 in Cygwin 1.5.9-1 - help!

Started by Dennis C in comp.arch.embedded13 years ago 4 replies

I have built binutils-20040312-1 on Cygwin and am trying to build gcc-3.3.1-3, but I am getting the error below. Can someone give a pointer why...

I have built binutils-20040312-1 on Cygwin and am trying to build gcc-3.3.1-3, but I am getting the error below. Can someone give a pointer why it is breaking? What I did was: 181 ../gcc-3.3.1-3/configure --target=arm-unknown-coff --prefix=/usr/local/ - -exec_prefix=/usr/local --without-fp --with-gnu-as --with-gnu-ld 182 make all Thanks for your help /usr/local/gcc/gcc/xgcc ...


GCC assembler syntax

Started by Karl-Heinz in comp.arch.embedded12 years ago 1 reply

Hi, currently we are trying to move our development tools from Microtec C-Compiler to GCC configured as a cross compiler for Motorola M68k....

Hi, currently we are trying to move our development tools from Microtec C-Compiler to GCC configured as a cross compiler for Motorola M68k. We tried to translate the following code snippet from MCC to GCC but didn't succeed: ASM ("\tMOVE.L #.startof.(SuperStack)+.sizeof.(SuperStack)-4,A2"); Has anyone an idea how this line looks like in GCC??? Thanks in advance


Building an ARM-GCC toolchain

Started by Meindert Sprang in comp.arch.embedded10 years ago 21 replies

Hi all, I am trying to build an ARM-GCC toochain. I followed the instructions from the gcc.gnu.org site but end up with errors during assembly...

Hi all, I am trying to build an ARM-GCC toochain. I followed the instructions from the gcc.gnu.org site but end up with errors during assembly of lib1funcs.asm. Already the first line produces an error caused by the comment character '@'. So I suspect the wrong assembler is called during the build process. Any clues how to solve this? My native GCC version on the Linux box is 3.4.6 and ...


gcc+H8

Started by Anonymous in comp.arch.embedded11 years ago 5 replies

I've got to write software for an Hitachi (Renesas) H8/300 MCU. I've written software in C, and, when I try to compile it with gcc using...

I've got to write software for an Hitachi (Renesas) H8/300 MCU. I've written software in C, and, when I try to compile it with gcc using the command line "gcc -c -O2 -ms out.o in.c" the system answers "cc1: error: invalid option 's'". What's wrong? Tank you Max


Download of GCC sources for Infineon TriCore

Started by KHR in comp.arch.embedded10 years ago 11 replies

Hello, I am looking for a GCC version for Infineon TriCore. As I found out hightec-rt.com has such a GCC version but unfortunately they...

Hello, I am looking for a GCC version for Infineon TriCore. As I found out hightec-rt.com has such a GCC version but unfortunately they don't give free access to the source code although GCC has a GPL license. Does anybody know a link where I can download the sources? If not, even a binary for windows might be helpful. Thanks a lot


gcc for AT91SAM7S64?

Started by Andy in comp.arch.embedded12 years ago 5 replies

Hello, Is any one using gcc on this part? I have used gcc with a 7520 Netsilicon ARM7, but I wasn't sure if that means it will work with any...

Hello, Is any one using gcc on this part? I have used gcc with a 7520 Netsilicon ARM7, but I wasn't sure if that means it will work with any ARM7. I assume this should be the same instruction set, but has different mix of peripherals and things are at different addresses. Am I on the right track with that assumption? Any comments regarding problems or successes would be appreciated. ...


Memory listing from gcc

Started by Paul Burke in comp.arch.embedded11 years ago 7 replies

I've read the F manuals and I'm still no wiser... anyone know how I can get a memory usage listing from gcc (I'm using msp430-gcc)? I've tried...

I've read the F manuals and I'm still no wiser... anyone know how I can get a memory usage listing from gcc (I'm using msp430-gcc)? I've tried -fmem-report, doesn't not do nowt. Paul Burke


Atmel and GCC

Started by mc in comp.arch.embedded11 years ago 2 replies

Ulf, while we have you "on the line," let me ask another thing... Over the weekend I tried out both ImageCraft C and GCC. (With a small...

Ulf, while we have you "on the line," let me ask another thing... Over the weekend I tried out both ImageCraft C and GCC. (With a small program I got very similar results; I didn't try anything big enough to really bring out a difference.) What impressed me is that AVR Studio comes preconfigured for GCC, and once I installed WinAVR (even though I didn't install it in the usual place),...


AVR-GCC options

Started by rvarshney in comp.arch.embedded8 years ago 3 replies

Hello, I was hoping to know if there is a way to intermix source code with the output of "avr-gcc -S" I know that it is possible to do so with...

Hello, I was hoping to know if there is a way to intermix source code with the output of "avr-gcc -S" I know that it is possible to do so with "avr-objdump -S", but I was wondering if there is a way to get the same functionality with "avr-gcc -S" Thanks!


ARM966E-S

Started by Gustavo Vargas in comp.arch.embedded7 years ago 6 replies

Hi all, Sorry about my newbe question, but I'm lost trying to figure out how to do that.... I'm expert in ARM7 design but aways using...

Hi all, Sorry about my newbe question, but I'm lost trying to figure out how to do that.... I'm expert in ARM7 design but aways using comential IDEs (not so expert). Now I'm working in a new project using an ARM966E-S core. And my intention is to use the GCC to generate de code (I never use it before). First of all: is it good or should I run from it (gcc)? Second: in the GCC docum...


whats the diff b\w various arm-xx-gcc versions? (newbie)

Started by Mayank Kaushik in comp.arch.embedded12 years ago 1 reply

Hi, Ive been using ADS till now, but since 45 day trial is gonna end in a few days, i have decided to switch to the GNU toolchain..and...

Hi, Ive been using ADS till now, but since 45 day trial is gonna end in a few days, i have decided to switch to the GNU toolchain..and im painfully new to it. While searching for the particular toolchain to download, i came accross many versions..on gnuarm.com i found arm-elf-gcc etc, on codesourcery.com i found arm-none-eabi-gcc etc, and on the AT91-CDROM i found arm-linux-gcc etc. Exa...


long delay in AVR GCC ???

Started by sam...@machinescience.org in comp.arch.embedded11 years ago 4 replies

I would very much appreciate if anyone could provide code for a reliable 10,000 instruction cycle delay routine for AVR GCC (in either asm or...

I would very much appreciate if anyone could provide code for a reliable 10,000 instruction cycle delay routine for AVR GCC (in either asm or C). I have been banging my head all day against GCC inline assembly and getting no where! I find it to be an incredibly criptic language with little documentation. I would really, really appreciate any help. Thanks! Sam


Compiling gcc-3.3.3 for h8300hms

Started by Martin Sauer in comp.arch.embedded13 years ago 1 reply
GCC

Hello, I want to compile the current release of gcc 3.3.3 for my H8300S target. I configured the system with --target=h8300-hms after the...

Hello, I want to compile the current release of gcc 3.3.3 for my H8300S target. I configured the system with --target=h8300-hms after the configure is finishes I called the make command. Now I get an error message: ../../gcc/config/h8300/lib1funcs.asm: Assembler messages: ../../gcc/config/h8300/lib1funcs.asm:1: Error: no such instruction: `libgcc routines for the Hitachi H8/300 CPU.' ...


setting the environment for the m68k-elf-gcc toolchain

Started by tech...@gmail.com in comp.arch.embedded10 years ago 2 replies

Hi I'm trying to write an ADC driver for my ColdFire Board that runs on uClinux. For this, i have installed the toolchain : m68k-elf-gcc...

Hi I'm trying to write an ADC driver for my ColdFire Board that runs on uClinux. For this, i have installed the toolchain : m68k-elf-gcc from the uClinux site. My question, though pretty elementary is, how can I be sure that when i run my make file, it is invoking the m6k-elf-gcc compiler than the regular standard gcc compiler ?? I have added the uClinux toolchain to the PATH variable...


GCC compiler specific question

Started by Karl-Heinz Rossmann in comp.arch.embedded11 years ago 9 replies

Hi, I am looking for a builtin functionality of the GCC. Is there a way get an unambiguous number of each compiled/linked c-function? I want to...

Hi, I am looking for a builtin functionality of the GCC. Is there a way get an unambiguous number of each compiled/linked c-function? I want to use it as an index into a table for all functions of an embedded (cross GCC, M68k) executable. With the help of this index I would be able to define a table where I can store profiling information of my code e.g. by using timer values of a hardware t...


Which GCC Version to use with ARM7 ?

Started by Rasmus Fink in comp.arch.embedded11 years ago 15 replies

Hi, For a new product we are going to use an ARM7 and are now going to make an important choice : Should we stay with IAR or should we use...

Hi, For a new product we are going to use an ARM7 and are now going to make an important choice : Should we stay with IAR or should we use GCC. We are current leaning a bit towards GCC but we need som extra input here : What version should we use ? 3.x.x is not the newest but I beleive many of its bugs are known. 4.1.0 is the newest and generally considered stable. What are your exp...


errors while compiling device drivers

Started by yeah in comp.arch.embedded10 years ago

hi i have used Fedora core.And i got errors while compiling device driver programs from /uclinux/uClinux-dist/linux-2.6.x/drivers/video/ ....

hi i have used Fedora core.And i got errors while compiling device driver programs from /uclinux/uClinux-dist/linux-2.6.x/drivers/video/ . The device driver i have compiled is available at http://blackfin.uclinux.org/gf/project/linux-kernel/scmsvn/?action=br... The gcc version is "gcc (GCC) 4.0.0 20050519 (Red Hat 4.0.0-8) " and i used gcc command for compilation Help me to solv


GPDSC to GCC Makefile converter for ARM

Started by Anonymous in comp.arch.embedded1 year ago 1 reply

Hi, I wanted to be able to use the original STM32CubeMX tool for generation of initialization code, and skeleton of the firmware, and be...

Hi, I wanted to be able to use the original STM32CubeMX tool for generation of initialization code, and skeleton of the firmware, and be able to continue further development in the fully open GCC environment in Linux. Unfortunately, Cube does not generate the GCC Makefile. For "Other Toolchains" it generates the GPDSC file. After checking the contents of that file, I've managed to pr...


MCore + GCC

Started by hebnern in comp.arch.embedded9 years ago 2 replies

Hello All, I am working on a project based on the MCore MCU, and am having a rough time getting a basic test program working correctly. The...

Hello All, I am working on a project based on the MCore MCU, and am having a rough time getting a basic test program working correctly. The actual device that I am working with is the O-Navi Phoenix AX which has an embedded MMC2114. I am using a gcc 4.3.0 cross compiler under cygwin to build, and the PE Micro CableMC and ProgMCZ to flash the chip. I compiled newlib along with gcc, but am exclud...