Jul 26, 2008

Can A Windows Compiler Compile For Linux?

Free Web Hosting, No Ads > CONTRIBUTE > Computers > Programming Languages > C/C++ Programming

free web hosting

Can A Windows Compiler Compile For Linux?

Florisjuh
A friend of me, is working on a mod for a tournament where I am a co admin off... The problem is... My friend uses Windows. Are there any Windows programs that can ccompile .so's to use on a linux server / box?

Thanks for any reply's

Reply

Florisjuh
Can no-one help? We're kinda in a hurry

Reply

osknockout
Since no one else will, I guess I'll help.

Instruct your friend in installing Cygwin-X (Win distribution of course)
and running it, should be just like Linux after running. - make sure
you get gcc. If that won't work, God help you in trying that on Dev-C++
(gcc compiler) - get it at http://www.bloodshed.net/dev/devcpp.html

Reply

sandymc
Is that compiler in windows running in linux server?? i don't think so.

Java compiler need to set the environment, gcc for C compiler, i dunno but may be there is a special software for compile java or c.

Btw, whatelse compiler running on linux, i reallly noobs on linux, and osknockout, you seem very good on coding... you should teach me... smile.gif

Reply

yomi
I don't think there is such a compiler.
but you can use virtual machine to run linux system under windows.
such as vmware.
then compile the program in virtual machine ,so "in windows".

Reply

zamaliphe
QUOTE(Florisjuh @ Jan 18 2005, 07:05 AM) *
A friend of me, is working on a mod for a tournament where I am a co admin off... The problem is... My friend uses Windows. Are there any Windows programs that can ccompile .so's to use on a linux server / box?

Thanks for any reply's

whay you dont download a live linux cd
and make your friend use it to compile his mod on
their is allot of linux live cd on the internet
and that is the easist way of doing this
ansted of traying to use linux under widows
and if you friend dont play computer games allot (windows computer games)
then i bite he will became linux user biggrin.gif

Reply

laexter
There is a cross compiler for Windows (to compile Windows programs from Linux), but I don't think the reverse exist. People can just install a Linux when needed, while for Windows it is not always possible without more budget.

However it can still be made relatively easy if someone knows how to configure and recompile GCC. But I don't think a lot of people will support the idea of this unnecessary workload (for maintenance).

Reply



Got an Opinion! Express your Views! (no registration):-
Add your Reply/ Opinion/ Views/ Comments/ Suggestion/ Questions/ Queries etc.
Posts with decent grammar & English will be accepted and please refrain from profanities.
For asking a Question, We recommend you to sign-up (for free) so that you can track the topic easily.

Nature of your Post*: Opinion/ Reply/ Comments
Question/Query
Feedback to us.
       
Name   Email
Title/Question*

(Maximum characters: 10,000)
You have characters left.
Confirm Code:

Similar Topics

