Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 04-18-2009, 12:47 AM   #1
LQ Newbie
Registered: Aug 2005
Posts: 1

Rep: Reputation: 0
lcc cannot find stddef.h

Hello I just installed lcc-4.1-2 RPM in my SUSE 10.3 machine to do some cross-compilation for MIPS using the command

lcc -S -Wf-target=mips/ultrix filename.c -o filename.s

cpp is searching for stddef.h with no success and produces the error message "could not find include file <stddef.h>"

I found stddef.h in the following directories:

Anu hint how I could make cpp find stddef.h?

Thanks in advance,
Old 04-18-2009, 12:51 AM   #2
Senior Member
Registered: Nov 2008
Location: USA
Distribution: Slackware, FreeBSD, Illumos, NetBSD, DragonflyBSD, Plan9, Inferno, OpenBSD, FreeDOS, HURD
Posts: 1,080

Rep: Reputation: 153Reputation: 153
My guess is stddef.h is a library you also need to give lcc a switch to. For example, when I try to use the curses library with gcc, I have to type 'gcc -lncurses program.C' Check the stddef.h docs. Or is it a much more standard library than curses? If so, I am unsure what to do; I have not used lcc much....


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
Find with -exec argument - not giving proper to find... hinetvenkat Linux - Server 4 01-25-2010 06:19 AM
Single find command to find multiple files? thok Linux - Newbie 7 01-31-2009 04:45 PM
Linux Question About #include <Linux/stddef.h> Syntax Peatmoss Programming 3 01-31-2008 11:46 AM
Is there a way to find recently created/edited files without using find? BrianK Linux - General 2 10-15-2007 09:41 PM
hello, is anyone here interested in lcc? keyboard Programming 0 02-25-2005 12:25 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:24 PM.

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