bebbo / amiga-gcc

The GNU C-Compiler with Binutils and other useful tools for cross development for Amiga
GNU General Public License v2.0
319 stars 66 forks source link

MacoOS sdk creation protos include issue #362

Closed BastianZuehlke closed 1 year ago

BastianZuehlke commented 1 year ago

No building errors with: CC=gcc-12 CXX=g++-12 gmake all all-sdk SHELL=$(brew --prefix)/bin/bash NDK=3.2 PREFIX=${PREFIX}

However, any include file in proto has a L After removing all Ls it seems to work.

/* Automatically generated header (sfdc 1.11f)! Do not edit! */

#ifndef PROTO_AHI_H
#define PROTO_AHI_H

#include L<clib/ahi_protos.h>

#ifndef _NO_INLINE
# if defined(__GNUC__)
#  ifdef __AROS__
#   include L<defines/ahi.h>
#  else
#   include L<inline/ahi.h>
#  endif
# else
#  include L<pragmas/ahi_pragmas.h>
# endif
#endif /* _NO_INLINE */

#ifdef __amigaos4__
# include <interfaces/ahi.h>
# ifndef __NOGLOBALIFACE__
   extern struct AHIIFace *IAHI;
# endif /* __NOGLOBALIFACE__*/
#endif /* !__amigaos4__ */
#ifndef __NOLIBBASE__
  extern struct Library *
# ifdef __CONSTLIBBASEDECL__
   __CONSTLIBBASEDECL__
# endif /* __CONSTLIBBASEDECL__ */
  AHIBase;
#endif /* !__NOLIBBASE__ */

#endif /* !PROTO_AHI_H */
BastianZuehlke commented 1 year ago

Just noticed, same issue as: https://github.com/bebbo/amiga-gcc/issues/134

bebbo commented 1 year ago

and thus closing as duplicate.

install and use proper tools.