Home » Developing U++ » Releasing U++ » Mac OS X porting
Re: Mac OS X porting [message #25104 is a reply to message #25098] |
Wed, 10 February 2010 19:39 |
Reini
Messages: 28 Registered: April 2009 Location: Berlin
|
Promising Member |
|
|
Hello Juan,
Here I get this errors,
c++ -c -O3 -ffunction-sections -fdata-sections -x c++ -I./ -I/usr/include/freetype2 -I/usr/include/gtk-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/lib/gtk-2.0/include -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/X11R6/include -I/usr/X11R6/include/freetype2 -I/usr/X11R6/include/gtk-2.0 -I/usr/X11R6/include/glib-2.0 -I/usr/X11R6/lib/glib-2.0/include -I/usr/X11R6/lib/gtk-2.0/include -I/usr/X11R6/include/cairo -I/usr/X11R6/include/pango-1.0 -I/usr/X11R6/include/atk-1.0 -DflagGUI -DflagGCC -DflagSHARED -DflagLINUX -DflagPOSIX -DflagMAIN ide/SelectPkg.cpp -o _out/ide/GCCMK-Gcc-Gui-Linux-Main-Posix-Shared/SelectPkg.o
In file included from ./Web/Web.h:39,
from ./ide/Core/Core.h:5,
from ./ide/Common/Common.h:4,
from ide/ide.h:4,
from ide/SelectPkg.cpp:1:
./Web/socket.h:135:2: error: #error Unsupported platform
In file included from ./Core/Core.h:226,
from ./Esc/Esc.h:4,
from ./ide/Core/Core.h:4,
from ./ide/Common/Common.h:4,
from ide/ide.h:4,
from ide/SelectPkg.cpp:1:
So I tried to introduce like Mirek proposed a new define in Core/config.h line 34
elif __APPLE__
#define PLATFORM_MAC 1
But this will be only the half truth since then the compiler looks in socket.h for PLATFORM_POSIX anyway.
I don't want to break here compatibility and would like to ask Mirek or anyone else who knows it better for help !
Thanks
|
|
|
Goto Forum:
Current Time: Fri Apr 26 10:13:02 CEST 2024
Total time taken to generate the page: 0.02524 seconds
|