Hi Pavel,
Pavel Janík a écrit :
> Hi,
> I'm working on universal binaries for Mac OS X and have
an interesting
> problem to solve
> Bridges contain directories like
[...cut...]
> I extended it to contain
> bridges/source/cpp_uno/gcc3_macosx_universal
ok
> as well. This directory is built *after* first two dirs
mentioned above
Looking at your patches, and If I'm not wrong :
- ppc makefile is used, and libgcc3_*ppc.dylib is created
- intel makefile is used and libgcc3_*intel.dylib is
created
last, universal is used, and lipo does the final lib.
> and creates universal binary by combining the output
from these
> directories.
ok
> It works, sort of
> The problem is that intel dir contains:
[..cut..]
> So these three files are "shared".
Which size are these files ?
I'm not sure this is a good idea not to rename them. e.g.
for some
reason rebuild the bridge, how know which one was the last (
ppc or i386
? )
> My goal is to not change the name of these files, I do
not care about
> parallel build issues right now.
ok
Good enouhg (for now) fix for me would
> be one of:
>
> - remove $SLOFILES after the TARGET is created
> - touch source files *before* the TARGET is created
if you really don't want to rename slo files, this is the
moost simple.
> I simply feel that renaming is the proper solution
here,
Me too. I'd better imagine .o created with different names
(one
containing i386 and the other ppc in it), and create
separate libs*.
If this build is possible ( no idea) , no more confusion for
the collect
/ linking every lib, and no need to touch /delete .obj
files.
Last : parallel build becomes safer.
> but is there
> any other solution available?
Sorry, no idea
Reagards,
Eric
------------------------------------------------------------
---------
To unsubscribe, e-mail: mac-unsubscribe porting.openoffice.org
For additional commands, e-mail: mac-help porting.openoffice.org
|