[M3devel] m3cc build fails on older MacOS X

Olaf Wagner wagner at elegosoft.com
Tue May 6 23:07:36 CEST 2008


Quoting Jay <jayk123 at hotmail.com>:

> Olaf, can you try without my m3makefile wierdness, that works elsewhere?
>
>   cd %CVSROOT%/m3-sys/m3cc    mkdir obj1     cd obj1     
> ../gcc/configure --disable-bootstrap --enable-languages=c,cm3cg      
> make
>  I'm not sure of "cm3cg", it might be "m3cg".  And you can just omit  
>  that anyway, I doubt the error is m3 related.
> (Tony: I don't believe --srcdir is needed. configure figures it out;  
>  granted, maybe not trivially.)
> ?
>  I expect you will get the same error.  Which isn't the final   
> answer, just some relevant data.   And if I'm wrong, well, that   
> suggests some fix.

I got home later than expected. The build now stops at a different
step:

/Users/wagner/work/cm3/m3-sys/m3cc/derived/./gcc/xgcc  
-B/Users/wagner/work/cm3/m3-sys/m3cc/derived/./gcc/  
-B/usr/local/powerpc-apple-darwin7.9.0/bin/  
-B/usr/local/powerpc-apple-darwin7.9.0/lib/ -isystem  
/usr/local/powerpc-apple-darwin7.9.0/include -isystem  
/usr/local/powerpc-apple-darwin7.9.0/sys-include -O2  -O2 -g -g -O2    
-DIN_GCC    -W -Wall -Wwrite-strings -Wstrict-prototypes  
-Wmissing-prototypes -Wold-style-definition  -isystem ./include   
-Wa,-force_cpusubtype_ALL -pipe -mmacosx-version-min=10.4 -g  
-DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED  -dynamiclib  
-nodefaultlibs -install_name /usr/local/lib/libgcc_s`if test . = ppc64  
; then echo _. ; fi`.1.dylib -single_module -o ./libgcc_s.1.dylib.tmp  
-Wl,-exported_symbols_list,libgcc.map -compatibility_version 1  
-current_version 1.0 -O2 -g -g -O2 -B./ _muldi3_s.o _negdi2_s.o  
_lshrdi3_s.o _ashldi3_s.o _ashrdi3_s.o _cmpdi2_s.o _ucmpdi2_s.o  
_clear_cache_s.o _enable_execute_stack_s.o _trampoline_s.o __main_s.o  
_absvsi2_s.o _absvdi2_s.o _addvsi3_s.o _addvdi3_s.o _subvsi3_s.o  
_subvdi3_s.o _mulvsi3_s.o _mulvdi3_s.o _negvsi2_s.o _negvdi2_s.o  
_ctors_s.o _ffssi2_s.o _ffsdi2_s.o _clz_s.o _clzsi2_s.o _clzdi2_s.o  
_ctzsi2_s.o _ctzdi2_s.o _popcount_tab_s.o _popcountsi2_s.o  
_popcountdi2_s.o _paritysi2_s.o _paritydi2_s.o _powisf2_s.o  
_powidf2_s.o _powixf2_s.o _powitf2_s.o _mulsc3_s.o _muldc3_s.o  
_mulxc3_s.o _multc3_s.o _divsc3_s.o _divdc3_s.o _divxc3_s.o  
_divtc3_s.o _bswapsi2_s.o _bswapdi2_s.o _fixunssfsi_s.o  
_fixunsdfsi_s.o _fixunsxfsi_s.o _fixsfdi_s.o _fixdfdi_s.o _fixxfdi_s.o  
_fixtfdi_s.o _fixunssfdi_s.o _fixunsdfdi_s.o _fixunsxfdi_s.o  
_fixunstfdi_s.o _floatdisf_s.o _floatdidf_s.o _floatdixf_s.o  
_floatditf_s.o _floatundisf_s.o _floatundidf_s.o _floatundixf_s.o  
_floatunditf_s.o _divdi3_s.o _moddi3_s.o _udivdi3_s.o _umoddi3_s.o  
_udiv_w_sdiv_s.o _udivmoddi4_s.o darwin-tramp_s.o ppc64-fp_s.o  
darwin-64_s.o darwin-ldouble_s.o darwin-world_s.o unwind-dw2_s.o  
unwind-dw2-fde-darwin_s.o unwind-sjlj_s.o unwind-c_s.o  
darwin-fallback_s.o emutls_s.o -lc
/usr/bin/ld: unknown flag: -macosx_version_min
collect2: ld returned 1 exit status
make[2]: *** [libgcc_s.dylib] Error 1
make[1]: *** [all-target-libgcc] Error 2
make: *** [all] Error 2

I'm too sleepy to investigate further now,

Olaf
-- 
Olaf Wagner -- elego Software Solutions GmbH
                Gustav-Meyer-Allee 25 / Gebäude 12, 13355 Berlin, Germany
phone: +49 30 23 45 86 96  mobile: +49 177 2345 869  fax: +49 30 23 45 86 95
    http://www.elegosoft.com | Geschäftsführer: Olaf Wagner | Sitz: Berlin
Handelregister: Amtsgericht Charlottenburg HRB 77719 | USt-IdNr: DE163214194




More information about the M3devel mailing list