Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Developing U++ » Mac OS » MacOS ide make problem
Re: MacOS ide make problem [message #28552 is a reply to message #28535] Mon, 06 September 2010 19:55 Go to previous messageGo to previous message
rett is currently offline  rett
Messages: 15
Registered: January 2010
Promising Member
dolik.rce wrote on Mon, 06 September 2010 11:16

rett wrote on Mon, 06 September 2010 06:22

dolik.rce wrote on Sun, 05 September 2010 23:06


What compiler are you using? The errors seem like from GCC, but the lack of thread local storage (second error) is a bit weird.


I use GCC. Yes, is a bit weird. On this time I compile without MT.

I did some reading and found out that it is not that weird after all. Mac OS X gcc has no support for TLS. You might have to wait till it supports c++0x standard, which standardizes it Wink

BTW: I see you were compiling in GUI mode, how does that work on Mac? I was under impression that that is the problematic part of porting...

Honza


I compile in commandline:
make -f uppbox/lpbuild/Makefile CXXFLAGS="-fno-PIC" PKG=ide "FLAGS=GUI GCC SHARED NOGTK" DIRS=uppsrc

Compiled without MT flag and compilation is successful.
So next problem is with linking.
 Preparing output directory structure ...
  Building package ide [TheIDE main package] (473 files in 34 packages, flags: DARWIN GCC GUI MAIN NOGTK POSIX SHARED)
  Linking bin/ide ...
ld: unknown option: --gc-sections
collect2: ld returned 1 exit status
make[1]: *** [bin/ide] Error 1
make: [ide] Error 2 (ignored)
Everything done.



b4b9ef0096f53f85f38f8c84bc5eabec
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: 701-dev1 / 2007.1beta on Mac OSX
Next Topic: Compile X11 Source Package
Goto Forum:
  


Current Time: Fri May 02 13:57:33 CEST 2025

Total time taken to generate the page: 0.03165 seconds