473,511 Members | 16,983 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

To run c program in linux

16 New Member
Hai everybody. I am using turboC compiler in windows.My question is that can i use the same tc compiler in linux.

Moreover i don't install linux i am using the live linux CD.Is it possible to do this.The linux live CD what i am using is knoppix.please help.
Dec 2 '06 #1
11 17208
FuerzaDelDios
10 New Member
Hai everybody. I am using turboC compiler in windows.My question is that can i use the same tc compiler in linux.

Moreover i don't install linux i am using the live linux CD.Is it possible to do this.The linux live CD what i am using is knoppix.please help.
U can complie ur C programs in Linux using a gcc complier.

type the command
"gcc <filename>"

this will generate a a.out file. u can run ur prog using "./a.out"
Dec 4 '06 #2
horace1
1,510 Recognized Expert Top Contributor
Hai everybody. I am using turboC compiler in windows.My question is that can i use the same tc compiler in linux.

Moreover i don't install linux i am using the live linux CD.Is it possible to do this.The linux live CD what i am using is knoppix.please help.
so long as your C/C++ is does use any Turbo C specific header files etc it should compile with gcc or g++. Otherwise you can try running Turbo C using Wine
http://www.winehq.com/
Dec 4 '06 #3
sasmitanayak
1 New Member
hi everbody. i m sasmita. my problem is already i m using linux OS but when i m compiling any C program or C++ program that is not running and compiling also . i m using the command gcc/g++ for c/c++ command but it is showing that command is not found and i have loaded the linux Os i.e the Fedora core
May 9 '07 #4
Motoma
3,237 Recognized Expert Specialist
You probably do not have gcc installed in that case.

hi everbody. i m sasmita. my problem is already i m using linux OS but when i m compiling any C program or C++ program that is not running and compiling also . i m using the command gcc/g++ for c/c++ command but it is showing that command is not found and i have loaded the linux Os i.e the Fedora core
May 9 '07 #5
Motoma
3,237 Recognized Expert Specialist
You will need to use gcc as your compiler. You may need to do some tweaking to your compilation command line, but if you are using ISO compliant C, everything should work fine.

Just check to see that your LiveCD distro has gcc with it, otherwise you won't be able to do it.

Hai everybody. I am using turboC compiler in windows.My question is that can i use the same tc compiler in linux.

Moreover i don't install linux i am using the live linux CD.Is it possible to do this.The linux live CD what i am using is knoppix.please help.
May 9 '07 #6
askcq
63 New Member
can anyone let me know the link from where it install fedora core linux
May 10 '07 #7
drhowarddrfine
7,435 Recognized Expert Expert
Google is your friend.
Fedora core 6
May 10 '07 #8
Motoma
3,237 Recognized Expert Specialist
can anyone let me know the link from where it install fedora core linux
Not exactly sure what you are asking, please elaborate.
May 10 '07 #9
askcq
63 New Member
i want to know the link to install fedora core linux
May 17 '07 #10
drhowarddrfine
7,435 Recognized Expert Expert
I posted it. See #8 above.
May 17 '07 #11
Motoma
3,237 Recognized Expert Specialist
Google is the place for questions like this.

The Fedora Project

i want to know the link to install fedora core linux
May 17 '07 #12

Sign in to post your reply or Sign up for a free account.

Similar topics

1
4295
by: Adi | last post by:
A java program we have written crashes with IBM JDK 1.3.1 on linux. It works fine on other platforms(Solaris,HPUx). It gets a SIGSERV Signal 11 and crashes just after few minutes after starting up....
5
2408
by: Jeffrey Barish | last post by:
I have been developing a Python program with two intercommunicating (using sockets) parts, one of which runs on a desktop and the other on a...
3
2423
by: Pat Deegan | last post by:
Greetings, I've been having issues while debugging programs. The problems only appear when using the '-d' switch and I get the impression it has to do with UTF8 and regex matching but I don't...
0
1716
by: szehau | last post by:
Hi all, I have a program written in C with embeded SQL. Following are the configuration: DB2/LINUX 8.1.5 Thread model: posix gcc version 3.2 20020903 (Red Hat Linux 8.0 3.2-7) My problems...
34
29796
by: Tom | last post by:
I'd greatly appreciate advice and code snippets on how to create a ram disk within a C/C++ program. I also need to be able to determine the free space. Thanks in advance for any help.
1
4748
by: LKavitha4 | last post by:
hi, Does writing c++ program in windows turbo c is similar to red hat linux. My c++ program is runnning correct in turbo c but the same program is not working in red hat linux. Also say how to...
20
2578
by: Francine.Neary | last post by:
I am learning C, having fun with strings & pointers at the moment! The following program is my solution to an exercise to take an input, strip the first word, and output the rest. It works fine...
41
2639
by: c | last post by:
Hi every one, Me and my Cousin were talking about C and C#, I love C and he loves C#..and were talking C is ...blah blah...C# is Blah Blah ...etc and then we decided to write a program that...
1
12102
by: AngreGanon | last post by:
Hi all~ I've written a network program in C. This program catputures ARP request packet and reply wrong ARP packet. Hi. I've written a small program to learn to write in C. But unfortunately...
8
2124
by: Horacius ReX | last post by:
Hi, I am developing some code in C which first I compile on my linux machine and afterwards I test on another special hardware which has almost no debug capabilities at all. Usually I get a lot...
0
7144
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7356
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7427
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
7085
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
4741
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3227
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3214
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
785
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
449
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.