LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 07-21-2008, 07:16 AM   #1
mist_4u
LQ Newbie
 
Registered: Jul 2008
Location: Bangalore
Posts: 7

Rep: Reputation: 0
Question 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
 
Old 07-21-2008, 07:25 AM   #2
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
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.
 
Old 07-21-2008, 07:30 AM   #3
mist_4u
LQ Newbie
 
Registered: Jul 2008
Location: Bangalore
Posts: 7

Original Poster
Rep: Reputation: 0
ColdFire is the name of the processor.
 
Old 07-21-2008, 07:39 AM   #4
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
Quote:
Originally Posted by mist_4u View Post
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.
 
Old 07-21-2008, 08:14 AM   #5
pinniped
Senior Member
 
Registered: May 2008
Location: planet earth
Distribution: Debian
Posts: 1,732

Rep: Reputation: 50
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.
 
Old 07-22-2008, 12:19 AM   #6
mist_4u
LQ Newbie
 
Registered: Jul 2008
Location: Bangalore
Posts: 7

Original Poster
Rep: Reputation: 0
Thanks pinned.. I can take it from here!
 
Old 07-22-2008, 06:22 AM   #7
IndyGunFreak
Senior Member
 
Registered: Aug 2003
Location: Indpls
Distribution: Laptops: Debian Jessie XFCE, NAS: OpenMediaVault 3.0
Posts: 1,355

Rep: Reputation: 70
Isn't coldfire in the repositories? Why not just apt-get it?

IGF
 
  


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
.img files under ubuntu cyb3rdawn Linux - Software 7 11-26-2008 10:32 AM
How do I burn files to a CD in Ubuntu? Mac_09 Linux - Newbie 5 07-16-2008 11:55 AM
Ubuntu 7.10 and quicktime files? caa1980 Ubuntu 7 04-26-2008 09:20 AM
[ubuntu] how to run files? shokora Linux - Newbie 7 09-23-2005 05:14 PM
ubuntu files (dont know what im doing) boxerboy Linux - Newbie 9 08-17-2005 09:41 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

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
Open Source Consulting | Domain Registration