Changeset 8e2154e7 in mainline
- Timestamp:
- 2018-07-05T21:41:25Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 74aee0c
- Parents:
- a37eeb9
- git-author:
- Dzejrou <dzejrou@…> (2018-06-28 17:36:35)
- git-committer:
- Dzejrou <dzejrou@…> (2018-07-05 21:41:25)
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
tools/autotool.py
ra37eeb9 r8e2154e7 323 323 324 324 common['GCC'] = "%sgcc" % prefix 325 common['G PP'] = "%sg++" % prefix325 common['GXX'] = "%sg++" % prefix 326 326 327 327 if (not path is None): 328 328 common['GCC'] = "%s/%s" % (path, common['GCC']) 329 common['G PP'] = "%s/%s" % (path, common['GPP'])329 common['GXX'] = "%s/%s" % (path, common['GXX']) 330 330 331 331 check_app([common['GCC'], "--version"], "GNU GCC", details) … … 616 616 common['CC_AUTOGEN'] = common['CC'] 617 617 618 check_common(common, "G PP")619 common['C PP'] = common['GPP']618 check_common(common, "GXX") 619 common['CXX'] = common['GXX'] 620 620 621 621 if (config['COMPILER'] == "gcc_native"): -
uspace/Makefile.common
ra37eeb9 r8e2154e7 237 237 238 238 # Flags for the compilation of C++ code. 239 CPPFLAGS = $(LIBCPP_INCLUDES_FLAGS) $(INCLUDES_FLAGS) -O$(OPTIMIZATION) $(CPP_ARCHSPEC) \ 239 CXX_BASE_LIBS = $(LIBCPP_PREFIX)/libcpp.a $(BASE_LIBS) 240 CXXFLAGS = $(LIBCPP_INCLUDES_FLAGS) $(INCLUDES_FLAGS) -O$(OPTIMIZATION) $(COMMON_CFLAGS) \ 240 241 -imacros $(CONFIG_HEADER) \ 241 242 -fexec-charset=UTF-8 -fwide-exec-charset=UTF-32$(ENDIANESS) \ … … 322 323 endif 323 324 325 ifneq ($(CXX_BINARY),) 326 $(CXX_BINARY): $(LINKER_SCRIPT) $(OBJECTS) $(LIBTAGS) $(CXX_BASE_LIBS) 327 $(CXX) $(CXXFLAGS) $(LDFLAGS) $(EXTRA_LDFLAGS) -T $(LINKER_SCRIPT) -Wl,-Map,$@.map -o $@ $(OBJECTS) $(LIBARGS) $(CXX_BASE_LIBS) 328 endif 329 324 330 ifneq ($(TEST_BINARY),) 325 331 $(TEST_BINARY): $(LINKER_SCRIPT) $(TEST_OBJECTS) $(TEST_BINARY_LIBS) $(LIBTAGS) $(BASE_LIBS) … … 357 363 358 364 %.o: %.cpp | depend 359 $(C PP) $(CPPFLAGS) $(EXTRA_CPPFLAGS) -c $< -o $@365 $(CXX) $(CXXFLAGS) $(EXTRA_CXXFLAGS) -c $< -o $@ 360 366 361 367 %.test.o: %.c | depend … … 372 378 373 379 %.lo: %.cpp | depend 374 $(C PP) $(CPPFLAGS) $(EXTRA_CPPFLAGS) -c $< -o $@380 $(CXX) $(CXXFLAGS) $(EXTRA_CXXFLAGS) -c $< -o $@ 375 381 376 382 -include $(DEPENDS) -
uspace/app/cpptest/Makefile
ra37eeb9 r8e2154e7 29 29 USPACE_PREFIX = ../.. 30 30 31 # TODO: Force linker to link libcpp by default when linking cpp apps? 32 LIBS = cpp 33 34 BINARY = cpptest 31 CXX_BINARY = cpptest 35 32 36 33 SOURCES = \ -
uspace/lib/c/arch/arm32/Makefile.common
ra37eeb9 r8e2154e7 30 30 COMMON_CFLAGS += -ffixed-r9 -mtp=soft -fno-omit-frame-pointer -mapcs-frame \ 31 31 -march=$(subst _,-,$(PROCESSOR_ARCH)) 32 CPP_ARCHSPEC= -ffixed-r9 -mtp=soft -fno-omit-frame-pointer -mapcs-frame \33 -march=$(subst _,-,$(PROCESSOR_ARCH))34 32 35 33 LDFLAGS += -Wl,--gc-sections … … 37 35 ifeq ($(CONFIG_FPU),y) 38 36 COMMON_CFLAGS += -mfloat-abi=hard 39 CPP_ARCHSPEC += -mfloat-abi=hard40 37 endif 41 38 -
uspace/lib/c/arch/mips32/Makefile.common
ra37eeb9 r8e2154e7 28 28 29 29 COMMON_CFLAGS += -msoft-float -mabi=32 30 CPP_ARCHSPEC = -msoft-float -mabi=3231 30 AS_PROLOG = .module softfloat;.abicalls; 32 31 LDFLAGS += -Wl,--gc-sections -
uspace/lib/c/arch/mips32eb/Makefile.common
ra37eeb9 r8e2154e7 28 28 29 29 COMMON_CFLAGS += -msoft-float -mabi=32 30 CPP_ARCHSPEC = -msoft-float -mabi=3231 30 AS_PROLOG = .module softfloat;.abicalls; 32 31 LDFLAGS += -Wl,--gc-sections
Note:
See TracChangeset
for help on using the changeset viewer.