From 19dc705e0c81b9b626896a90b83a78f2cfece6fd Mon Sep 17 00:00:00 2001 From: Mark Mitchell Date: Thu, 2 Sep 2004 20:54:12 +0000 Subject: [PATCH] symbian.h (LIB_SPEC): Define to empty. * config/arm/symbian.h (LIB_SPEC): Define to empty. * config/arm/t-symbian (SHLIB_LC): Likewise. From-SVN: r86990 --- gcc/ChangeLog | 5 +++++ gcc/config/arm/symbian.h | 5 +++++ gcc/config/arm/t-symbian | 3 +++ 3 files changed, 13 insertions(+) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 090300fc1fe..5fad75d7952 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2004-09-02 Mark Mitchell + + * config/arm/symbian.h (LIB_SPEC): Define to empty. + * config/arm/t-symbian (SHLIB_LC): Likewise. + 2004-09-02 Paul Brook * config/arm/bpabi.c (__aeabi_ul2d, __aeabi_ul2f): Remove. diff --git a/gcc/config/arm/symbian.h b/gcc/config/arm/symbian.h index 47fe2cbba00..5a59e79af17 100644 --- a/gcc/config/arm/symbian.h +++ b/gcc/config/arm/symbian.h @@ -50,6 +50,11 @@ #undef STARTFILE_SPEC #define STARTFILE_SPEC "crti%O%s crtbegin%O%s" +/* Do not link with any libraries by default. On Symbian OS, the user + must supply all required libraries on the command line. */ +#undef LIB_SPEC +#define LIB_SPEC "" + /* Support the "dllimport" attribute. */ #define TARGET_DLLIMPORT_DECL_ATTRIBUTES 1 diff --git a/gcc/config/arm/t-symbian b/gcc/config/arm/t-symbian index 1b7208b936a..abaf7bd4ce7 100644 --- a/gcc/config/arm/t-symbian +++ b/gcc/config/arm/t-symbian @@ -19,3 +19,6 @@ LIB1ASMFUNCS += \ MULTILIB_OPTIONS = mfloat-abi=softfp MULTILIB_DIRNAMES = softfp +# There is no C library to link against on Symbian OS -- at least when +# building GCC. +SHLIB_LC = -- 2.30.2