LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Ubuntu (https://www.linuxquestions.org/questions/ubuntu-63/)
-   -   Corresponding C Files in Ubuntu (https://www.linuxquestions.org/questions/ubuntu-63/corresponding-c-files-in-ubuntu-657146/)

mist_4u 07-21-2008 07:16 AM

Corresponding C Files in Ubuntu
 
Could someone please help me with this?

I would like to know the corresponding C files for Ubuntu for the below mentioned coldfire files.

socket.h
ixml.h
ixmlparser.h
ixmlmembuf.h
typedefs.h

pixellany 07-21-2008 07:25 AM

I'm assuming that you are trying to compile from source code a program called "Coldfire".

The header files (.h) will be called by the code files (.c), but there is no reason to expect a 1:1 correspondence, similar names, etc. Look in the .c files to see what is in the "include" statements.

mist_4u 07-21-2008 07:30 AM

ColdFire is the name of the processor.

pixellany 07-21-2008 07:39 AM

Quote:

Originally Posted by mist_4u (Post 3221401)
ColdFire is the name of the processor.

OK--from Google I can see that. There is also the Coldfire extension for Firebug.

But--how does this relate to your original question?

I'll guess again: Do you have a SW development package as part of your ColdFire system? Is this where you are finding the .h files?

Don't make us keep guessing---please describe what you are trying to do.

pinniped 07-21-2008 08:14 AM

I was wondering if you were playing with an actual Coldfire or the emulator.

socket.h = sys/socket.h

typedefs.h = unknown - POSIX systems usually have 'types.h', but 'typedefs.h' may be type definitions for a particular program built for the coldfire

The 'ixml' bits seem to be from some xml parsing library - pick any you want

If you're trying to port a program from the coldfire to Ubuntu, you need to make pretty big changes.

mist_4u 07-22-2008 12:19 AM

Thanks pinned.. I can take it from here!

IndyGunFreak 07-22-2008 06:22 AM

Isn't coldfire in the repositories? Why not just apt-get it?

IGF


All times are GMT -5. The time now is 03:45 PM.