Visualizzazione dei risultati da 1 a 6 su 6
  1. #1

    [C++ Builder] compilare su altri sistemi

    Mi trovo a sviluppare diversi programmi in C++ Builder della Borland con una macchina XP virtualizzata sulla mia Slackware ora vorrei sapere visto che granparte die programmi mi sarebbero utili sotto linux se è possibile compilare i sorgenti del mio programma pronto per c++ builder su linux o mac senza dover cambiare nulla al sorgente??
    Esiste un compilatore identico a c++ builder della borland per linux o mac??

    Grazie
    There are two kinds of researchers:
    those that have implemented something and those that have not.
    The latter will tell you that there are 142 ways of doing things
    and that there isn't consensus on which is best.
    The former will simply tell you that 141 of them don't work.

  2. #2

    Re: [C++ Builder] compilare su altri sistemi

    Originariamente inviato da claudiocrack
    Esiste un compilatore identico a c++ builder della borland per linux o mac??

    Grazie
    identico no.

  3. #3
    E in alternativa con cosa potrei compilarlo??
    Devo stravolgere per forza sorgente o cambia solo qualche libreria??


    Grazie
    There are two kinds of researchers:
    those that have implemented something and those that have not.
    The latter will tell you that there are 142 ways of doing things
    and that there isn't consensus on which is best.
    The former will simply tell you that 141 of them don't work.

  4. #4
    E in alternativa con cosa potrei compilarlo??
    Se il sorgente usa pesantemente le classi della VCL hai poche alternative, o provi con Kylix per C++ (un vecchio prodotto Borland ormai "abbandonato") o riscrivi il tutto più o meno da zero per renderlo compilabile con GNU GCC.
    "Se riesci a passare un pomeriggio assolutamente inutile in modo assolutamente inutile, hai imparato a vivere."

  5. #5
    Dipende dalle caratteristiche esclusive del compilatore e del sistema operativo che hai utilizzato.
    Ad esempio se hai chiamato la funzione "DWORD WINAPI GetTickCount(void);"
    http://msdn2.microsoft.com/en-us/library/ms724408.aspx
    non la troverai identica su Mac o Linux, bensì altre similari.
    Insomma dipende da quanto "portabile" è il tuo codice.
    Per quanto riguarda il compilatore, gcc gira praticamente su tutti i sistemi operativi.
    http://directory.fsf.org/project/gcc/

  6. #6
    mi conviene riscriverlo da 0...

    Vi ringrazio molto per le informazioni utili...sta andando tutto come non doveva andare



    There are two kinds of researchers:
    those that have implemented something and those that have not.
    The latter will tell you that there are 142 ways of doing things
    and that there isn't consensus on which is best.
    The former will simply tell you that 141 of them don't work.

Permessi di invio

  • Non puoi inserire discussioni
  • Non puoi inserire repliche
  • Non puoi inserire allegati
  • Non puoi modificare i tuoi messaggi
  •  
Powered by vBulletin® Version 4.2.1
Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.