Welcome to MacForumz.com!
FAQFAQ   SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log in/Register/PasswordLog in/Register/Password

Linking with std Unix libs in Xcode

 
   Macintosh computer (Home) -> Tools RSS
Related Topics:
Linking to X11 within Xcode (Please Help!) - Hi, Im writing my first X11 (a simple image processor for an art piece), and my app keeps exiting with the error message: ZeroLink: unknown symbol Under Linker I have: -lX11 And,..

compiling - making unix package w XCode - I am trying to compile poedit using XCode.. I succeeded building the xwWindows library and I only get one error in compiling poedit, (first use this function) this macro should be defined on the command line... where should I..

Gentoo for installing Unix programs on Mac OS - I have been slightly in some Unix but haven't fallen into the mood to do the line command dance merely to open them, well build them that is (Although I think I remember using Fink in an earlier version of OS X) Anyone have any..

Build executables for other Unix platforms? - Is it possible with gcc on to build for other Unix I notice gcc has options like but man says only available "On System V.4 and embedded PowerPC I would be in doing builds for..

linking with gcc - Hello, It seems that linking with gcc dont work (for me?) gcc -o mc dir.o util.o screen.o dialog.o key.o keyxdef.o menu.o file.o win.o color.o help.o find.o profile.o user.o view.o ext.o mouse.o setup.o dlg.o
Next:  Tools: Old "Inside Mac" books available?  
Author Message
Sak Wathanasin

External


Since: Jul 06, 2003
Posts: 32



(Msg. 1) Posted: Wed Jun 02, 2004 8:23 pm
Post subject: Linking with std Unix libs in Xcode
Archived from groups: comp>sys>mac>programmer>tools (more info?)

I'm sure I'm missing something simple, but how on earth does one specify
that you want to link with one of the std Unix libs in XCode? With 10.2.8 &
PB, you could "Add files...", type in "/usr/lib" into the "Goto:" field in
the navigation tool, then drag the required file onto 'External frameworks
and libraries" and you're done.

With 10.3, the "Goto:" text field is gone, and the browser will not show
dirs like /usr, so what to do? Is there some magic
alt/cmd/stand-on-your-head-while-singing-Yankee-doodle trick that allows one
to see such dirs? Or is there a framework that contains all of the std Unix
libs?

--

Sak Wathanasin
Network Analysis Limited
http://www.network-analysis.ltd.uk

 >> Stay informed about: Linking with std Unix libs in Xcode 
Back to top
Login to vote
Miro Jurisic

External


Since: May 10, 2004
Posts: 973



(Msg. 2) Posted: Wed Jun 02, 2004 8:23 pm
Post subject: Re: Linking with std Unix libs in Xcode [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

In article <sw-7F7D3E.17233402062004.RemoveThis@fe.network-analysis.ltd.uk>,
Sak Wathanasin <sw.RemoveThis@network-analysis.ltd.uk> wrote:

 > text field is gone, and the browser will not show dirs like /usr, so what to
 > do? Is there some magic
 > alt/cmd/stand-on-your-head-while-singing-Yankee-doodle trick that allows one
 > to see such dirs?

command-shift-g, just like in the Finder.

meeroh

--
If this message helped you, consider buying an item
from my wish list: <http://web.meeroh.org/wishlist><!-- ~MESSAGE_AFTER~ -->

 >> Stay informed about: Linking with std Unix libs in Xcode 
Back to top
Login to vote
Chad J McQuinn

External


Since: May 23, 2004
Posts: 8



(Msg. 3) Posted: Wed Jun 02, 2004 8:43 pm
Post subject: Re: Linking with std Unix libs in Xcode [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

In article <sw-7F7D3E.17233402062004.RemoveThis@fe.network-analysis.ltd.uk>,
Sak Wathanasin <sw.RemoveThis@network-analysis.ltd.uk> wrote:

 > I'm sure I'm missing something simple, but how on earth does one specify
 > that you want to link with one of the std Unix libs in XCode? With 10.2.8 &
 > PB, you could "Add files...", type in "/usr/lib" into the "Goto:" field in
 > the navigation tool, then drag the required file onto 'External frameworks
 > and libraries" and you're done.
 >
 > With 10.3, the "Goto:" text field is gone, and the browser will not show
 > dirs like /usr, so what to do? Is there some magic
 > alt/cmd/stand-on-your-head-while-singing-Yankee-doodle trick that allows one
 > to see such dirs? Or is there a framework that contains all of the std Unix
 > libs?

You could try going to the library in the finder and dragging it to the
xcode window (of course you will need to use Go To... from the finder to
get there).

Also, I have found that for most file dialogs in OS X, if you type a
'/', you will get a "go to" style dialog.

-Chad<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: Linking with std Unix libs in Xcode 
Back to top
Login to vote
Sak Wathanasin

External


Since: Jul 06, 2003
Posts: 32



(Msg. 4) Posted: Wed Jun 02, 2004 10:41 pm
Post subject: Re: Linking with std Unix libs in Xcode [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

In article <huskerchad-4AA1E8.12435502062004.DeleteThis@netnews.comcast.net>,
Chad J McQuinn <huskerchad.DeleteThis@removethis.andthistoo.insightbb.com> wrote:

 > You could try going to the library in the finder and dragging it to the
 > xcode window (of course you will need to use Go To... from the finder to
 > get there).

Thanks for that: never noticed it before 'cos I didn't have to use it.

 > Also, I have found that for most file dialogs in OS X, if you type a
 > '/', you will get a "go to" style dialog.

Good grief! 20 years of GUI design and it's come to this? I wouldn't have
worked this one out in a 100 years.

Thanks for the response.

--

Sak Wathanasin
Network Analysis Limited
<a style='text-decoration: underline;' href="http://www.network-analysis.ltd.uk" target="_blank">http://www.network-analysis.ltd.uk</a><!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: Linking with std Unix libs in Xcode 
Back to top
Login to vote
Chad J McQuinn

External


Since: May 23, 2004
Posts: 8



(Msg. 5) Posted: Thu Jun 03, 2004 12:26 am
Post subject: Re: Linking with std Unix libs in Xcode [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

In article <sw-F5A56D.19411402062004.RemoveThis@fe.network-analysis.ltd.uk>,
Sak Wathanasin <sw.RemoveThis@network-analysis.ltd.uk> wrote:

  > > Also, I have found that for most file dialogs in OS X, if you type a
  > > '/', you will get a "go to" style dialog.
 >
 > Good grief! 20 years of GUI design and it's come to this? I wouldn't have
 > worked this one out in a 100 years.

It's all part of the new philosophy of making life easier for the
computer.

-Chad<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: Linking with std Unix libs in Xcode 
Back to top
Login to vote
Display posts from previous:   
   Macintosh computer (Home) -> Tools All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You can edit your posts in this forum
You can delete your posts in this forum
You can vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]