{To TomW} GCC-Bug in IRQs

Started by Sten in LPC200012 years ago 52 replies

Hello Tom, some days ago I discovered a GCC bug on interrupt service routines for functions with __attribute__((interrupt("IRQ"))). At...

Hello Tom, some days ago I discovered a GCC bug on interrupt service routines for functions with __attribute__((interrupt("IRQ"))). At GCC-Bugzilla I found that this bug has still been reported in 2005 under bug report #16634 in which you are involved in. Do you know why this bug is still "UNCONFIRMED"?!? The bug still persists in: arm-elf-gcc (GCC) 4.0.1 arm-elf-gcc (GCC) 4.1.0 Do y...


Some Questions: IDE for GCC

Started by unity0724 in LPC200013 years ago 8 replies

Hi, Some Questions: My Arm GCC for LPC21xx is not very well setup on my PC, and thinking of... a) UltraEdit+GCC Had...

Hi, Some Questions: My Arm GCC for LPC21xx is not very well setup on my PC, and thinking of... a) UltraEdit+GCC Had anybody tried using UltraEdit32 as simple IDE for GCC? I'm thinking of buying a copy of UltraEdit32 and use it on either GCC from gnua


GCC/gnude can't use libc.a?

Started by Mike Pijl in LPC20005 years ago 13 replies

I can't quite believe i'm having this problem! i'm a professional software/hardware developer but not in the GCC/Arm world. I'm a real newbie...

I can't quite believe i'm having this problem! i'm a professional software/hardware developer but not in the GCC/Arm world. I'm a real newbie in GCC but have C experience on other platforms. I'm so stuck...but I suspect it must be something very simple. I have a very basic GCC program that can't access any of the standard functions. I'm targeting a philips LPC2129 ARM7 processor. I ri...


ARM-ELF-GCC

Started by Gus in LPC200014 years ago 1 reply

Hello, I am trying to see if ARM-ELF-GCC is good enough for release code or it is just a way to start. Did anyone do...

Hello, I am trying to see if ARM-ELF-GCC is good enough for release code or it is just a way to start. Did anyone do comparason on GCC and other complers, like IAR for example? Does GCC have a lot of bugs? Here is what I found when I tried a small p


Bug in gcc parser

Started by 42Bastian Schick in LPC200012 years ago 4 replies
GCC

