| От | Tom Lane |
|---|---|
| Тема | Re: Makefile support for Mac OS X Fat Binaries? |
| Дата | |
| Msg-id | 23802.1200969608@sss.pgh.pa.us обсуждение |
| Ответ на | Re: Makefile support for Mac OS X Fat Binaries? (Larry Rosenman <ler@lerctr.org>) |
| Список | pgsql-hackers |
Larry Rosenman <ler@lerctr.org> writes:
> On Tue, 22 Jan 2008, Gregory Stark wrote:
>> We've been through this once already. You can't do it (cleanly) with just
>> Makefile hackery. The architectures have different endianness and possibly
>> other ABI differences. To handle that cleanly you have to run configure once
>> for each architecture and build each architecture with the appropriate
>> config.h.
>>
> Could we then combine the executables into one 4-way fat binary ?
Maybe you need to be thinking about a script that is "outside" the build
system: run the configure/make/make install process 4 times, then
combine the results. You could use the fact that some file is not the
same in all 4 install trees as the trigger driving a combination
process. (Shades of multilib RPMs ...)
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера