LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 09-12-2005, 07:06 AM   #1
jonesth
LQ Newbie
 
Registered: Aug 2005
Location: New Bern, NC
Posts: 2

Rep: Reputation: 0
Compiling C code Under Linuix verses Unix


I am currently running some programs in a SCO UNIX environment and I would like to take the source code and compile it using C for Linuix in a Linuix environment. The main problem I am having is matching some libraries files. The libraries files exist under SCO UNIX but not for Linuix. The two files are: /lib/libx.a and /lib/libm.a. I am using the Linuix gcc compiler. Any information regarding where to find these files or a Linuix C Compiler that may include these libraries would be greatly appreciated. Thanks in advance.

Tom
 
Old 09-12-2005, 07:47 AM   #2
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
Do you have the glibc and glibc-devel packages installed on Linux? libm.a comes with glibc and I can find it in /usr/lib. Not sure about libx.a, thogh.
 
Old 09-12-2005, 08:02 AM   #3
jonesth
LQ Newbie
 
Registered: Aug 2005
Location: New Bern, NC
Posts: 2

Original Poster
Rep: Reputation: 0
Yes,

I do have glib installed and I do see libm.a under /usr/lib. Thanks for the reply.

Tom
 
  


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
am/pm verses 24 hour time CouchMaster SUSE / openSUSE 8 05-20-2015 10:13 AM
Unix source code Scrag Programming 9 05-25-2004 02:28 AM
Unix source code stealing BOBO CONFIRMED! GtkUser General 1 06-07-2003 03:43 PM
Microsoft to license Unix code macewan General 6 05-27-2003 05:05 PM
Difference b/n Unix and Linuix gopi_20us Programming 2 02-21-2002 02:56 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 09:41 PM.

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