toolchain

How do I get Eclipse to find and use a gcc based toolchain in a non-standard location

Hi, I am trying to get Eclipse to work with a GCC based ARM cross compiler. How can I configure eclipse to add the new tool chain to its list of tool chains? The tool chain is a Raisonance distributed GCC tool chain: C:\Program Files\Raisonance\Ride\arm-gcc\bin\arm-none-eabi-gcc.exe ...

ARM linux and cross toolchain issue

Hi, I have a problem probably with my arm toolchain but maybe there's something other that I do wrong. I have Chinese made dev board qq2440 using Samsung s3c2440 ARM9 uC. I'm using Ubuntu x86 with native gcc(4.3.3) and cross-compile version arm-unknown-linux-uclibc-gcc (crosstool-NG-1.3.2) 4.3.2 I followed tutorials from http://blog.le...

iPhone Caller ID Retrieval - TOOLCHAIN

Hi everyone, I was wondering if there was any way to get the Caller ID of an incoming call on the iPhone, I am currently playing with SBTelephony.h (SpringBoard header) and the CoreTelephony.framework and I am not really seeing how to do this. I am planning on using this for a dylib using WinChain/ToolChain etc. Thank you! ...

What Toolchains Support Passing in a Nodeset to an XSLT Transformation as a Parameter?

This is a followup to an answer on a previous question I had about XSLT. To recap, I didn't realize that without EXSLT, XSLT wouldn't let you dynamically create an xpath expression with string values. One of the suggested workarounds was to query the input document's DOM before you execute the transform, and pass the node-set into...

Eclipse CDT toolchain question

Hi. I want to use Eclipse CDT as an editor. I work in windows machine (since it more poserfull compiuter), while the toolchain resides on the linux box. Now I open Eclipse, create empty project in the proper directory (disk on linux machine where the sources reside) and I add the sources (just drag-n-drop) into the project. All I want is...

Difference between load-time dynamic linking and run-time dynamic linking

When loading programs into memory, what is the difference between load-time dynamic linking and run-time dynamic linking? ...

OpenSource FPGA Development

I want to pick up FPGA programming. I've heard all types of horror stories of proprietary tools. Is there any entirely open source tool chain available? If not, how should I learn this? My background: familiar with scheme, c++, assembly, mips architecture. Thanks! ...

C++, the "Old Fashioned" way

I have been learning C++ in school to create small command-line programs. However, I have only built my projects with IDEs, including VS08 and QtCreator. I understand the process behind building a project: compile source to object code, then link them into an executable that is platform specific (.exe, .app, etc). I also know most proj...

ccs compiler multiple compilation units feature

When using the CCS compiler's multiple compilation units feature, I stumbled upon what seems to be a pretty serious bug: The setup is a header file defining a #bit in a #byte, two compilation units #include-ing the header file and a function referring to said #bit. It seems that the function's code (specifically using the correct addre...

Best toolchain/IDE for ARM Cortex-M3 mcu?

There are quite a few IDE available for ARM, which one's good? What's your experience with anyone of them? Keil™ RealView® MDKARM IAR Systems Embedded Workbench® CodeSourcery G++ GNU Code Red Technologies Red Suite Code Composer Studio™ IDE WinARM anymore? ...

Advice on building a cross-compiler for Xscale ARM?

I am playing around with a PXA270 Xscale development board (similar to the Gumstix), and was provided a cross compiler, but it is GCC 3.3.3. I would like to learn how to build my own cross compiler, so I can customize the setup, but have had trouble getting crosstools and crosstools-ng to successfully build a toolchain. My main needs a...

iphone tcp/ip via accessory port??

I'd love to be able to mod the iPhone tcp/ip stack to route packets over the accessory port either serial or better yet USB or Firewire... The applications I'm researching wouldn't be able to use WiFi, 3G or bluetooth... Custom apps could be written to use the serial port available via the accessory port, but it would be nice to suppor...

What is the state of C99 support in major compilers / toolchains?

A response to a comment I made here made me stop and think: "I don't really know what the state of C99 support is." Wikipedia gives details for a few compilers, but I'm not familiar enough with C99 to know all the bits and pieces of the standard, so I'm looking for a gestalt overview answer to the question: What is the state of C99 sup...

'object' undeclared <first use in this function>

I am using Winchain to develop on my Windows 7 machine. Here is my code: iPhoneTest.h #import <Foundation/Foundation.h> #import <UIKit/UIKit.h> @interface iPhoneTest : UIApplication { UITextView *textview; UIView *mainView; } @end iPhoneTest.m #import "iPhoneTest.h" #import <UIKit/UIKit.h> #import <Foundation/Foundation.h>...

How to make sure an Android app was really compiled from said source code?

A lot of Android apps are open source, but how can we make sure the person who finally uploads to the Google Market does not include some spyware just before uploading? Background: Mobile apps security seems to be a growing concern, and I would like to reassure the users of my Open Source Android app. Solutions that require to modify th...

Add a custom tool to toolchain to remove UTF-8 BOM before compile

My question is in the context of Code::Blocks and its tweaked version of MinGW, and Notepad++ . I want to be able to include Unicode literals in my source, and I can, so long as I use UTF-8 and not use a BOM. This works fine, up to a point, but it BOMs out (bad pun) whenever I reopen the file; it (not surprisingly) has this un-nerving ...

configure: error: Building in the source directory is not supported in this release.

I am trying to build the iPhone toolchain under Ubuntu 10.04 and I encountered an error: mohit@mohit-laptop:~/Documents/toolchain/iphone-dev/llvm-gcc-4.0-iphone$ ./configure --enable-llvm=`llvm-config --obj-root` --enable-languages=c,c++,objc,obj-c++ --target=arm-apple-darwin --enable-sjlj-exceptions --with-heavenly=/usr/share/iphon...

Strict ISO C Conformance Test

I am currently working on a C project that needs to be fairly portable among different building environments. The project targets POSIX-compliant systems on a hosted C environment. One way to achieve a good degree of portability is to code under conformance to a chosen standard, but it is difficult to determine whether a given translati...

GCC Reducing Binary Bloat -- Strange Side Effect

The Weirdness I have compiled Google Protocol Buffers using no extra parameters for a "bloat" compile, and compile with the following command ./configure CXXFLAGS="-ffunction-sections -fdata-sections". a du-h reveals: 120K ./bloat/bin 124K ./bloat/include/google/protobuf/io 8.0K ./bloat/include/google/protobuf/compiler/java 12K ./bloat...

Getting error on compiling newlib

Hello everyone I am trying to build a arm toolchain from scratch. I am referring to this site. http://www.nixit.co.uk/cortex-m3-mac-1 Followed all the instructions carefully. Everything went well till newlib compilation. I am getting strange error. /bin/bash: arm-none-eabi-cc: command not found So I checked the Makefile there is a ...