newbie: how to acquire /usr/include files for hello world

Asked by pfm

I've got a 'Edgy' VMware image I want to use for arm cross compiling (later) but there aren't any native /usr/include files - gcc is 4.1.2. I cannot determine what package to get that provides the include files. I'm a SYS-V person - maybe they're already loaded somewhere else and you always have to specify an include path to find them but that doesn't seem reasonable. Can anyone tell me what package to get or where they are located if it's not in /usr/include?

This image came off the VMware site and it's the second Ubuntu image that was missing the /usr/include files - makes me wonder if I'm looking in the wrong place.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Istvan Szekeres
Solved:
Last query:
Last reply:
Revision history for this message
Best Istvan Szekeres (szekeres) said :
#1

Hello, you have to install the libc6-dev package using the following command:

sudo apt-get install libc6-dev

Revision history for this message
pfm (melloannapolis) said :
#2

Thanks Istvan Szekeres, that solved my question.