Software :: Cross Compiling Software - With A Proprietary Toolchain - Unrecognized Host Platform?
Feb 28, 2011
We have a device here at work running an Arm processor, I have a cross-compiler for the device, it was distributed to our company with the linux distribution we are using on the device (montavista linux). I would love to be able to cross compile some software for this device, however, I really suck at this kind of thing.
Whenever I try to cross compile software, I usually get an error like "unrecognized host platform" (I'm paraphrasing obviously), but the toolchain is not that much different from a generic Arm toolchain, just with some extra libraries installed and stuff. I tried using other arm toolchains, but those are a crapshoot, they compile fine, but they don't always run correctly on the device (for instance, busybox).
The reason I get the unrecognized platform error is because the toolchain has a weird prefix on it (arm_v5t_le-) which the configure script can't handle, but if it would just try to cross compile it like it does with other arm targets, it would work fine. How do I make it work?
I am cross compiling a linux kernel for the mips platform. I have installed the tool chain and everything. When i try to build the kernel i get the following error message.
HOSTCC -static scripts/basic/fixdep scripts/basic/fixdep.c: In function traps scripts/basic/fixdep.c:377:2: warning: dereferencing type-punned pointer will break strict-aliasing rules scripts/basic/fixdep.c:379:4: warning: dereferencing type-punned pointer will break strict-aliasing rules [Code].....
If i set up the toolchain on a fedora 13 machine with the exact same procedure, the cross compilation works fine. I can't figure out how this can be fixed. I am currently considering downgrading to fedora 13 due to this.
What are the availability`s for cross platform sql , gui, application development using raw code in the Debian environment. I would rather work with raw code. I have been working with PHP MySQL, need to advance to Universe Application Development cross platform Raw Code for both mobile and desk top.
I'm looking for a way to create a cross-platform GUI application. The result must be able to run on linux, windows and OSX. And it must be a point-and-click GUI.For development I should be able to rely on Open-Source tools on linux only (that means no access to Windows or OSX)The target should be able to install the result relatively easily, that means any dependencies must be freely available, and the setup steps must be very minimal (probably means no installing development tools or running compilers)
My first thought was java, but the standard Swing GUI can look a bit ugly on some platforms. So I'm wondering if there's anything else. My next thought was C++/Qt, but I don't think I can cross-compile this from Debian for Windows or OSX, can I? Next I thought of python and PyQt, but it looks like PyQt isn't available for OSX. And finally I even thought of making some kind of web application running on a tiny web server of some kind, then accessing it with a native browser, but I'm pretty sure this doesn't meet the "easy to install" criteria. I'm finding this so tricky, do all the existing cross-platform applications use natively-compiled C++ for this? Or is there an obvious alternative that I'm overlooking?
I need to transfer a 4Gbyte file from my Linux netbook to a friends WinXP desktop. And I'd like to it with a usb flash drive, but it can't handle a file larger than 2Gbyte. A limitation due to the underlying FAT32 filesystem. But I don't wish to reformat my usb as ext3 either.
So I need to split my 4GByte file into smaller chunks. And the 'split' utility needs to be available on both Linux and the WinXP operating systems.
I am looking for a cross-platform LAN IM software for use on my home network, i've got some windows vista & Debian boxes. Is there any such software? I have looked around sourceforge and freshmeat. I tried J-Lan Communicator, it didnt work
I recently faced a problem. At my college, I linked my laptop with my friend's laptop with an ad-hoc wifi network. I wanted to send him a file. I was running Ubuntu, and he was running XP. Unfortunately, I could not find an easy way to send him the file. Another problem I faced was when I wanted to transfer the contents of my hard disk to another computer. I had to install Filezilla server on the other computer, and upload the files from one computer to the other.
I feel that its a really cumbersome method of transferring files in the same network. Mobile phones have bluetooth, and a file can be sent to another mobile very easily without any fuss. Does anyone know whether any such program exists already? If not, I want to write such a program that will allow one user to add another user to a personal network, and send or recieve files and/or communicate in other ways. The only language I know is Python (self-taught). I was wondering what GUI framework to use. I've never written a GUI program before, and would like to hear your opinions. This will be a very basic program, and must be able to run on many platforms.
I want to learn how to create computer software/programs. I want to be able to design them to be cross platform (Win32, OSX, Linux). I was wondering if anyone knows what kind of courses I need to take for this? And would it be possible to study by myself and learn it for free?
Is there any equivalent of WaitFOrMultipleObjects on Linux?
I was finding a cross Platform library that allow you to run another program from your C++ application. I found POCO but it does not support functionality like WaitFOrMultipleObjects for both (linux and windows). I tried boost Process but its not official till now.
I'm trying to persuade my classmate migrating to linux but they always fall back to windows when homeworks require creating GUI (graphical user interface) applications. Not only because C# and Window forms/WPF is so sissily easy to use. But some teachers only test homework on Window machine. I have tried pyGTK and wxPython but they have some flaws. wxPython seem a little bit messy with so many look-alike class name and it's ID based event binding is somewhat awkward. pyGTK seems nice and neat but it doesn't have Mac port yet.
I have made a game for Linux and want to release it soon (on linux & windows). Since its SDL/OpenGL and I dont do any special things it shouldn't be much porting to windows. Problem: Maintaining I have the game in code::blocks SDL project on Linux. So I got wine and installed wined Code::Blocks with MingW so I can cross compile on Linux. For another game I made, I used a Makefile which has "if" statements to set up compile variables. And everything else is totally identical to windows & linux (code, source files and etc...)
With codeblocks I got used to not having to worry about makefiles and it did well and I better focused on making the game rather than everytime a new file is added editing the makefile and etc... Is there some nice ways to have a cross platform environment to make it easy to make games for Linux and windows. I'm thinking of making my own system of auto-generating a makefile (essentially upgrading the setup I have for my previous game to auto add entry's to the makefile & some other stuff).
I want to manage music on a mobile phone. It's an MP3/MP4 player SmartPhone iPhone clone from this (de-spammed) address: xxxx: [URL] I want an app that can be used on both windows and Linux computers and that is as good as iTunes for managing media. What do you recommend?
I would like to be able to store all my important details and passwords in such a way that it is encrypted, easy to get the information out and is cross-platform. Basically, I am thinking that if I kick the bucket that I would like to make it as easy as possible for others to be able to access this information using a pre-arranged password.
Ideally I would like the files to contain the program that is needed to extract the data i.e. importantinfoLinux.sh inportantinfoWin.exe (Just like a self-containing zip). I haven't found anything along those lines.
The things I am currently thinking of is:
1) A password database program that is cross-platform like KeePass. WIth the bundle contining the relevant installers for win, linux and OS X and the database file.
2) An AES encrypted zip of the data with relevant programs to open it e.g. 7-zip on windows, peazip on linux and OS X
Has anyone got any thoughts on this? Any self-containing java encryption apps?
I am looking to find a program similar to nm-applet which can run on NetBSD. So far, I have found wpa_supplicant and wpa_gui. Am I on the right tracks? Basically, I want to scan for wireless networks and connect to them. When I start wpa_gui, I get "Could not find status from wpa_supplicant".
I'm sure most of you know that making a file or folder hidden is simple in the Linux world: Add a period (.) before the name. However, if you were to save such a file or directory to a flash drive, it would only be hidden on Linux systems. If you plug the flash drive into a Windows machine, Windows will happily show the file.Is there a way to make cross-platform hidden files?
I want to be able to encrypt files on my netbook with Ubuntu 9.04 UNR and on my MacBook (Mac OS 10.6.2) and be able to exchange them and decrypt them on the other platform.The Ubuntu command Edit>Encrypt is so easy to use but works only on the netbook. I haven't, thus far, found a program to open them on the Mac or to create an encrypted file on the Mac that I can open on the netbook.
I was trying to setup a cross-platform development environment with qt, an thus looked for the qt-sdk package I used to install on my 32-bit machine.This package appears to have been deleted from 64-bit ubuntu maverick, but I do not understand the details...
- Has this package been renamed, or is there another one in place of it?
- Is this package going to be available again in the future?
PS: I am aware that one can install the sdk by downloading the installer, but for unattended install I prefer the apt package...
I am making a text search engine. I need to first convert binary documents to text. I want to go with cross-platform (we develop both on windows and linux) command line (so that I can get the output via python subprocess). What are the choices for this?
I am trying to cross-compile my Qt application for armhf on Jessie, so what I did was install qt5-default:armhf, but when I tried running qmake I found out that it contains also an armhf version of qmake so I was not able to run it.Then I installed the amd64 version to have at least a runnable version of qmake, but it was only to find out that qmake contains only hardcoded paths, so I could not use it for the armhf libraries, well I could but I had to run qmake (amd64 version) and afterwards open the makefile and change all paths from amd64 to armhf.
But as this is not so convenient I was wondering if there is a normal way to do this, I know you can compile the source yourself but I had quite a lot of problems with dependencies there. Is it possible with the standard repository binaries or should I just go back to compiling the source myself? Maybe I can compile only the building tools without building all the libraries I already got from the repository.
I try to cross compile udev-160 for arm.I use the buildroot toolchain.I work on a PC i386 with the Debian system.I started by running "configure" script to generate the makefile:$./configure --host=arm-linux
but I obtain the following error :checking for acl_init in -lacl... no configure: error: libacl not found
I don't know how to install the libacl for ARM. I can't found the libacl when I configure the buildroot toolchain.
I'm trying to build some boot and kernel images for my WD Mybook world edition, which uses an arm processor on my x86_64 host box. Ultimately i'd like to install slackarm. Lilo doesn't work on arm so you have to compile your own kernel and have the bootloader statically linked to kernel inorder to boot the OS. So i'm using my slackware install to cross compile the boot loaders (u-boot) and kernel image (uImage).
I've successfully compiled the buildroot environment which has generated the arm-linux-* binaries, eg, gcc 3.4.2 for arm.
Code:
These are in a build folder (shortened in text below), which i add to my PATH
Code:
I then move to the directory where i want to build the stage1 boot loader, which is supplied in the GPL code from WD.
Code:
However the build fails with a segfault, which looks to be caused by the incorrect libraries and compiler being used:
Code:
It seems to be using my x86_64 libs and gcc 4.4.4 which is the host compiler not the target.
I've tried setting ARCH=arm but got the same results.
Do i need to export some additional variables or unset some to prevent the host files being used instead of the targets?
I have synology nas box DS710+ that has intel atom processor inside. i've installed ubuntu under virtual box, downloaded needed toolchain for x86 processors, and decided to cross-compile openvpn.
I 've started from compiling lzo library, but first question that appeared in my head - how i have to move all compiled binaries to my synology?
1. configure - okay 2. make - okay 3. make install - this is not necessary?
Will --prefix parameter helps me? or do i have to use chroot? cause there is a plenty amount of files that i need to move to my synology.
I developed a test program(my first under linux) some thing like g++ -I$(BOOST_INCLUDE) -L$(BOOST_LIBS) threading.cpp -lpthread -lboostThread -lOtherLib -o threadingTest.out...This thing works in GCC4.5, but to compile it under windows visual studio 2008, do I have to create a new project file and then include all libs? In short, is there any IDE or utility, where I just compile it either on linux or windows without going and modifying project options again and again ?