Programming :: Cross-Platform Compiling -m32 Flag

May 14, 2010

I have an odd thing. And thats the following:

I entered: gcc raw.c -m32 -g -static -o raw

And I got:

I installed all bin32 libs I am on a x64 system.

View 6 Replies


ADVERTISEMENT

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?

View 6 Replies View Related

Debian Programming :: Cross Platform Sql Gui Apps

Jun 8, 2014

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.

View 1 Replies View Related

Debian Programming :: Way To Create Cross-platform GUI Application

Oct 30, 2014

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?

View 6 Replies View Related

Programming :: Cross-platform LAN File Exchange Program?

Sep 2, 2010

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.

View 6 Replies View Related

Programming :: How To Design Cross Platform Computer Software

Jun 3, 2010

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?

View 13 Replies View Related

Programming :: Finding A Cross Platform Library That Allow To Run Another Program?

Aug 19, 2010

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.

View 1 Replies View Related

Programming :: What Cross-platform GUI Toolkit Can Work For Both Mac And Windows

Dec 27, 2009

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.

View 4 Replies View Related

Programming :: Maintain A Cross Platform SDL/OpenGL Project?

Feb 11, 2011

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).

View 2 Replies View Related

Debian Programming :: Cross Compiling With Qt

Dec 11, 2014

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.

View 0 Replies View Related

Programming :: Basic Cross Compiling Tutorial?

Feb 4, 2010

I have written a program that I would like to cross compile for x86 and x86_64 architectures. I have tried google and the search function here to no success, most information I find is too specific (instructions for a specific program), or dealing with cross compiling for windows on linux.Does anyone know of a tutorial dealing with straight making a 32 bit binary on a 64 bit processor (both are intel)?

View 2 Replies View Related

Programming :: Sms Server Tools Cross Compiling

Apr 11, 2010

I wanted to cross compile sms server tools(url)for arm-linux with arm-linux-gcc compiler but I can not this is all information that I have from it's error:

Quote:

[root@localhost smstools3]# ls
doc examples install.sh LICENSE Makefile package.sh README scripts src uninstall.sh

Quote:

[root@localhost smstools3]# cat Makefile
# Makefile
# If you change destination of executables, remember to change
# startup script (init.d/sms3) too.
#BINDIR=/usr/local/bin
BINDIR=/mnt/sd/Utility/sms/ ///I changed here for cross compilation
code....

View 3 Replies View Related

Debian Programming :: Cross-compiling A Kernel For I386-elf

Nov 14, 2013

I just finished building a cross-compiler for i386-elf. But when I try to use it, the terminal gives me this error:

Code: Select all/home/isaac/Cross-compiler/lib/gcc/i386-elf/4.8.2/../../../../i386-elf/bin/ld: cannot find crt0.o: No such file or directory
/home/isaac/Cross-compiler/lib/gcc/i386-elf/4.8.2/../../../../i386-elf/bin/ld: cannot find -lc
collect2: error: ld returned 1 exit status

View 13 Replies View Related

Programming :: Sms Server Tools Cross Compiling Sms Server Tool For An Embedded Computer And Make Just One Binary File For It?

Mar 27, 2010

I wanted to know how can I cross compile SMS SERVER TOOL for an embedded computer and make just one binary file for it or how can I change all of its default files places like its demon and object file and gather all of them to one directory to execute and use and run.let me explain it better for you : I have an embedded computer with Linux OS that its file system is read only and I can not add any file to /usr /lib and ..... and I can just mount a SD memory card to it and copy all of my programs to it and run them from there as you understand I have two choices to choose, first make one big binary file for each program that I am doing it now and it is not a suitable solution and the second is finding the way to change default place of shared object file of my program.now you tell me what can I do to solving this problem.

View 1 Replies View Related

Ubuntu :: Cross Platform Sticky Notes App?

Mar 21, 2010

Im looking for a program that will sync my sticky nes between my mac and my ubuntu netbook.

View 4 Replies View Related

General :: Finding A Cross-platform 'Split' Utility?

Aug 10, 2010

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.

View 3 Replies View Related

Software :: Finding A Cross Platform (Win) LAN Chat Application?

Mar 5, 2010

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

View 1 Replies View Related

OpenSUSE Multimedia :: Cross-Platform Media Manager For MP3 Players

Jan 25, 2010

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?

View 9 Replies View Related

Ubuntu Security :: Cross Platform Encryption For Notes And Passwords?

Mar 10, 2010

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?

View 3 Replies View Related

Ubuntu Networking :: Cross Platform Network Manager: Wpa_gui?

Mar 11, 2010

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".

View 1 Replies View Related

Ubuntu Security :: Is There Way To Make Cross-platform Hidden Files?

Oct 24, 2010

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?

View 4 Replies View Related

Ubuntu Security :: Cross Platform File Encrypt/decrypt Software?

Feb 15, 2010

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.

View 3 Replies View Related

Ubuntu :: Setup A Cross-platform Development Environment With Qt - Qt-sdk Package Missing

Feb 13, 2011

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...

View 8 Replies View Related

General :: Cross-platform / Command Line Utilities To Convert PDF / DOC And DOCX To Text

Jul 28, 2011

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?

View 1 Replies View Related

Ubuntu :: Cross Compiling Software For Arm ?

Sep 20, 2010

I am trying to cross compile a package from source for an embedded arm board, however I am not having much luck creating an arm binary.

After running make, this is what I get:

View 3 Replies View Related

Software :: Cross Compiling Libupnp Sdk

Jul 2, 2009

I'm trying to compile the upnp sdk for the arm-linux card (which uses atmel processor at91rm9200), but it doesn't work!

View 1 Replies View Related

Software :: Cross Compiling Udev For ARM

May 15, 2011

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.

View 3 Replies View Related

Slackware :: Cross Compiling For Arm With Buildroot ?

Jan 27, 2011

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?

View 3 Replies View Related

OpenSUSE Install :: Cross Compiling For PowerPC

Jan 27, 2011

I need a cross compiler for C/C++.

Unfortunately, I can't find the GCC cross compiler in the repositories.

There is only a package with the binutils: cross-ppc-binutils

But nothing like: cross-ppc-gcc

View 1 Replies View Related

General :: Cross-compiling To Target System?

Jul 22, 2010

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.

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved