LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   turbolinux c compiler (https://www.linuxquestions.org/questions/linux-newbie-8/turbolinux-c-compiler-285271/)

laxmichawla 02-02-2005 05:44 AM

turbolinux c compiler
 
i hav turbolinux installed on my comp
i want to know how is it different from suse or red hat
and wat c compiler is used in it i am facing big problem as
my c,c++ programs do not get compiled if i write gcc or g++ with my file name
please let me know as soon as possible
--regards
laxmi chawla(student)

Mega Man X 02-02-2005 04:21 PM

Hi!

Welcome to the forums. In the future, try to place your threads more accordingly to the subject. As you made a question, this fits better in Linux - Newbie, then here. Ask a mod to move it there (do not double post).

With that in mind, the portability of your c/c++ code is how you wrote it. If you've used a lot of non-standand compliant code, as functions like "getch()", very popular in C++ books and dos compilers headers, you can trow it away and start from scratch. It simply will be too much hassle to "get 'em working" in Linux.

Another tip, try to be as descriptive as possible. Posting a simple program you made or even the commands you've tried to use in order to compile you program with gcc or g++ would have been of great help.

You might want as well to check this thread out:

http://www.linuxquestions.org/questi...&highlight=gcc

Good luck!

acid_kewpie 02-02-2005 04:23 PM

moved to "linux - Newbie"

Mega Man X 02-02-2005 04:33 PM

wow, thanks acid_kewpie :). That was faster then I could click the report button actually, ghehe.


All times are GMT -5. The time now is 09:11 PM.