FYI, a co-worker found a bug in gcc parser (all gcc's I could get hands on): Following bails out (but compiles correctly on all other...

FYI, a co-worker found a bug in gcc parser (all gcc's I could get hands on): Following bails out (but compiles correctly on all other compilers I could get hands on): int a = 0x3e+2; gcc seems to take it as scientific notation. Regards, -- 42Bastian Schick


[LPC2388] ARM gcc vs uVision startup files

Started by neliz_x in LPC20009 years ago
GCC

Diving into ARM development using GCC as a compleet newby to the whole ARM development, I was wondering if someone could explain to me the working...

Diving into ARM development using GCC as a compleet newby to the whole ARM development, I was wondering if someone could explain to me the working of the Startup.s file. Specificly why the gcc version (found in a lot of the gcc projects) is different from the uVision version. For example the whole "System Control Block module configuration" section is left out in the for GCC. Is this SBC modu...


GCC help with EA sample files

Started by "Dyer, Frank" in LPC20009 years ago 1 reply

First - I am a complete 'newbie' with LPC24xx and GCC tools, so please be kind ;) I purchased the Embedded Artists LPC2478 QVGA Board...

First - I am a complete 'newbie' with LPC24xx and GCC tools, so please be kind ;) I purchased the Embedded Artists LPC2478 QVGA Board Bundle (http://www.embeddedartists.com/products/uclinux/oem_lpc2478.php) and am trying to get their own sample apps compiled using GNUARM GCC 4.2.2 and LPC2xxx-gcc-newlib: I installed the distributions: bu-2.18_gcc-4.2.2-c-c++_nl-1.15.0_gi-6.7.1.exe LPC2...


Exception frame data "eh_frame"

Started by Scott in LPC20008 years ago

I just recompiled a program I wrote for LPC2138 on a new platform. Changes are: - From Winarm/GCC under Windows to GCC under Ubuntu Linux...

I just recompiled a program I wrote for LPC2138 on a new platform. Changes are: - From Winarm/GCC under Windows to GCC under Ubuntu Linux (09.10) - From GCC 4.1.2 to GCC 4.4.2 Most of the build output was identical except a new section of data was created called "eh_frame". I understand this is related to call frames that must be unwound during the processing of an exception. As I don't do th...


FIQ ISR for GCC !!!

Started by venkat_oct10 in LPC20009 years ago 2 replies
GCC

Hello, Could anyone send me the FIQ ISR example code for GCC compiler, I am using 2148. How is the decleration to be done for FIQ INT in...

Hello, Could anyone send me the FIQ ISR example code for GCC compiler, I am using 2148. How is the decleration to be done for FIQ INT in GCC, The decleration differs from keil compiler and GCC. Could not use the Keil example code as the decleration shows me error in GCC. Thanks in advance -venkat ------------------------------------


Problem with IAP and GCC

Started by titi_toon in LPC20009 years ago 3 replies

Hello, I am using GCC on a LPC2138. Did someone manage to have the IAP work with GCC ? Thank you very...

Hello, I am using GCC on a LPC2138. Did someone manage to have the IAP work with GCC ? Thank you very much. Jerome ------------------------------------


Code pointer with GCC

Started by Sebastien Jacquemard in LPC200012 years ago 3 replies
GCC

Hello, I need to declare a pointer to code with GCC. With 8051 and keil PK51 I do this for exemple "char code *p" How can I do the same...

Hello, I need to declare a pointer to code with GCC. With 8051 and keil PK51 I do this for exemple "char code *p" How can I do the same thing with GCC (I use GCC with keil IDE) ? Thanks, Sebastien


GCC & LPC2100

Started by Andreas Schwarz in LPC200014 years ago 1 reply

Hello, is there a howto for GCC + LPC2100? I have built binutils, gcc and newlib under linux, what else do I need to really use...

Hello, is there a howto for GCC + LPC2100? I have built binutils, gcc and newlib under linux, what else do I need to really use the compiler for LPC2106 software development? init code? Linker script? Where do I get it, how do I use it? Is there anything else I have to take ca


Fwd: gcc 4.4.0 arm/thumb interwork _from_arm bad stub generation

Started by Miguel Angel in LPC20008 years ago 1 reply

I sent this email to gcc-help, but may be somebody here had the same problem before. My GCC is generating broken "_from_arm" stubs sometimes...

I sent this email to gcc-help, but may be somebody here had the same problem before. My GCC is generating broken "_from_arm" stubs sometimes in interworking mod= e. Thanks in advance, Miguel Angel. ---------- Forwarded message ---------- From: Miguel Angel Date: 2009/6/13 Subject: gcc 4.4.0 arm/thumb interwork _from_arm bad stub generation To: g...@gcc.gnu.org Hello, =


GCC and Variable Initializations

Started by aerguin in LPC200010 years ago 30 replies

Hi, I'm having some big trouble when I initialize a variable in its declaration. I'm using Eclipse + GCC (cygwin). For example if I do int...

Hi, I'm having some big trouble when I initialize a variable in its declaration. I'm using Eclipse + GCC (cygwin). For example if I do int x = 10; Nothing, the space for x is alocated in ARM but not the 10 value assigned to it. Doesn't matter if the x is local or global. I don't know where the problem is, maybe it's some GCC stuff? Or my linking and memory allocation is wrong? ...


KEIL uVision with gcc: gcc or as doesn't start

Started by ottorichter100 in LPC200011 years ago 4 replies

Hi out there, I had to change from KEIL C to GNU/gcc und uVision3. But when I press the compile-button I get : --- Error: can't execute 'gcc'...

Hi out there, I had to change from KEIL C to GNU/gcc und uVision3. But when I press the compile-button I get : --- Error: can't execute 'gcc' or --- Error: can't execute 'as'. uVision3 seems not to find the programs. What's wrong ? Thank you for help, Otto ------------------------ Yahoo! Groups Sponsor --------------------~--> Yahoo! Groups gets a make over. See the new email de


Winarm and sprintf

Started by Taris in LPC20008 years ago 17 replies

I'am new in GCC compilers. How can i use sprintf function with WinArm gcc compiler (Version 20060606). When i try use the sprintf function , comes...

I'am new in GCC compilers. How can i use sprintf function with WinArm gcc compiler (Version 20060606). When i try use the sprintf function , comes next error: -------- begin -------- arm-elf-gcc (GCC) 4.1.1 (WinARM) Copyright (C) 2006 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FO...


Re: GCC for ARM

Started by "FreeRTOS.org Info" in LPC200010 years ago

> Hi all, > My question is to all those who use GCC. I wrote a code in C=20 > and compiled it for ARM using GCC and a ".o" was...

> Hi all, > My question is to all those who use GCC. I wrote a code in C=20 > and compiled it for ARM using GCC and a ".o" was created.=20 It sounds like you have only compiled your source files, not linked them into a single executable.=20=20 > But=20 > how do I specify where the address of registers specific to=20 > my microcontroller.=20 When linking you supply a linker script to de


LPC2294 GCC Start

Started by dimaissaev in LPC200013 years ago 5 replies

Hello all. I try to use GCC with this this microprocessor. But it's don't work. I'm use a Phytec board. Could anyone send...

Hello all. I try to use GCC with this this microprocessor. But it's don't work. I'm use a Phytec board. Could anyone send me any examples, how-to use gcc with this chip at all? Any example like "blink"? I think that problem in a "user validation


Problem with makefile for gcc installation - GNUARM

Started by in LPC200012 years ago

Good day, I am installing the Linux tools as described in the support page of www.gnuarm.com Installing the binutils went flawless....

Good day, I am installing the Linux tools as described in the support page of www.gnuarm.com Installing the binutils went flawless. Configuring the gcc compiler goes fine too, but I am getting trouble with making and installing. This is the command for configuring [root@linuxmobile gcc-4.0.2]# gcc/configure --target=arm-elf --prefix=/usr/local/gnuarm-4.0.2/ --enable-interwork --enable-mu


Re: OT: Cortex-M3 groups and GCC

Started by Paul Curtis in LPC200010 years ago

Hi, > I appeal to the group's wide ranging knowledge :) > > The Stellaris Cortex-M3 parts look quite interesting. In particular, > the...

Hi, > I appeal to the group's wide ranging knowledge :) > > The Stellaris Cortex-M3 parts look quite interesting. In particular, > the 28 pin variants, and the LM3S6965. Based on the Googling I've > done (when did Google get verbified, anyway?), there are no GCC builds > for the Cortex, unless you go with a vendor build. It looks like GCC > 4.3 (tentative release date for mid-March) w