Go Back   PCMech Forums > Help & Discussion > Web Design / Development

Need Some Help? Type Your Keywords Here:

Reply
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Old 02-28-2002, 02:49 PM   #1
Member (7 bit)
 
snow's Avatar
 
Join Date: Feb 2002
Location: Indianapolis, IN
Posts: 110
Send a message via AIM to snow
gcc (linux)

Hi, I'm a beginner programmer with limited exposure, and am trying to teach myself C and Java out of some of the those self-taught books. However, I'm having problems with the gcc compiler on Linux. I have installed all the appropriate packages (through Red Hat install), am able to get a version number with the "gcc -- version" command and make a header, but when I try to make a macro (beginner macro with no output, only a definition) I get errors saying things like "file doesn't exist" and there's another one, I just can't remember it offhand. The code is from a Linux programming book and follows below:

bash# gcc -D_GNU_SOURCE hello.c

I can give some more info such as software versions and the actual errors, but I don't have time to get that right now (I'm in a hurry). Thought I'd get this on here in case the answer just popped out at someone, and they were like "Oh, I probably know what this kid's problem is!" Thanx a lot, hope you can help.

snow
snow is offline   Reply With Quote
Reply

Bookmarks

Still Need Help? Type Your Keywords Here:


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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 On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 07:52 AM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 PL2