Can someone help me to build gnucc form arm?
2003-12-16 by arturo_tramontini
Yahoo Groups archive
Index last updated: 2026-04-28 23:31 UTC
Thread
2003-12-16 by arturo_tramontini
I've used keil uvision3 demo for some test lpc2106, i like it, but the cost of running version is out of my budget (vendors ask about 1700eu.+tax), so i ask me if someone can help me in building the arm compiler/linker gnu for windows.xp (i hate pc-windows ,but, for now, i must live with them), ok - in any way - greats thanks at anyone! enjoy life! artur.
2003-12-16 by Oliver Schneidewind
arturo_tramontini worte : > I've used keil uvision3 demo for some test lpc2106, i like it, but > the cost of running version is out of my budget (vendors ask about > 1700eu.+tax), so i ask me if someone can help me in building the > arm compiler/linker gnu for windows.xp (i hate pc-windows ,but, for > now, i must live with them), ok - in any way - greats thanks at > anyone! > enjoy life! > artur. Bill Gatliff have on his Homepage a good instruction to build the gcc for a ARM. The link is : http://www.billgatliff.com/articles/gnu/gnu-arm7t.html/index.html For the lpc2106 , use as target "arm-thumb-elf" and if you ready to Compile you need the switch "-mcpu=arm7tdmi" for the gcc. sincerely yours Oliver Schneidewind
2003-12-16 by Leon Heller
----- Original Message -----
From: "arturo_tramontini" <a.t@...> To: <lpc2100@yahoogroups.com> Sent: Tuesday, December 16, 2003 9:40 AM Subject: [lpc2100] Can someone help me to build gnucc form arm? > I've used keil uvision3 demo for some test lpc2106, i like it, but > the cost of running version is out of my budget (vendors ask about > 1700eu.+tax), so i ask me if someone can help me in building the > arm compiler/linker gnu for windows.xp (i hate pc-windows ,but, for > now, i must live with them), ok - in any way - greats thanks at > anyone! Keil uses GNU, don't they? You could just use the GNU tools from the command line when their IDE etc. expires. Leon -- Leon Heller, G1HSM Email: aqzf13@... My low-cost Philips LPC210x ARM development system: http://www.geocities.com/leon_heller/lpc2104.html
2003-12-16 by Lewin A.R.W. Edwards
> Keil uses GNU, don't they? You could just use the GNU tools from the command > line when their IDE etc. expires. uVision supports integration either with the GNUPro tools [which Keil supplies] or with the ARM tools, if you have them. The IDE does not expire, or at least the version I was given doesn't. The limitation on it is that the debugger can only handle 16K of code, and you are not permitted to ship commercial apps that have been debugged with the debugger. I am still trying to get a positive answer on whether it is permissible to ship commercial apps that just happened to be compiled with the demo IDE. (BTW: Hi, Leon. I'm getting "heavily" involved in the LPC2129, as part of a book project. Expect to see me around here a lot :). -- Lewin A.R.W. Edwards (http://www.zws.com/) Learn how to develop high-end embedded systems on a tight budget! http://www.amazon.com/exec/obidos/ASIN/0750676094/zws-20
2003-12-16 by Leon Heller
----- Original Message -----
From: "Lewin A.R.W. Edwards" <larwe@...> To: <lpc2100@yahoogroups.com> Sent: Tuesday, December 16, 2003 12:10 PM Subject: Re: [lpc2100] Can someone help me to build gnucc form arm? > > Keil uses GNU, don't they? You could just use the GNU tools from the > command > > line when their IDE etc. expires. > > uVision supports integration either with the GNUPro tools [which Keil > supplies] or with the ARM tools, if you have them. > > The IDE does not expire, or at least the version I was given doesn't. > The limitation on it is that the debugger can only handle 16K of code, > and you are not permitted to ship commercial apps that have been > debugged with the debugger. > > I am still trying to get a positive answer on whether it is permissible > to ship commercial apps that just happened to be compiled with the demo > IDE. > > (BTW: Hi, Leon. I'm getting "heavily" involved in the LPC2129, as part > of a book project. Expect to see me around here a lot :). I suppose we can put up with that. 8-) Have you actually got hold of any '2129s? Leon -- Leon Heller, G1HSM Email: aqzf13@... My low-cost Philips LPC210x ARM development system: http://www.geocities.com/leon_heller/lpc2104.html
2003-12-16 by Lewin A.R.W. Edwards
Hi Leon, > Have you actually got hold of any '2129s? I have one on the desk next to me. However, there are apparently only four other EVBs of this model in the United States, so supply may be a little thin right now. I'm also not sure how secret it is at the moment. All the datasheets I have are festooned with dire warnings, predictions of seven plagues, photographs of four horsemen, etc. -- Lewin A.R.W. Edwards (http://www.zws.com/) Learn how to develop high-end embedded systems on a tight budget! http://www.amazon.com/exec/obidos/ASIN/0750676094/zws-20
2003-12-16 by Bill Knight
On Tue, 16 Dec 2003 09:40:33 -0000, arturo_tramontini wrote: I've used keil uvision3 demo for some test lpc2106, i like it, but the cost of running version is out of my budget (vendors ask about 1700eu.+tax), so i ask me if someone can help me in building the arm compiler/linker gnu for windows.xp (i hate pc-windows ,but, for now, i must live with them), ok - in any way - greats thanks at ---------------------------------------------------------------- Keil uses GNUpro which does not expire and can be used without having to purchase it. HOWEVER, the version of GNUpro that Keil is shipping was built with uClibc (not newlib). uClibc is LGPL licensed, so be VERY cautious about creating and shipping product built with it. For open source work it may do just fine. For commercial work, you may be required to make at least the object code available to your customers on demand. Regards -Bill Knight R O SoftWare
2003-12-16 by Pablo Bleyer Kocik
http://www.ariusdsp.com/gnuarm/ You can help us test the distro if you use it ;^) Regards. At 06:40 16-12-2003, you wrote:
>I've used keil uvision3 demo for some test lpc2106, i like it, but >the cost of running version is out of my budget (vendors ask about >1700eu.+tax), so i ask me if someone can help me in building the >arm compiler/linker gnu for windows.xp (i hate pc-windows ,but, for >now, i must live with them), ok - in any way - greats thanks at >anyone! >enjoy life! >artur.
2003-12-16 by David Willmore
> Bill Gatliff have on his Homepage a good instruction to build the gcc > for a ARM. The link is : > http://www.billgatliff.com/articles/gnu/gnu-arm7t.html/index.html > > For the lpc2106 , use as target "arm-thumb-elf" and if you ready > to Compile you need the switch "-mcpu=arm7tdmi" for the gcc. > > sincerely yours > Oliver Schneidewind I built the toolchain last night in anticipation of producing code for chips that are anticipated shortly. :) The default instructions didn't work for me, so I made a few changes. I also made some changes to customize the generated tools for the lpc21xx family. For the final gcc build, I did: ../gcc-3.3.2/configure --target=$TARGET --prefix=$PREFIX --with-gnu-as --with-gnu-ld --disable-shared --with-newlib --disable-threads --with-cpu=arm7tdmi --enable-target-optspace --enable-languages=c --with-headers The only important part was the --enable-languages=c, I think. It was having trouble building the C++ standard library--why, I'm not sure. The other stuff just looks like it would be handy. --disable-shared -- well, there's no OS on there to provide shared libraries, so no point in building in support for them. --disable-threads -- I'm not building a multithreading executive --with-newlib -- it's not obvious if this was needed, but it seemed save to add as I was using newlib. --with-cpu=arm7tdmi -- this just tells the compiler that the default target for which to produce code is the arm7tdmi, so we never have to specify it on the command line when we build code. --enable-target-optspace -- I have no idea if this makes any difference at all, but it might. It tells the compiler to optimize for space on generated code. Seems handy for these little chips. --enable-languages=c -- tells it to just build the C compiler. It's all I plan to program in--aside from assembly. I used this to keep it from building C++ and the problems that was having. --with-headers -- this tells it to build with a different set of system headers. It should get the path correctly from the --prefix option. Oh, I think you can speed up the build by adding a '--enable-languages=c' to the bootstrap build of the compiler as I don't think the other ones are used. I was doing this on a Linux host. Running RH9 with all current updates. Good luck! Cheers, David
2003-12-16 by Hugh O'Keeffe
Hi, the GNU chain is available prebuilt at the following location: http://www.ariusdsp.com/gnuarm/index.html this was posted to comp.sys.arm recently. Hope this helps. Hugh @ http://www.ashling.com/support/lpc2100/