I tried port gcc to my os, but when i run make all-gcc I got:
Code: Select all
Fixing headers into /home/milyges/projects/idyllaos/tmp/build/gcc.port/gcc/include for i686-pc-idyllaos target
Forbidden identifiers: i386 idyllaos unix
Finding directories and links to directories
Searching /usr/include/.
Making symbolic directory links
Fixing directory /usr/include into /home/milyges/projects/idyllaos/tmp/build/gcc.port/gcc/include
Applying io_quotes_use to linux/spi/spidev.h
Applying io_quotes_def to linux/pci_regs.h
Applying io_quotes_use to linux/nbd.h
Applying io_quotes_use to linux/fd.h
Applying io_quotes_use to linux/input.h
Applying io_quotes_use to linux/dn.h
Applying io_quotes_use to linux/videotext.h
Applying io_quotes_use to linux/raid/md_u.h
Applying io_quotes_def to linux/reiserfs_fs.h
Applying io_quotes_use to linux/reiserfs_fs.h
Applying io_quotes_use to linux/watchdog.h
Applying io_quotes_use to linux/raw.h
Applying io_quotes_use to linux/ipmi.h
Applying io_quotes_use to linux/ppdev.h
Applying io_quotes_use to linux/i2o-dev.h
Applying io_quotes_use to linux/pktcdvd.h
Applying io_quotes_use to linux/cm4000_cs.h
Applying io_quotes_use to linux/agpgart.h
Applying io_quotes_use to linux/dm-ioctl.h
Applying io_quotes_use to linux/random.h
Applying io_quotes_def to linux/version.h
Applying io_quotes_use to linux/cciss_ioctl.h
Applying io_quotes_def to linux/ppp-comp.h
Applying io_quotes_use to linux/fs.h
Applying io_quotes_use to linux/synclink.h
Applying io_quotes_use to linux/uinput.h
Applying io_quotes_use to linux/auto_fs.h
Applying io_quotes_use to linux/if_pppox.h
Applying io_quotes_use to linux/gigaset_dev.h
Applying io_quotes_use to linux/mmtimer.h
Applying io_quotes_use to linux/blkpg.h
Applying io_quotes_use to linux/atmbr2684.h
Applying io_quotes_def to linux/soundcard.h
Applying io_quotes_use to linux/auto_fs4.h
Applying io_quotes_use to linux/kvm.h
Applying io_quotes_use to linux/phantom.h
Applying io_quotes_use to asm-x86_64/mtrr.h
Applying sun_malloc to malloc.h
Applying stdio_va_list_clients to wchar.h
Applying io_quotes_def to proc/version.h
Applying io_quotes_use to asm-i386/mtrr.h
Applying sysv68_string to string.h
Applying io_quotes_use to gentoo-multilib/amd64/sys/mount.h
Applying io_quotes_use to gentoo-multilib/amd64/sys/raw.h
Applying io_quotes_use to gentoo-multilib/x86/sys/mount.h
Applying io_quotes_use to gentoo-multilib/x86/sys/raw.h
Applying stdio_stdarg_h to stdio.h
Applying stdio_va_list to stdio.h
Fixed: stdio.h
Applying ctrl_quotes_def to readline/chardefs.h
Applying io_quotes_def to xfs/xfs_ag.h
Applying io_quotes_def to xfs/xfs_dinode.h
Applying io_quotes_def to xfs/xfs_log_priv.h
Applying io_quotes_def to glib-2.0/gio/gmountoperation.h
Applying io_quotes_def to madwifi/net80211/if_media.h
Applying io_quotes_use to sound/asequencer.h
Applying io_quotes_use to sound/asound.h
Applying io_quotes_use to sound/emu10k1.h
Applying machine_name to X11/Xarch.h
Applying machine_name to X11/Xosdefs.h
Fixed: X11/Xosdefs.h
Applying machine_name to X11/Xos.h
Fixed: X11/Xos.h
Applying machine_name to X11/Xos_r.h
Fixed: X11/Xos_r.h
Applying machine_name to X11/Xw32defs.h
Fixed: X11/Xw32defs.h
Applying machine_name to X11/Xtrans/Xtransint.h
Fixed: X11/Xtrans/Xtransint.h
Quoted includes in X11/Xtrans/Xtransint.h
Applying io_quotes_def to X11/Xmu/Atoms.h
Applying io_quotes_use to mtd/ubi-user.h
Applying io_quotes_use to rdma/ib_user_mad.h
Applying io_quotes_use to video/sisfb.h
Applying io_quotes_use to drm/drm.h
Applying io_quotes_use to drm/i915_drm.h
Applying io_quotes_use to drm/mach64_drm.h
Applying io_quotes_use to drm/mga_drm.h
Applying io_quotes_use to drm/r128_drm.h
Applying io_quotes_use to drm/radeon_drm.h
Applying io_quotes_use to drm/savage_drm.h
Applying io_quotes_use to drm/sis_drm.h
Applying io_quotes_use to drm/via_drm.h
Applying strict_ansi_not to paper.h
Fixed: paper.h
Applying machine_name to xorg/servermd.h
Fixed: xorg/servermd.h
Applying machine_name to xorg/micoord.h
Applying strict_ansi_only to xorg/compiler.h
Fixed: xorg/compiler.h
Quoted includes in xorg/compiler.h
Applying io_quotes_use to xorg/xf86Module.h
Applying machine_name to xorg/xf86Privstr.h
Fixed: xorg/xf86Privstr.h
Quoted includes in xorg/xf86Privstr.h
Applying machine_name to xorg/xf86_OSlib.h
Fixed: xorg/xf86_OSlib.h
Quoted includes in xorg/xf86_OSlib.h
Applying io_quotes_use to xorg/xorgVersion.h
Applying machine_name to xorg/xf86Keymap.h
Fixed: xorg/xf86Keymap.h
Applying io_quotes_def to xorg/edid.h
Applying io_quotes_use to xorg/edid.h
Fixed: xorg/edid.h
Quoted includes in xorg/edid.h
Applying io_quotes_def to xorg/xf86Pci.h
Applying machine_name to xorg/assyntax.h
Fixed: xorg/assyntax.h
Applying io_quotes_def to xorg/IBM.h
Applying machine_name to scsilib/archdefs.h
Applying machine_name to scsilib/btorder.h
Applying machine_name to scsilib/mconfig.h
Fixed: scsilib/mconfig.h
Applying strict_ansi_not to scsilib/prototyp.h
Fixed: scsilib/prototyp.h
Applying machine_name to scsilib/stkframe.h
Fixed: scsilib/stkframe.h
Applying io_quotes_use to scsilib/scg/scgio.h
Fixed: scsilib/scg/scgio.h
Applying avoid_wchar_t_type to CLucene/config/CompilerGcc.h
Fixed: CLucene/config/CompilerGcc.h
Quoted includes in CLucene/config/CompilerGcc.h
Applying io_quotes_def to mp4.h
Applying io_quotes_def to xvid.h
Applying io_quotes_use to xvid.h
Applying io_quotes_def to libIDL-2.0/libIDL/IDL.h
Applying io_quotes_use to libIDL-2.0/libIDL/IDL.h
Applying machine_name to nss/secport.h
Fixed: nss/secport.h
Quoted includes in nss/secport.h
Applying io_quotes_def to cdda_interface.h
Applying machine_name to SDL/SDL_stdinc.h
Fixed: SDL/SDL_stdinc.h
Quoted includes in SDL/SDL_stdinc.h
Applying io_quotes_def to SDL/SDL_version.h
Applying io_quotes_def to SDL/SDL_ttf.h
Applying io_quotes_def to SDL/SDL_image.h
Applying io_quotes_def to SDL/SDL_net.h
Applying io_quotes_def to SDL/SDL_mixer.h
Applying io_quotes_def to SDL/SDL_sound.h
Applying io_quotes_def to libwmf/macro.h
Applying io_quotes_def to libgsf-1/gsf/gsf-input-stdio.h
Applying io_quotes_def to libgsf-1/gsf/gsf-infile-stdio.h
Applying io_quotes_def to libgsf-1/gsf/gsf-output-iochannel.h
Applying io_quotes_def to libgsf-1/gsf/gsf-output-stdio.h
Applying io_quotes_def to libgsf-1/gsf/gsf-outfile-stdio.h
Applying io_quotes_def to FLAC/assert.h
Applying io_quotes_def to wine/windows/dinput.h
Applying io_quotes_use to wine/windows/mswsock.h
Applying io_quotes_def to wine/windows/oleauto.h
Applying io_quotes_def to wine/windows/winsock.h
Applying io_quotes_def to wine/windows/winsock2.h
Applying io_quotes_use to wine/windows/winsock2.h
Applying io_quotes_def to allegro/internal/alconfig.h
Applying io_quotes_def to allegro/platform/aldjgpp.h
Applying io_quotes_def to allegro/platform/almaccfg.h
Applying io_quotes_def to allegro/platform/alwatcom.h
Applying io_quotes_def to allegro/system.h
Applying io_quotes_def to wx-2.6/wx/build.h
Applying machine_name to wx-2.6/wx/platform.h
Applying io_quotes_def to sox.h
Applying io_quotes_def to wx-2.8/wx/build.h
Applying machine_name to wx-2.8/wx/platform.h
Applying io_quotes_def to libnotify/notification.h
Applying io_quotes_def to smpeg/smpeg.h
Applying io_quotes_def to mpeg2dec/mpeg2.h
Applying io_quotes_use to mpeg2dec/mpeg2.h
Applying io_quotes_def to openobex/obex.h
Applying io_quotes_use to openobex/obex.h
Applying io_quotes_def to mlt/framework/mlt_types.h
Applying io_quotes_def to xalanc/XPathCAPI/XPathCAPI.h
Applying io_quotes_def to id3/globals.h
Applying machine_name to xulrunner-1.9/unstable/fdlibm.h
Fixed: xulrunner-1.9/unstable/fdlibm.h
Applying io_quotes_def to xulrunner-1.9/unstable/zipstub.h
Cleaning up unneeded directories:
fixincludes is done
chmod a+r include/syslimits.h
echo timestamp > stmp-fixinc
rm -f mm_malloc.h
cat /home/milyges/projects/idyllaos/contrib/gcc-4.2.2/gcc/config/i386/gmm_malloc.h > mm_malloc.h
if [ -d include ] ; then true; else mkdir include; chmod a+rx include; fi
for file in .. /home/milyges/projects/idyllaos/contrib/gcc-4.2.2/gcc/ginclude/decfloat.h /home/milyges/projects/idyllaos/contrib/gcc-4.2.2/gcc/ginclude/float.h /home/milyges/projects/idyllaos/contrib/gcc-4.2.2/gcc/ginclude/iso646.h /home/milyges/projects/idyllaos/contrib/gcc-4.2.2/gcc/ginclude/stdarg.h /home/milyges/projects/idyllaos/contrib/gcc-4.2.2/gcc/ginclude/stdbool.h /home/milyges/projects/idyllaos/contrib/gcc-4.2.2/gcc/ginclude/stddef.h /home/milyges/projects/idyllaos/contrib/gcc-4.2.2/gcc/ginclude/varargs.h /home/milyges/projects/idyllaos/contrib/gcc-4.2.2/gcc/config/i386/mmintrin.h /home/milyges/projects/idyllaos/contrib/gcc-4.2.2/gcc/config/i386/mm3dnow.h /home/milyges/projects/idyllaos/contrib/gcc-4.2.2/gcc/config/i386/xmmintrin.h /home/milyges/projects/idyllaos/contrib/gcc-4.2.2/gcc/config/i386/emmintrin.h /home/milyges/projects/idyllaos/contrib/gcc-4.2.2/gcc/config/i386/pmmintrin.h mm_malloc.h; do \
if [ X$file != X.. ]; then \
realfile=`echo $file | sed -e 's|.*/\([^/]*\)$|\1|'`; \
echo timestamp > include/$realfile; \
rm -f include/$realfile; \
cp $file include; \
chmod a+r include/$realfile; \
fi; \
done
rm -f include/limits.h
cp xlimits.h include/limits.h
rm -f include/unwind.h
cp /home/milyges/projects/idyllaos/contrib/gcc-4.2.2/gcc/unwind-generic.h include/unwind.h
chmod a+r include/limits.h
rm -f include/README
cp /home/milyges/projects/idyllaos/contrib/gcc-4.2.2/gcc/../fixincludes/README-fixinc include/README
chmod a+r include/README
echo timestamp > stmp-int-hdrs
creating as
echo timestamp > stamp-as
creating collect-ld
echo timestamp > stamp-collect-ld
creating nm
echo timestamp > stamp-nm
objext='.o' \
LIB1ASMFUNCS='' \
LIB2FUNCS_ST='_eprintf __gcc_bcmp' \
LIB2FUNCS_EXCLUDE='' \
LIBGCOV='_gcov _gcov_merge_add _gcov_merge_single _gcov_merge_delta _gcov_fork _gcov_execl _gcov_execlp _gcov_execle _gcov_execv _gcov_execvp _gcov_execve _gcov_interval_profiler _gcov_pow2_profiler _gcov_one_value_profiler' \
LIB2ADD='' \
LIB2ADD_ST='' \
LIB2ADDEH='/home/milyges/projects/idyllaos/contrib/gcc-4.2.2/gcc/unwind-dw2.c /home/milyges/projects/idyllaos/contrib/gcc-4.2.2/gcc/unwind-dw2-fde.c /home/milyges/projects/idyllaos/contrib/gcc-4.2.2/gcc/unwind-sjlj.c /home/milyges/projects/idyllaos/contrib/gcc-4.2.2/gcc/gthr-gnat.c /home/milyges/projects/idyllaos/contrib/gcc-4.2.2/gcc/unwind-c.c' \
LIB2ADDEHSTATIC='/home/milyges/projects/idyllaos/contrib/gcc-4.2.2/gcc/unwind-dw2.c /home/milyges/projects/idyllaos/contrib/gcc-4.2.2/gcc/unwind-dw2-fde.c /home/milyges/projects/idyllaos/contrib/gcc-4.2.2/gcc/unwind-sjlj.c /home/milyges/projects/idyllaos/contrib/gcc-4.2.2/gcc/gthr-gnat.c /home/milyges/projects/idyllaos/contrib/gcc-4.2.2/gcc/unwind-c.c' \
LIB2ADDEHSHARED='/home/milyges/projects/idyllaos/contrib/gcc-4.2.2/gcc/unwind-dw2.c /home/milyges/projects/idyllaos/contrib/gcc-4.2.2/gcc/unwind-dw2-fde.c /home/milyges/projects/idyllaos/contrib/gcc-4.2.2/gcc/unwind-sjlj.c /home/milyges/projects/idyllaos/contrib/gcc-4.2.2/gcc/gthr-gnat.c /home/milyges/projects/idyllaos/contrib/gcc-4.2.2/gcc/unwind-c.c' \
LIB2ADDEHDEP='/home/milyges/projects/idyllaos/contrib/gcc-4.2.2/gcc/unwind-generic.h unwind-pe.h unwind.inc unwind-dw2-fde.h unwind-dw2.h' \
LIB2_SIDITI_CONV_FUNCS='' \
LIBUNWIND='' \
LIBUNWINDDEP='' \
SHLIBUNWIND_LINK='' \
SHLIBUNWIND_INSTALL='' \
FPBIT='' \
FPBIT_FUNCS='_pack_sf _unpack_sf _addsub_sf _mul_sf _div_sf _fpcmp_parts_sf _compare_sf _eq_sf _ne_sf _gt_sf _ge_sf _lt_sf _le_sf _unord_sf _si_to_sf _sf_to_si _negate_sf _make_sf _sf_to_df _sf_to_tf _thenan_sf _sf_to_usi _usi_to_sf' \
LIB2_DIVMOD_FUNCS='_divdi3 _moddi3 _udivdi3 _umoddi3 _udiv_w_sdiv _udivmoddi4' \
DPBIT='' \
DPBIT_FUNCS='_pack_df _unpack_df _addsub_df _mul_df _div_df _fpcmp_parts_df _compare_df _eq_df _ne_df _gt_df _ge_df _lt_df _le_df _unord_df _si_to_df _df_to_si _negate_df _make_df _df_to_sf _df_to_tf _thenan_df _df_to_usi _usi_to_df' \
TPBIT='' \
TPBIT_FUNCS='_pack_tf _unpack_tf _addsub_tf _mul_tf _div_tf _fpcmp_parts_tf _compare_tf _eq_tf _ne_tf _gt_tf _ge_tf _lt_tf _le_tf _unord_tf _si_to_tf _tf_to_si _negate_tf _make_tf _tf_to_df _tf_to_sf _thenan_tf _tf_to_usi _usi_to_tf' \
DFP_ENABLE='' \
DFP_CFLAGS='' \
D32PBIT='' \
D32PBIT_FUNCS='_addsub_sd _div_sd _mul_sd _plus_sd _minus_sd _eq_sd _ne_sd _lt_sd _gt_sd _le_sd _ge_sd _sd_to_si _sd_to_di _sd_to_usi _sd_to_udi _si_to_sd _di_to_sd _usi_to_sd _udi_to_sd _sd_to_sf _sd_to_df _sd_to_xf _sf_to_sd _df_to_sd _xf_to_sd _sd_to_dd _sd_to_td _unord_sd _conv_sd' \
D64PBIT='' \
D64PBIT_FUNCS='_addsub_dd _div_dd _mul_dd _plus_dd _minus_dd _eq_dd _ne_dd _lt_dd _gt_dd _le_dd _ge_dd _dd_to_si _dd_to_di _dd_to_usi _dd_to_udi _si_to_dd _di_to_dd _usi_to_dd _udi_to_dd _dd_to_sf _dd_to_df _dd_to_xf _sf_to_dd _df_to_dd _xf_to_dd _dd_to_sd _dd_to_td _unord_dd _conv_dd' \
D128PBIT='' \
D128PBIT_FUNCS='_addsub_td _div_td _mul_td _plus_td _minus_td _eq_td _ne_td _lt_td _gt_td _le_td _ge_td _td_to_si _td_to_di _td_to_usi _td_to_udi _si_to_td _di_to_td _usi_to_td _udi_to_td _td_to_sf _td_to_df _td_to_xf _sf_to_td _df_to_td _xf_to_td _td_to_sd _td_to_dd _unord_td _conv_td' \
MULTILIBS=`i686-pc-idyllaos-gcc --print-multi-lib` \
EXTRA_MULTILIB_PARTS='' \
SHLIB_LINK='' \
SHLIB_INSTALL='' \
SHLIB_EXT='' \
SHLIB_MULTILIB='' \
SHLIB_MKMAP='' \
SHLIB_MKMAP_OPTS='' \
SHLIB_MAPFILES='' \
SHLIB_NM_FLAGS='-pg' \
MULTILIB_OSDIRNAMES='' \
ASM_HIDDEN_OP='' \
GCC_FOR_TARGET='i686-pc-idyllaos-gcc ' \
mkinstalldirs='/bin/sh /home/milyges/projects/idyllaos/contrib/gcc-4.2.2/gcc/../mkinstalldirs' \
/bin/sh mklibgcc > tmp-libgcc.mk
mv tmp-libgcc.mk libgcc.mk
TARGET_CPU_DEFAULT="" \
HEADERS="auto-host.h ansidecl.h" DEFINES="USED_FOR_TARGET " \
/bin/sh /home/milyges/projects/idyllaos/contrib/gcc-4.2.2/gcc/mkconfig.sh tconfig.h
i686-pc-idyllaos-gcc -O2 -O2 -g -O2 -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -isystem ./include -I. -I. -I/home/milyges/projects/idyllaos/contrib/gcc-4.2.2/gcc -I/home/milyges/projects/idyllaos/contrib/gcc-4.2.2/gcc/. -I/home/milyges/projects/idyllaos/contrib/gcc-4.2.2/gcc/../include -I/home/milyges/projects/idyllaos/contrib/gcc-4.2.2/gcc/../libcpp/include -I/home/milyges/projects/idyllaos/contrib/gcc-4.2.2/gcc/../libdecnumber -I../libdecnumber -g0 -finhibit-size-directive -fno-inline-functions -fno-exceptions -fno-zero-initialized-in-bss -fno-toplevel-reorder -fPIC \
-c /home/milyges/projects/idyllaos/contrib/gcc-4.2.2/gcc/crtstuff.c -DCRT_BEGIN \
-o crtbegin.o
In file included from /home/milyges/projects/idyllaos/contrib/gcc-4.2.2/gcc/tsystem.h:90,
from /home/milyges/projects/idyllaos/contrib/gcc-4.2.2/gcc/crtstuff.c:68:
./include/stdio.h:18:40: error: gentoo-multilib/x86/stdio.h: No such file or directory
make[2]: *** [crtbegin.o] Błąd 1
make[2]: Opuszczenie katalogu `/home/milyges/projects/idyllaos/tmp/build/gcc.port/gcc'
make[1]: *** [all-gcc] Błąd 2
make[1]: Opuszczenie katalogu `/home/milyges/projects/idyllaos/tmp/build/gcc.port'
make: *** [gcc-pkg] Błąd 2
milyges@colossus ~/projects/idyllaos/contrib $
Sorry for my English.
Greetings.