Keywords : windows compiler compile linux

  1. Dev C++ - FREE C++ COMPILER (27)
    ok so i have dev C++, if any of you know what that is??? you can get it for a free download at
    www.downloads.com is it possible to write in c on it?...
  2. A Question About C++ Programming Under Linux - (7)
    Hello guys! i prepare to develop under linux using c++, but i don't know what tools i should
    use...some one tell me to use vim, but i think vim is so hard to use!can u recommend me some
    ide??? thank u very much...
  3. Complete Linux Programing Book - (2)
    the book name is Advanced Linux Programming QUOTE If you are a developer for the GNU/Linux
    system, this book will help you to: Develop GNU/Linux software that works the way users expect it
    to. Write more sophisticated programs with features such as multiprocessing, multi-threading,
    interprocess communication, and interaction with hardware devices. Improve your programs by making
    them run faster, more reliably, and more securely. Understand the preculiarities of a GNU/Linux
    system, including its limitations, special capabilities, and conventions.Advanced Linux Progra...
  4. Compiler - (6)
  5. What Do You Use C/c++ For? - Develop software / games / on windows / mac / linux? Use QT? (25)
    I am currently learning C++ and QT, I'm just wondering how many of your guys develop for windows
    specifically for do you target mac and linux too, or are you developing games? Most important is
    the uptake of the .Net framework, just how many people are developing for it, is it really as big /
    important as everyone on the net suggests? Would love to hear everyones views!...
  6. Interrupt For Windows - (1)
    Unlike DOS, which works under Real mode of processor, Windows works under protected mode of the
    processor. In protected mode the registers are 32-bit long and are often known as extended registers
    For example, corresponding to the AX, BX, CX, DX, IP registers of real mode, there exist 32-bit
    registers called EAX, EBX, ECX, EDX and EIP under protected Also under protected mode interrupt
    handling is a little different. The interrupt vector table is no longer kept at a low address space.
    Instead it is replaced by another table Interrupt Descriptor Table (IDT) which is kept...
  7. Can't Compile Assembly Programs. - (2)
    Hi, I'm trying to learn assembly but I can't compile any "hello world" programs... And I
    don'n know what I'm doing wrong... I downloaded NASM ,NASMW and TASM32. The program is like
    this: EXAMP1.ASM: ;title Hello World Program ; This program displays "Hello, World!"
    dosseg .model small .stack 100h .data hello_message db 'Hello,
    World!',0dh,0ah,'$' .code main proc mov ax,@data mov ds,ax
    mov ah,9 mov dx,offset hello_message int 21h mov ax,4C00h
    int 2...
  8. Problems Unregistering Windows - (0)
    I'm making a program which uses several windows. I thought I'd reduce the amount of coding
    in my program by making a function which does everything that is needed to open a window, since all
    of the windows I need are basically the same. In fact, the only way they really differ is that they
    all use different message procedures. The code below, therefore, accepts a window class which
    already has a value in the .lpszClassName variable and the .lpfnWndProc variable. The rest of the
    window class in then filled with default values, the class in registered, a window i...
  9. Resource Compiler - Resource Compiler (0)
    Is there a good Resource Compiler for Win32 outhere which is freeware or opensource perhaps? im
    using the Visual C++ but it puts to much extra code in the rc file.. i always end up deleting those
    extra text... is there any?...
  10. Where Can I Learn Linux Programming? - any good resources for linux programming (2)
    Where can i learn linux system programming? Topic titles and descriptions are important. Try and
    make them as descriptive as possible. Linux Programming, Linux is not very descriptive. Renamed.
    ...
  11. Better Free C Compiler - (4)
    I am trying to solve some strange problems - the problems are the sort where you have 2 different
    sets of code that do the exact same thing differently - but one solution works and the other
    produces strange results (very strange since the debugger shows they both do the same thing). Some
    problems of this nature remain and I think it has something to do with the compiler. I'm using
    gcc 3.3.4 right now, am working on installing 4.0.0 but I doubt it will help seeing how the only
    changes appear to be to C++ and java, not C. Is there a free compiler out there that bet...
  12. Windows Service - (0)
    I'm thinking about making a Windows Service in C++. I found some sample code, and it all makes
    sense, except I'm wondering if it's possible to detect whether my exe is running as a
    Service. I'd like to have it perform this check when the app starts. Then if it is running as a
    Service, it'll go ahead and call StartServiceCtrlDispatcher(), otherwise some other action can
    be performed. ...
  13. Static Members Across Libraries (windows Dll Vs. Unix) - (0)
    Hopefully I can explain my problem clearly. If not, please ask any questions to clarify. I'm
    looking at an issue where I'd need to make reference counted smart pointers multi-thread safe on
    a UNIX platform via mutexes. Object-embedded mutexes are not an option because of the memory
    footprint increase. Therefore, it was decided we use a static mutex that locks the entire class out
    from the reference count (i.e., only one smart pointer on the entire system at a time can do a
    reference count operation). BTW, these design decisions aren't mine to make. The issu...
  14. Patching With Windows? - (1)
    Does anyone know a way to patch C++ code with a .patch file? I have Visual C++ 6.0, the .patch file
    and the source code of the file I want to patch with it......
  15. Khtml For Windows - help and support this project (0)
    The project leader has emailed me telling to post to C++ forums because they are planning to create
    KHTML for Windows. Search at sourceforge.net about it. You will find that project interesting....
  16. Creating a Compiler - The Nightmare of a Comp Science Students (4)
    I got this assignment from my college: To create a working Compiler or Interpreter You need to
    design your own Language And build the compiler using Java or preferably C. This is one scary
    nightmare...dang....I wish I can just wake me up... but I can't this is not a nightmare. T_T
    Btw, does anyone here has any experience on creating compiler or interpreter using C? I am designing
    a language which is the combination of C and PHP. And I need help....
  17. Free C++ Visual Compiler - (18)
    Hello guys! So far, I only can complie files with the Borland compiler that work only in MS-DOS
    mode. As you guys know, MS-DOS is ancient....some people have never even heard about
    it!!!! Yeah, that's the truth...but anywayz, do you guys have a compiler that
    can do the same as Microsoft Visual C++ Compiler that is free? I am not looking for illegal stuff or
    anything. I am looking for a fully legimate program that can do almost exactly the same as Microsoft
    Visual C++. I really want to know, and don't worry., I am not posting this for fun. I...



Looking for windows, compiler, compile, linux

Searching Video's for windows, compiler, compile, linux
advertisement



Can A Windows Compiler Compile For Linux?



 

 

 

 

ADD REPLY / Got an Opinion! Remove these ADs! RAPID SEARCH! Free Web Hosting [X]
Express your Opinions, Thoughts or Contribute more info. to help others.
Ask your Doubts & Queries to get answers, So that "Together We can help others!"
Register FREE for AD-FREE forum, Create your own topics, Ask Questions, track topics, setup subscriptions & notifications and Get a Free Website w/ Email and FTP.
500MB Space *No Ads*, CPanel, FTP, PHP, MySQL, EMails - 100% FREE