Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
TASTE
PolyORB-HI-C
Commits
c1a9424d
Commit
c1a9424d
authored
Jan 30, 2013
by
yoogx
Browse files
* Use gcc instead of ld for the LD macro
parent
318c993c
Changes
12
Hide whitespace changes
Inline
Side-by-side
share/make/Makefile.arm.dslinux
View file @
c1a9424d
...
...
@@ -5,10 +5,10 @@
## To use and compile examples for DSLinux, get the
## toolchain at http://www.dslinux.org.
CC
=
ucfront-gcc arm-linux-elf-gcc
CC
=
ucfront-gcc arm-linux-elf-gcc
CPP
=
ucfront-gcc arm-linux-elf-g++
TARGET_CFLAGS
=
-O2
-g
-fomit-frame-pointer
-fno-common
-fno-builtin
-Wall
-mswp-byte-writes
-DCONFIG_NDS_ROM8BIT
-mcpu
=
arm946e-s
-mfpu
=
fpe3
-DEMBED
-D__PIC__
-fpic
-msingle-pic-base
-Dlinux
-D__linux__
-Dunix
-D__uClinux__
-DPOSIX
=
1
$(GCC_GENERIC_FLAGS)
LD
=
arm-linux-elf-
ld
TARGET_CFLAGS
=
-O2
-g
-fomit-frame-pointer
-fno-common
-fno-builtin
-Wall
-mswp-byte-writes
-DCONFIG_NDS_ROM8BIT
-mcpu
=
arm946e-s
-mfpu
=
fpe3
-DEMBED
-D__PIC__
-fpic
-msingle-pic-base
-Dlinux
-D__linux__
-Dunix
-D__uClinux__
-DPOSIX
=
1
$(GCC_GENERIC_FLAGS)
LD
=
arm-linux-elf-
gcc
TARGET_LDFLAGS
=
-Wl
,-elf2flt
-D__PIC__
-fpic
-msingle-pic-base
-mswp-byte-writes
-lpthread
-lrt
target-clean
:
...
...
share/make/Makefile.arm.n770
View file @
c1a9424d
...
...
@@ -9,7 +9,7 @@
CC
=
arm-linux-gcc
CPP
=
arm-linux-g++
TARGET_CFLAGS
=
-DPOSIX
=
1
$(GCC_GENERIC_FLAGS)
LD
=
arm-linux-
ld
LD
=
arm-linux-
gcc
TARGET_LDFLAGS
=
-lpthread
-lrt
target-clean
:
...
...
share/make/Makefile.bench
View file @
c1a9424d
...
...
@@ -2,7 +2,7 @@ TARGET_CFLAGS = -DPOSIX -D_POSIX_SOURCE -D_GNU_SOURCE $(GCC_GENERIC_FLAGS) -D_
TARGET_LDFLAGS
=
-lpthread
-lrt
-L
$(RUNTIME_PATH)
/libs/linux32/
-L
$(RUNTIME_PATH)
/libs/linux64/
-llua
-lm
SIMULINK_LDFLAGS
=
-lm
CC
=
gcc
LD
=
ld
LD
=
gcc
GPROF
=
gprof
...
...
share/make/Makefile.gumstix.rtems
View file @
c1a9424d
...
...
@@ -11,16 +11,16 @@ CPP = arm-rtems4.10-g++
GPROF
=
arm-rtems4.10-gprof
TARGET_SOURCES
=
TARGET_SOURCES
=
#TARGET_TRANSPORT_SOURCES = $(RUNTIME_PATH)/config/leon-rtems/config.c
TARGET_TRANSPORT_SOURCES
=
TARGET_TRANSPORT_SOURCES
=
TARGET_CFLAGS
=
-DRTEMS_PURE
-DGUMSTIX_RTEMS
-mstructure-size-boundary
=
8
-mcpu
=
xscale
-mfpu
=
vfp
-mfloat-abi
=
soft
$(GCC_GENERIC_FLAGS)
TARGET_INCLUDE
=
TARGET_INCLUDE
=
LD
=
arm-rtems4.10-gcc
TARGET_LDFLAGS
=
LD
=
arm-rtems4.10-ld
TARGET_LDFLAGS
=
target-clean
:
rm
-f
$(BINARY)
.ralf
rm
-f
flash.img
...
...
@@ -54,5 +54,3 @@ define bsp-post-link
$(SIZE)
$@
cp
$@
$(basename
$@).ralf
endef
share/make/Makefile.linux32
View file @
c1a9424d
...
...
@@ -2,7 +2,7 @@ TARGET_CFLAGS = -DPOSIX -m32 -D_POSIX_SOURCE -D_GNU_SOURCE $(GCC_GENERIC_FL
TARGET_LDFLAGS
=
-lpthread
-lrt
-m32
-L
$(RUNTIME_PATH)
/libs/linux32/
-llua
-lm
SIMULINK_LDFLAGS
=
-lm
CC
=
gcc
LD
=
ld
LD
=
gcc
GPROF
=
gprof
USE_USB_BRICK
=
$(
shell
grep
__PO_HI_NEED_DRIVER_SPACEWIRE_USB_BRICK deployment.h 2>/dev/null|wc
-l
)
...
...
share/make/Makefile.linux32-xenomai-native
View file @
c1a9424d
...
...
@@ -12,7 +12,7 @@ TARGET_LDFLAGS += -L$(RUNTIME_PATH)/libs/linux32/ -llua -lm
SIMULINK_LDFLAGS
=
-lm
CC
=
gcc
LD
=
ld
LD
=
gcc
GPROF
=
gprof
...
...
share/make/Makefile.linux32-xenomai-posix
View file @
c1a9424d
...
...
@@ -12,7 +12,7 @@ TARGET_LDFLAGS += -L$(RUNTIME_PATH)/libs/linux32/ -llua -lm
SIMULINK_LDFLAGS
=
-lm
CC
=
gcc
LD
=
ld
LD
=
gcc
GPROF
=
gprof
...
...
share/make/Makefile.linux64
View file @
c1a9424d
...
...
@@ -2,7 +2,7 @@ TARGET_CFLAGS = -DPOSIX -m64 -D_POSIX_SOURCE -D_GNU_SOURCE $(GCC_GENERIC_FLAGS
TARGET_LDFLAGS
=
-lpthread
-lrt
-m64
-L
$(RUNTIME_PATH)
/libs/linux64/
-llua
-lm
SIMULINK_LDFLAGS
=
-lm
CC
=
gcc
LD
=
ld
LD
=
gcc
GPROF
=
gprof
...
...
share/make/Makefile.win32
View file @
c1a9424d
...
...
@@ -2,7 +2,7 @@ TARGET_CFLAGS = -D_WIN32 -D_GNU_SOURCE $(GCC_GENERIC_FLAGS) -std=c99 -m32
TARGET_LDFLAGS
=
-m32
SIMULINK_LDFLAGS
=
-lm
CC
=
i686-w64-mingw32-gcc
LD
=
i686-w64-mingw32-
ld
LD
=
i686-w64-mingw32-
gcc
GPROF
=
gprof
ifdef
USE_GPROF
...
...
share/make/Makefile.x86.linuxtaste
View file @
c1a9424d
...
...
@@ -9,16 +9,16 @@ CPP = i386-linux-cpp
GPROF
=
TARGET_SOURCES
=
TARGET_TRANSPORT_SOURCES
=
TARGET_SOURCES
=
TARGET_TRANSPORT_SOURCES
=
TARGET_CFLAGS
=
-I
$(LINUXTASTE_PATH)
/output/target/usr/local/include
-DPOSIX
-D_POSIX_SOURCE
-D_GNU_SOURCE
-D__PO_HI_PLATFORM_LINUXTASTE
$(GCC_GENERIC_FLAGS)
TARGET_INCLUDE
=
LD
=
i386-linux-
ld
TARGET_LDFLAGS
=
-L
$(LINUXTASTE_PATH)
/output/target/usr/local/lib
-lrt
-lpthread
-lcomedi
-lm
LD
=
i386-linux-
gcc
TARGET_LDFLAGS
=
-L
$(LINUXTASTE_PATH)
/output/target/usr/local/lib
-lrt
-lpthread
-lcomedi
-lm
target-clean
:
target-objects
:
share/make/Makefile.x86.rtems
View file @
c1a9424d
...
...
@@ -21,15 +21,15 @@ CPP = i386-rtems4.8-g++
GPROF
=
i386-rtems4.8-gprof
TARGET_SOURCES
=
TARGET_TRANSPORT_SOURCES
=
TARGET_SOURCES
=
TARGET_TRANSPORT_SOURCES
=
TARGET_CFLAGS
=
-DRTEMS_PURE
-DX86_RTEMS
$(GCC_GENERIC_FLAGS)
TARGET_INCLUDE
=
-I
$(RUNTIME_PATH)
/config/
LD
=
i386-rtems4.8-
ld
LD
=
i386-rtems4.8-
gcc
TARGET_LDFLAGS
=
-lrtemsbsp
-lc
-lm
target-clean
:
-include
$(RTEMS_MAKEFILE_PATH)/Makefile.inc
...
...
@@ -53,5 +53,3 @@ target-objects:
else
target-objects
:
endif
share/make/Makefile.x86.rtems_posix
View file @
c1a9424d
...
...
@@ -21,15 +21,15 @@ CPP = i386-rtems4.8-g++
GPROF
=
i386-rtems4.8-gprof
TARGET_SOURCES
=
TARGET_TRANSPORT_SOURCES
=
TARGET_SOURCES
=
TARGET_TRANSPORT_SOURCES
=
TARGET_CFLAGS
=
-DRTEMS_POSIX
-DX86_RTEMS
$(GCC_GENERIC_FLAGS)
TARGET_INCLUDE
=
-I
$(RUNTIME_PATH)
/config/
LD
=
i386-rtems4.8-
ld
LD
=
i386-rtems4.8-
gcc
TARGET_LDFLAGS
=
-lrtemsbsp
-lc
-lm
target-clean
:
-include
$(RTEMS_MAKEFILE_PATH)/Makefile.inc
...
...
@@ -53,5 +53,3 @@ target-objects:
else
target-objects
:
endif
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment