Hello Patrick, On Monday 24 May 2010, 13:54, Patrick Bernard wrote: > Hi > > The page DevGuide/Extensions/Target_Platform
I guess you're referring to http://wiki.services.openoffice.org/wiki/Documentation/DevGuide/Extensions/Target_Platform > states that the information > about the operating system and the architecture, that is necessary to > generate the platform string for an extension, can be found in > rtlbootstrap.mk. However, I couldn't find this file in my OpenOffice.org > installation (version 3.2.0 on Ubuntu). http://wiki.services.openoffice.org/wiki/Documentation/DevGuide/Extensions/Target_Platform#Generating_the_Platform_String_in_the_Build_Environment that explanation is for "Generating the Platform String in the Build Environment" where OOo is built, that is: if you build OOo yourself and develop an extension in the OOo build environment. You won't find this file in the OOo installation, it's just generated in sal/unxlngx6/inc/rtlbootstrap.mk and delivered to solver/300/unxlngx6/inc/rtlbootstrap.mk for use inside the build environment. as you are writing to [email protected] I assume you are not dealing with OOo source nor build environment. > Instead, the file > sdk/settings/settings.mk contains two variables : PLATFORM and PROCTYPE. > Do I have to use these variables to generate the platform string ? in some cases this is valid, in others not; look at the UNOPKG_PLATFORM variable, it is NOT simply made out of $(PLATFORM)_$(PROCTYPE) for every case. cf. the table at http://wiki.services.openoffice.org/wiki/Documentation/DevGuide/Extensions/Target_Platform#Platform_Tokens may be some more info may help: what kind of extension are you developing? what build environment do you use? can't you simply take the value from the Platform_Tokens table and hard code it, or you need something more portable? Regards -- Ariel Constenla-Haile La Plata, Argentina
signature.asc
Description: This is a digitally signed message part.
