Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Re: Ubuntu gdb cores Xcode
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Ubuntu gdb cores Xcode



On Thu, Nov 13, 2008 at 08:23:56AM -0600, Dee Ayy wrote:
> Presently it is at
> while(fgets(stream, StreamSize, stdin) != NULL){
> and I am concerned about the compile command used on the different
> OS's.  I didn't touch Xcode's (I simply hit the Build button), but
> Ubuntu build command is as posted above
> cc -g main.c other_files.c -pthread -o my_app -lm

You shouldn't need -lm either. The single line of code you pasted
seems fine, but you didn't say what the error was so it's hard to
help.

--
Steve Checkoway


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Unix-porting mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Re: Ubuntu gdb cores Xcode (From: "Dee Ayy" <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.