mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 00:14:22 +08:00
Changes to try to get P112 to compile with laster SDCC (it still does not)
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
############################################################################
|
############################################################################
|
||||||
# configs/p112/ostest/Make.defs
|
# configs/p112/ostest/Make.defs
|
||||||
#
|
#
|
||||||
# Copyright (C) 2012 Gregory Nutt. All rights reserved.
|
# Copyright (C) 2012, 2014 Gregory Nutt. All rights reserved.
|
||||||
# Author: Gregory Nutt <gnutt@nuttx.org>
|
# Author: Gregory Nutt <gnutt@nuttx.org>
|
||||||
#
|
#
|
||||||
# Redistribution and use in source and binary forms, with or without
|
# Redistribution and use in source and binary forms, with or without
|
||||||
@@ -81,7 +81,8 @@ AFLAGS = -x -a -l -o -s -g
|
|||||||
SDCCLIB = z180.lib
|
SDCCLIB = z180.lib
|
||||||
|
|
||||||
ASMEXT = .asm
|
ASMEXT = .asm
|
||||||
OBJEXT = .o
|
# OBJEXT = .o
|
||||||
|
OBJEXT = .rel
|
||||||
LIBEXT = .lib
|
LIBEXT = .lib
|
||||||
EXEEXT = .hex
|
EXEEXT = .hex
|
||||||
|
|
||||||
@@ -122,7 +123,9 @@ endif
|
|||||||
# Windows native host tool definitions
|
# Windows native host tool definitions
|
||||||
|
|
||||||
ifeq ($(CONFIG_WINDOWS_NATIVE),y)
|
ifeq ($(CONFIG_WINDOWS_NATIVE),y)
|
||||||
HOSTCC = mingw32-gcc.exe
|
# You may need to customize the binary name:
|
||||||
|
# HOSTCC = mingw32-gcc.exe
|
||||||
|
HOSTCC = x86_64-w64-mingw32-gcc.exe
|
||||||
HOSTINCLUDES = -I.
|
HOSTINCLUDES = -I.
|
||||||
HOSTCFLAGS = -Wall -Wstrict-prototypes -Wshadow -g -pipe
|
HOSTCFLAGS = -Wall -Wstrict-prototypes -Wshadow -g -pipe
|
||||||
HOSTLDFLAGS =
|
HOSTLDFLAGS =
|
||||||
@@ -130,7 +133,7 @@ ifeq ($(CONFIG_WINDOWS_NATIVE),y)
|
|||||||
|
|
||||||
# Windows-native host tools
|
# Windows-native host tools
|
||||||
|
|
||||||
MKDEP = $(TOPDIR)\tools\mkdeps.exe --winnative
|
MKDEP = $(TOPDIR)\tools\mkdeps.exe --winnative # --dep-debug
|
||||||
|
|
||||||
# Use NTFS links or directory copies
|
# Use NTFS links or directory copies
|
||||||
|
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
rem configs/p112/ostest/setenv.bat
|
rem configs/p112/ostest/setenv.bat
|
||||||
rem
|
rem
|
||||||
rem Copyright (C) 2012 Gregory Nutt. All rights reserved.
|
rem Copyright (C) 2012, 2014 Gregory Nutt. All rights reserved.
|
||||||
rem Author: Gregory Nutt <gnutt@nuttx.org>
|
rem Author: Gregory Nutt <gnutt@nuttx.org>
|
||||||
rem
|
rem
|
||||||
rem Redistribution and use in source and binary forms, with or without
|
rem Redistribution and use in source and binary forms, with or without
|
||||||
@@ -41,7 +41,8 @@ set PATH=C:\MinGW\bin;%PATH%
|
|||||||
|
|
||||||
rem This is the location where I installed the SDCC toolchain for windows.
|
rem This is the location where I installed the SDCC toolchain for windows.
|
||||||
|
|
||||||
set PATH=C:\Program Files (x86)\SDCC/bin;%PATH%
|
rem set PATH=C:\Program Files (x86)\SDCC/bin;%PATH%
|
||||||
|
set PATH=C:\Program Files\SDCC/bin;%PATH%
|
||||||
|
|
||||||
rem This is the location where I installed the GNUWin32 tools. See
|
rem This is the location where I installed the GNUWin32 tools. See
|
||||||
rem http://gnuwin32.sourceforge.net/.
|
rem http://gnuwin32.sourceforge.net/.
|
||||||
|
|||||||
Reference in New Issue
Block a user