Changes to try to get P112 to compile with laster SDCC (it still does not)

This commit is contained in:
Gregory Nutt
2014-08-22 14:48:29 -06:00
parent 687cbcbcb5
commit d837df98d9
2 changed files with 10 additions and 6 deletions
+7 -4
View File
@@ -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
+3 -2
View File
@@ -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/.