toolchain

Eclipse CDT does not find either Cygwin or MinGW toolchain

☆樱花仙子☆ 提交于 2019-12-04 17:45:38
问题 I am having hard times to configure Eclipse Juno to for C/C++. I am a Windows user, so I have installed Cygwin and MinGW , and CDT under Eclipse. Also configured the PATH variable correctly, though I still do not have any new toolchain in Eclipse C/C++ new project. These are my Eclipse details: Eclipse Java EE IDE for Web Developers. Version: Juno Release Build id: 20120614-1722 Also, see image of installed component of Eclipse. Enclosed some outout from Windows command line: C:\>echo %path%

Building native library with standalone toolchain android arm

假装没事ソ 提交于 2019-12-04 07:26:20
I am trying to build libraw as a Android shared library. It looks the lib is too complex to use with Android.mk etc, or better: I am not capable yet of doing that. I tried the route of using a standalone toolchain from the NDK, but I am getting stuck when compiling this lib. This is the path I take to compile the lib. Please point out if I am making obvious errors: I downloaded the ndk. ran: make-standalone-toolchain.sh Added the bin folder of that standalone toolchain as first item in my PATH . Ran ./configure with --host=arm-linux-androideabi . This succeeded Ran make , here it crashed very

Setting up COBOL Compiler under Mac OS?

拥有回忆 提交于 2019-12-03 14:25:54
In my university, we're being taught COBOL, and I'm trying to get a head start and learn COBOL, C++, and Java before I get into the classes next year. Problem is; COBOL is so old, it's hard to grab support for it in mac (my laptop is a mac). I understand it runs fine on Mac, but finding someone who can explain how to set up the compiler is another story. You can use brew to install GNU Cobol (Open Cobol). Just type: brew install gnu-cobol Then to compile program use: cobc -x hello.cob Browse --help for more option (like super nice -free ) Is there a particular Cobol you are trying to use. If

C++, the “Old Fashioned” way

北城余情 提交于 2019-12-03 09:39:02
问题 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 projects also use make to streamline the process of compiling and linking multiple source and header files. The thing is, although IDEs do all this under the

gcc options for a freescale iMX6q ARM processor

纵然是瞬间 提交于 2019-12-03 07:38:10
问题 I am trying to figure out gcc options for a toolchain I am setting up, for development board: Sabre-lite which is based around the Freescale's iMX6q quad processor. Now I know that iMX6 is basically a cortex-a9 processor that has co-processors vfpv3 and neon, and also vector graphics, 2D and even 3D engines. However, the release notes and use guide docs haven't been too clear on how to enable any options that can be enabled in gcc. In fact the options that I can 'play' with are the following.

C++, the “Old Fashioned” way

拥有回忆 提交于 2019-12-03 01:20:21
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 projects also use make to streamline the process of compiling and linking multiple source and header files. The thing is, although IDEs do all this under the hood, making life very easy, I don't really know what is really happening, and feel that I need to get

gcc options for a freescale iMX6q ARM processor

这一生的挚爱 提交于 2019-12-02 22:37:17
I am trying to figure out gcc options for a toolchain I am setting up, for development board: Sabre-lite which is based around the Freescale's iMX6q quad processor. Now I know that iMX6 is basically a cortex-a9 processor that has co-processors vfpv3 and neon, and also vector graphics, 2D and even 3D engines. However, the release notes and use guide docs haven't been too clear on how to enable any options that can be enabled in gcc. In fact the options that I can 'play' with are the following. -march= armv7-a - ok this one is pretty obvious. -mfpu= vfpv3/neon - i can use only the vfpv3 co

Using armhf as a secondary toolchain in Yocto

我们两清 提交于 2019-12-02 10:28:13
I am currently working on a board booting in 64 bit mode using aarch64 and I have a u-boot in 32 bit mode, I would use arm-linux-gnueabihf. I looked around but there's no other way than using a secondary toolchain via: open-embedded tutorial to use a secondary toolchain Nevertheless, impossible to make it work. Intel made a layer (meta-tc-icc) but it's old and I didn't manage to make it work neither. Any idea how to configure it ? So there's a few ways around this. The general answer for your problem is that you need to have two machine.conf files for this particular setup, build 32bit U-Boot

Where to find nm tool (compiled or source code) for Android

倖福魔咒の 提交于 2019-12-01 01:30:06
I want to create an application that is able to list all symbols of a dynamic library .so file in Android. I want to ask if there is precompiled nm for Android or at least nm's source code so that I can compile it myself. nm is part of binutils . You can get the source code from http://ftp.gnu.org/gnu/binutils . You can also find arm supporting binary (compiled for host, linux-x86) in Android NDK . If you need a binary for Android target, you can try to build it by obtaining latest Android repository, navigating to external/elfutils. However I don't think there is an Android.mk building it, so

QtCreator on Windows to Cross Compile for Linux ARM with CodeSourcery Toolchain

扶醉桌前 提交于 2019-11-30 21:30:59
I have Qt Creator installed on my Windows 7 machine and my target is an OMAP3 Embedded Linux board. I downloaded the target toolchain, Sourcery-G++ Lite for Windows, and also installed MinGW ( http://www.mingw.org/ ) on my Windows Machine. In QT Creator I added the CodeSourcery toolchain as a 'Manual' toolchain as shown in the image below. Then, I tried to build the demo Qt App 'analogclock' using this toolchain by editing 'Build Settings' under 'Projects' for the 'analogclock' demo app. But the toolchain is not available here under Build Settings as shown in the second image. How can I