LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-22-2003, 10:32 PM   #1
Derek-kun
Member
 
Registered: Sep 2003
Posts: 65

Rep: Reputation: 15
I've installed gcc, how do i build a complier environment?


the subject explains it's self, but just in case.

I've installed gcc now i need to build a complier environment. how do i open gcc so i can do so?

thanks in advance!
 
Old 09-23-2003, 12:34 AM   #2
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
?
Do you mean how do you compile something, or how do you build a c program to compile or what? If you mean how to build a C program, you'll wanna look at something like Kdevelop tools or whatever programming language you want to use.

Please expand on what it is you are looking for.

Cool
 
Old 09-23-2003, 05:38 PM   #3
Derek-kun
Member
 
Registered: Sep 2003
Posts: 65

Original Poster
Rep: Reputation: 15
um, i downloaded the tulip.c source code and i need to compile it to make a binary code (tulip.o)
 
Old 09-23-2003, 06:45 PM   #4
nmoog
Member
 
Registered: Sep 2003
Location: Sydney
Distribution: Debian
Posts: 70

Rep: Reputation: 15
gcc is a command line tool. Compile with

gcc -c tulip.cpp
to get tulip.o

or to create the executable:
gcc -o tulip tulip.c

which will produce a file called tulip, which you can run! (check out the gcc man pages)

I reckon you should forget ALL about bloaty old visual c++ and learn ALL about makefiles - you don't need an IDE, honest!
 
Old 09-23-2003, 10:50 PM   #5
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
If that's indeed all you need, you don't need to worry about how to compile it (although those are great beginner instructions). Tulip is in the kernel, so all you have to do is download a kernel, compile the tulip as a module, and then you'll have the tulip module ready. It's a standard part of the kernels today.

Cool
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
no kernel module build environment" Error message during RPM install gotmonkey Linux - Hardware 7 12-07-2007 03:08 AM
build environment arkss Linux - Software 0 06-25-2005 04:54 PM
kernel build from gcc 3.3.2 to gcc 3.4.1 alcarbone Linux - Software 1 09-13-2004 09:19 AM
gcc complier not working in ark linux evcloud Linux - Software 1 02-05-2004 01:55 AM
gcc environment variables Itzac Linux - Software 1 03-26-2003 12:13 AM


All times are GMT -5. The time now is 11:32 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration