Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Originally posted by back2morrie A fast reply would be highly appreciated as this is a bit urgent.
Might be urgent for you but not for us. This is a free forum based website you can ask questions in which other members come here in their own free time to help people like you asking such questions. Be considerate and don't place urgent in your questions as your thread/question has no priority over any other thread/question that is asked here..
Sorry about tht. But I wasnt trying to belittle others' posts or put my own message above others. It was just a humble request for some greatly needed help.
Actually acc. to me, cygwin and djgpp are packages that help us run gcc in windows in a linux like enviroment and the binaries that they generate also run on windows. But what I want to do is to run gcc windows and generate binaries for linux, for which a cross-compiler is required.
May I ask why you don't simply set up a linux box (any PIII will do for a fairly recent distribution, I hope although it's urgent you still can afford to take the compilation a few minutes ) and compile your sources there? You could simply store your working copy on a samba share, and compile the linux variant on the server.
thats coz the application that I have built using the cross-compiler has to be run on windows while the binaries generated have to be run on a linux based embedded system.
Originally posted by back2morrie thats coz the application that I have built using the cross-compiler has to be run on windows while the binaries generated have to be run on a linux based embedded system.
Errr... what is the difference between "application that I have built using the cross-compiler" (which results IMHO in a binary) and "the binaries generated have to be run on a linux based "? That is, what is the difference between binary and binary?
Anyway, what keeps you from compiling your sources on the embedded system? Just install samba and telnet server and gcc, make, whatever you need, and there you go. Much easier than messing around with cygwin and such stuff. BTW your embedded board, is it x86 compatible, or something else?
Originally posted by Marius2 what keeps you from compiling your sources on the embedded system?
Well thats precisely the reason why cross-compilers have come into existence.......coz embedded systems are highly limited in terms of the resources available. ...also sometimes users are expected to write and compile code on a user friendly windows machine which is much easier....and then download the binaries into the embedded system.........i hope u get it now..
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.