[haiku-development] Re: Building on Mac
- From: Bryce Groff <bgroff@xxxxxxxxxx>
- To: haiku-development@xxxxxxxxxxxxx
- Date: Fri, 26 Oct 2007 10:43:37 -1000
On Oct 26, 2007, at 10:04 AM, Ingo Weinhold wrote:
On 2007-10-26 at 04:45:30 [+0200], Bryce Groff <bgroff@xxxxxxxxxx>
wrote:
On Oct 25, 2007, at 4:07 AM, Ingo Weinhold wrote:
On 2007-10-25 at 12:37:21 [+0200], Bryce Groff <bgroff@xxxxxxxxxx>
wrote:
Aloha everyone,
My name is Bryce and I have just built the tree on Mac os x.
Everything went well! There was only one problem that I came
across.
I had to comment out line 477 in build/jam/HaikuImage which is
AddTargetVariableToScript $(script) : <build>unzip. For some reason
it would not build on os x. The unzip for Haiku built just fine
however and after a little debugging (thanks umccullough) got an
image. So just wanted to give a thanks and heads up about that
issue.
Can you provide the build output, please.
Sure,
[...]
Apparently your system is not identified as UNIX. Can you send the
output
of "gcc -dumpspecs", please.
CU, Ingo
*asm:
%{m64: -arch x86_64 -force_cpusubtype_ALL} %{!m64: -
arch i386 -force_cpusubtype_ALL}
*asm_debug:
%{g*:--gstabs}
*asm_final:
*asm_options:
%a %Y %{c:%W{o*}%{!o*:-o %w%b%O}}%{!c:-o %d%w%u%O}
*invoke_as:
%{!S:-o %|.s |
as %(asm_options) %m.s %A }
*cpp:
%{static:%{!dynamic:-D__STATIC__}}%{!static:-D__DYNAMIC__} %{arch}
*cpp_options:
%(cpp_unique_options) %1 %{m*} %{std*&ansi&trigraphs} %{W*&pedantic*}
%{w} %{f*} %{g*:%{!g0:%{!fno-working-directory:-fworking-directory}}}
%{O*} %{undef} %{save-temps:-fpch-preprocess}
*cpp_debug_options:
%{d*}
*cpp_unique_options:
%{C|CC:%{!E:%eGCC does not support -C or -CC without -E}} %{!Q:-
quiet} %{nostdinc*} %{C} %{CC} %{v} %{I*&F*} %{P} %I %{MD:-MD %{!o:%
b.d}%{o*:%.d%*}} %{MMD:-MMD %{!o:%b.d}%{o*:%.d%*}} %{M} %{MM} %{MF*} %
{MG} %{MP} %{MQ*} %{MT*} %{!E:%{!M:%{!MM:%{MD|MMD:%{o*:-MQ %*}}}}} %
{remap} %{g3:-dD} %{H} %C %{D*&U*&A*} %{i*} %Z %i %{fmudflap:-
D_MUDFLAP -include mf-runtime.h} %{fmudflapth:-D_MUDFLAP -D_MUDFLAPTH
-include mf-runtime.h} %{E|M|MM:%W{o*}}
*trad_capable_cpp:
cc1 -E %{traditional|ftraditional|traditional-cpp:-traditional-cpp}
*pch:
-o %g.s %{!o*:--output-pch=%i.gch} %W{o*:--output-pch=%*} %{fsave-
repository=*:
as %a -o %w%* %g.s %A}%V
*cc1:
%{g: %{!fno-eliminate-unused-debug-symbols: -feliminate-unused-debug-
symbols }} %{!static:%{!mdynamic-no-pic:-fPIC}} %<faltivec %<mno-
fused-madd %<mlong-branch %<mlongcall %<mcpu=G4 %<mcpu=G5
*cc1_options:
%{fast:-O3} %{fastf:-O3} %{fastcp:-O3}%{pg:%{fomit-frame-pointer:%e-
pg and -fomit-frame-pointer are incompatible}} %1 %{!Q:-quiet} -
dumpbase %B %{d*} %{m*} %{a*} %{c|S:%{o*:-auxbase-strip %*}%{!o*:-
auxbase %b}}%{!c:%{!S:-auxbase %b}} %{g*} %{O*} %{W*&pedantic*} %{w} %
{std*&ansi&trigraphs} %{v:-version} %{pg:-p} %{p} %{f*} %{undef} %
{Qn:-fno-ident} %{--help:--help} %{--target-help:--target-help} %{!
fsyntax-only:%{S:%W{o*}%{!o*:-o %b.s}}} %{fsyntax-only:-o %j} %{-
param*} %{fmudflap|fmudflapth:-fno-builtin -fno-merge-constants}
*cc1plus:
-D__private_extern__=extern
*link_gcc_c_sequence:
%G %L %G
*endfile:
*link:
%{static}%{!static:-dynamic} %{fgnu-runtime:%:replace-outfile(-
lobjc -lobjc-gnu)} %{!Zdynamiclib: %{Zforce_cpusubtype_ALL:-
arch %(darwin_arch) -force_cpusubtype_ALL} %{!
Zforce_cpusubtype_ALL:-arch %(darwin_subarch)} %{Zbundle:-
bundle} %{Zbundle_loader*:-bundle_loader %*} %
{client_name*} %{compatibility_version*:%e-compatibility_version
only allowed with -dynamiclib} %{current_version*:%e-
current_version only allowed with -dynamiclib} %
{Zforce_flat_namespace:-force_flat_namespace} %{Zinstall_name*:%
e-install_name only allowed with -dynamiclib} %
{keep_private_externs} %{private_bundle} } %
{Zdynamiclib: %{Zbundle:%e-bundle not allowed with -
dynamiclib} %{Zbundle_loader*:%e-bundle_loader not allowed with -
dynamiclib} %{client_name*:%e-client_name not allowed with -
dynamiclib} %{compatibility_version*} %
{current_version*} %{Zforce_cpusubtype_ALL:-arch_only %
(darwin_arch)} %{!Zforce_cpusubtype_ALL: -arch_only %
(darwin_subarch)} %{Zforce_flat_namespace:%e-
force_flat_namespace not allowed with -dynamiclib} %
{Zinstall_name*:-install_name %*} %{keep_private_externs:%e-
keep_private_externs not allowed with -dynamiclib} %
{private_bundle:%e-private_bundle not allowed with -
dynamiclib} } %{Zall_load:-all_load}%{Zdynamiclib:%{!
Zall_load:-noall_load}} %{Zallowable_client*:-allowable_client %
*} %{Zbind_at_load:-bind_at_load} %{Zarch_errors_fatal:-
arch_errors_fatal} %{Zdead_strip:-dead_strip} %
{Zno_dead_strip_inits_and_terms:-no_dead_strip_inits_and_terms} %
{Zdylib_file*:-dylib_file %*} %{Zdynamic:-dynamic} %
{Zexported_symbols_list*:-exported_symbols_list %*} %
{Zflat_namespace:-flat_namespace} %
{headerpad_max_install_names*} %{Zimage_base*:-image_base %*} %
{Zinit*:-init %*} %{mmacosx-version-min=*:-macosx_version_min %
*} %{!mmacosx-version-min=*:%{shared-libgcc:-macosx_version_min
10.3}} %{nomultidefs} %{Zmulti_module:-multi_module} %
{Zsingle_module:-single_module} %{Zmultiply_defined*:-
multiply_defined %*} %{!Zmultiply_defined*:%{shared-libgcc:
%:version-compare(< 10.5 mmacosx-version-min= -multiply_defined)
%:version-compare(< 10.5 mmacosx-version-min= suppress)}} %
{Zmultiplydefinedunused*:-multiply_defined_unused %*} %{prebind} %
{noprebind} %{nofixprebinding} %{prebind_all_twolevel_modules} %
{read_only_relocs} %{sectcreate*} %{sectorder*} %{seg1addr*} %
{segprot*} %{Zsegaddr*:-segaddr %*} %{Zsegs_read_only_addr*:-
segs_read_only_addr %*} %{Zsegs_read_write_addr*:-
segs_read_write_addr %*} %{Zseg_addr_table*: -seg_addr_table %
*} %{Zfn_seg_addr_table_filename*:-seg_addr_table_filename %
*} %{sub_library*} %{sub_umbrella*} %{isysroot*:-syslibroot
%*} %{twolevel_namespace} %{twolevel_namespace_hints} %
{umbrella*} %{undefined*} %{Zunexported_symbols_list*:-
unexported_symbols_list %*} %{Zweak_reference_mismatches*:-
weak_reference_mismatches %*} %{!Zweak_reference_mismatches*:-
weak_reference_mismatches non-weak} %{X} %{y*} %{w} %
{pagezero_size*} %{segs_read_*} %{seglinkedit} %{noseglinkedit} %
{sectalign*} %{sectobjectsymbols*} %{segcreate*} %{whyload} %
{whatsloaded} %{dylinker_install_name*} %{dylinker} %{Mach}
*lib:
%{!static:-lSystem}
*mfwrap:
%{static: %{fmudflap|fmudflapth: --wrap=malloc --wrap=free --
wrap=calloc --wrap=realloc --wrap=mmap --wrap=munmap --wrap=alloca} %
{fmudflapth: --wrap=pthread_create --wrap=pthread_join --
wrap=pthread_exit}} %{fmudflap|fmudflapth: --wrap=main}
*mflib:
%{fmudflap|fmudflapth: -export-dynamic}
*libgcc:
%{static:-lgcc_static; static-libgcc: -lgcc_eh -
lgcc; shared-libgcc|
fexceptions: %:version-
compare(!> 10.5 mmacosx-version-min= -lgcc_s.10.4)
%:version-compare(>= 10.5 mmacosx-version-min= -lgcc_s.
10.5) -lgcc; :%:version-
compare(>< 10.3.9 10.5 mmacosx-version-min= -lgcc_s.10.4)
%:version-compare(>= 10.5 mmacosx-version-min= -lgcc_s.
10.5) -lgcc}
*startfile:
%{!Zdynamiclib:%{Zbundle:%{!static:-lbundle1.o}} %{!Zbundle:%{pg:
%{static:-lgcrt0.o} %{!static:%{object:-
lgcrt0.o} %{!object:%{preload:-
lgcrt0.o} %{!preload:-lgcrt1.o %
(darwin_crt2)}}}} %{!pg:%{static:-
lcrt0.o} %{!static:%{object:-
lcrt0.o} %{!object:%{preload:-
lcrt0.o} %{!preload:-lcrt1.o %
(darwin_crt2)}}}}}} %{shared-libgcc:%:version-compare(< 10.5
mmacosx-version-min= crt3.o%s)}
*switches_need_spaces:
*cross_compile:
0
*version:
4.0.1
*multilib:
. !m64;x86_64 m64;
*multilib_defaults:
*multilib_extra:
*multilib_matches:
m64 m64;
*multilib_exclusions:
*multilib_options:
m64
*linker:
collect2
*link_libgcc:
%D
*md_exec_prefix:
*md_startfile_prefix:
*md_startfile_prefix_1:
*startfile_prefix_spec:
*sysroot_suffix_spec:
*sysroot_hdrs_suffix_spec:
*cc1_cpu:
%{!mtune*: %{m386:mtune=i386 %n`-m386' is deprecated. Use `-
march=i386' or `-mtune=i386' instead.
} %{m486:-mtune=i486 %n`-m486' is deprecated. Use `-march=i486' or `-
mtune=i486' instead.
} %{mpentium:-mtune=pentium %n`-mpentium' is deprecated. Use `-
march=pentium' or `-mtune=pentium' instead.
} %{mpentiumpro:-mtune=pentiumpro %n`-mpentiumpro' is deprecated. Use
`-march=pentiumpro' or `-mtune=pentiumpro' instead.
} %{mcpu=*:-mtune=%* %n`-mcpu=' is deprecated. Use `-mtune=' or '-
march=' instead.
}} %<mcpu=* %{mintel-syntax:-masm=intel %n`-mintel-syntax' is
deprecated. Use `-masm=intel' instead.
} %{mno-intel-syntax:-masm=att %n`-mno-intel-syntax' is deprecated.
Use `-masm=att' instead.
}
*darwin_arch:
%{m64:x86_64;:i386}
*darwin_crt2:
*darwin_subarch:
%{m64:
x86_64} %{!m64: i386}
*link_command:
%{!fdump=*:%{!fsyntax-only:%{!precomp:%{!c:%{!M:%{!MM:%{!E:%{!S: %
{!Zdynamiclib:%(linker)}%{Zdynamiclib:/usr/bin/libtool} %l %X %
{d} %{s} %{t} %{Z} %{!Zdynamiclib:%{A} %{e*} %{m} %{N} %{n} %{r} %
{u*} %{x} %{z}} %{@:-o %f%u.out}%{!@:%{o*}%{!o:-o a.out}} %{!
A:%{!nostdlib:%{!nostartfiles:%S}}} %{L*} %(link_libgcc) %o %
{fprofile-arcs|fprofile-generate|fcreate-profile:-lgcov} %
{fnested-functions: -allow_stack_execute} %{!nostdlib:%{!
nodefaultlibs:%G %L}} %{!A:%{!nostdlib:%{!nostartfiles:%E}}} %
{T*} %{F*} }}}}}}}}
- Follow-Ups:
- [haiku-development] Re: Building on Mac
- From: Ingo Weinhold
- References:
- [haiku-development] Building on Mac
- From: Bryce Groff
- [haiku-development] Re: Building on Mac
- From: Ingo Weinhold
- [haiku-development] Re: Building on Mac
- From: Bryce Groff
- [haiku-development] Re: Building on Mac
- From: Ingo Weinhold
Other related posts:
- » [haiku-development] Building on Mac
- » [haiku-development] Re: Building on Mac
- » [haiku-development] Re: Building on Mac
- » [haiku-development] Re: Building on Mac
- » [haiku-development] Re: Building on Mac
- » [haiku-development] Re: Building on Mac
- » [haiku-development] Re: Building on Mac
- » [haiku-development] Re: Building on Mac
- » [haiku-development] Re: Building on Mac
- » [haiku-development] Re: Building on Mac
- » [haiku-development] Re: Building on Mac
- » [haiku-development] Re: Building on Mac
- » [haiku-development] Re: Building on Mac
On 2007-10-26 at 04:45:30 [+0200], Bryce Groff <bgroff@xxxxxxxxxx> wrote:
On Oct 25, 2007, at 4:07 AM, Ingo Weinhold wrote:On 2007-10-25 at 12:37:21 [+0200], Bryce Groff <bgroff@xxxxxxxxxx> wrote:Aloha everyone, My name is Bryce and I have just built the tree on Mac os x.Everything went well! There was only one problem that I came across.I had to comment out line 477 in build/jam/HaikuImage which is AddTargetVariableToScript $(script) : <build>unzip. For some reason it would not build on os x. The unzip for Haiku built just fine however and after a little debugging (thanks umccullough) got animage. So just wanted to give a thanks and heads up about that issue.Can you provide the build output, please.Sure,
[...]Apparently your system is not identified as UNIX. Can you send the output
of "gcc -dumpspecs", please. CU, Ingo
- [haiku-development] Re: Building on Mac
- From: Ingo Weinhold
- [haiku-development] Building on Mac
- From: Bryce Groff
- [haiku-development] Re: Building on Mac
- From: Ingo Weinhold
- [haiku-development] Re: Building on Mac
- From: Bryce Groff
- [haiku-development] Re: Building on Mac
- From: Ingo Weinhold