LinuxQuestions.org
Help answer threads with 0 replies.
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 06-30-2004, 11:40 PM   #16
Transition
Member
 
Registered: Aug 2003
Distribution: Slackware 10
Posts: 48

Original Poster
Rep: Reputation: 15

Quote:
Originally posted by Chinaman
God will say...

# mv Transition /hell
script will fail, god not found.
 
Old 07-01-2004, 12:02 AM   #17
kevinalm
Member
 
Registered: Oct 2003
Location: Iowa
Distribution: LFS 5.0, building 6.3, win98se, multiboot
Posts: 288

Rep: Reputation: 30
Getting back on topic...

I'm pretty sure studio.h and crt1.o are part of glibc. You don't need the glibc headers to run a linux system, only to compile c progs in a linux system. Actually, those headers are part of the kernel headers that glibc was compiled against iirc. Not to be confused with the headers for the running kernel you need in order to compile a kernel modules. Mandy and RH call that part of glibc glibc-dev or something like that. Never used slack so I don't know what they call it, went right to LFS/BLFS from rh myself.

Last edited by kevinalm; 07-01-2004 at 12:03 AM.
 
Old 07-01-2004, 12:50 AM   #18
Transition
Member
 
Registered: Aug 2003
Distribution: Slackware 10
Posts: 48

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by kevinalm
Getting back on topic...

I'm pretty sure studio.h and crt1.o are part of glibc. You don't need the glibc headers to run a linux system, only to compile c progs in a linux system. Actually, those headers are part of the kernel headers that glibc was compiled against iirc. Not to be confused with the headers for the running kernel you need in order to compile a kernel modules. Mandy and RH call that part of glibc glibc-dev or something like that. Never used slack so I don't know what they call it, went right to LFS/BLFS from rh myself.
Looks like stdio.h is already installed - but it's stuck in the following directory..

/usr/include/bits/stdio.h

How to i tell GCC that this is where the file is
 
Old 07-01-2004, 01:14 AM   #19
kevinalm
Member
 
Registered: Oct 2003
Location: Iowa
Distribution: LFS 5.0, building 6.3, win98se, multiboot
Posts: 288

Rep: Reputation: 30
stdio.h should also be in /usr/include/stdio.h . At least my system has it in both places. And I suspect they are not the same file. Just checked, they're not. /usr/include/stdio.h 22kb vs 5kb for /usr/include/bits/stdio.h. studio.h is a very basic include file. #include <stdio.h> is one of the first things you learn in c. If gcc can't find that then something is _really_ broken. My best guess is an incompletely installed developement system, most likely the glibc libraries are installed but not the glibc headers. Many distros split into runtime and "developement" packages on glibc and the kernel source. I think that's what's going on here.

FYI, Most of the gcc configuration is in /usr/lib/gcc-lib/<version>/specs but trust me, you _don't_ want to mess around in there.
 
Old 07-01-2004, 04:04 AM   #20
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 472Reputation: 472Reputation: 472Reputation: 472Reputation: 472
\\Mod Note: Please do not insult each other's beliefs - and stay on topic. Thank you.
 
  


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
checking for C compiler default output... configure: error: C compiler cannot create fiorejm Linux - Software 6 11-12-2009 01:35 PM
gcc compiler canyon289 Linux - Software 3 10-23-2004 11:22 PM
GCC compiler .. pashupathinath Programming 1 10-21-2004 01:20 PM
checking version of gcc on RH9 oasisbhrnw99 Linux - Newbie 2 10-18-2004 11:16 PM
SuSE 9.1 Personal Problems checking whether the C compiler (gcc ) works... no angus orion Linux - Newbie 2 07-29-2004 08:14 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:23 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