×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Jan 2006
    Posts
    12

    gcc -c and Carbide

    In the project I've been working on, we've just switched over from CodeWarrior to Carbide.c++. We are hitting a problem when it comes to compiling 1 specific file in Carbide.c++ which was never a problem in CodeWarrior for it to comiple. I'm building for AMRI and using Symbian Series 60, 8.1a, S60_2nd_FP3.

    Basically, when it runs gcc on this file, ui.cpp, I get this error message.

    "linker input file unused since linking not done"

    and an error when it archives because the corresponding UI.o is never created.
    This is the only file that has this problem, and I know that the "-c" option for gcc turns off linking, so I'd imagine that's what is causing it, but all the other files which have calls to headers and libraries run fine with this option.

    Is there a way to take off the "-c" option when Carbide.c++ builds?

    Any suggestions, solutions, would be great!

  2. #2
    Registered User
    Join Date
    Mar 2003
    Posts
    44

    Re: gcc -c and Carbide

    There is no way to turn off -c that I know of. Can you do a rebuild and copy/paste the contents of the build console view here?

  3. #3
    Registered User
    Join Date
    Jan 2006
    Posts
    12

    Re: gcc -c and Carbide

    'Building file: C:/sourceNine/Program/source/UI.CPP'
    'Invoking: GCC98 Complier'
    gcc.exe -nostdinc -pipe -c -s -fomit-frame-pointer -O -march=armv4t -mthumb-interwork -DNDEBUG -D_UNICODE -D__SYMBIAN32__ -D__DLL__ -D__GCC32__ -D__EPOC32__ -D__MARM__ -D__MARM_ARMI__ -Wall -Wno-ctor-dtor-privacy -Wno-unknown-pragmas -I "C:\sourceNine\Program\source\libs\colin3d" -I "C:\sourceNine\Program\source\support\port" -I "C:\sourceNine\Program\source\support\other" -I "C:\sourceNine\Program\source\libs\fba_sdk\FaceRender\src" -I "C:\sourceNine\Program\source\support\debug" -I
    .
    .
    .
    "C:\sourceNine\Program\source\." -I "C:\Symbian\8.1a\S60_2nd_FP3\epoc32\include" -I "C:\Symbian\8.1a\S60_2nd_FP3\epoc32\include\libc" -o UI.o C:/sourceNine/Program/source/UI.CPP
    gcc.exe: C:/sourceNine/Program/source/UI.CPP: linker input file unused since linking not done
    'Finished building: C:/sourceNine/Program/source/UI.CPP'

Similar Threads

  1. adding new library using carbide
    By liafail in forum Symbian Tools & SDKs
    Replies: 4
    Last Post: 2008-02-15, 13:06
  2. Can't run Eclipse after installing Carbide!?!?
    By abp_dk in forum Carbide.c++ IDE and plug-ins (Closed)
    Replies: 5
    Last Post: 2006-02-24, 13:12
  3. Issues with Carbide vs 2.0 installer!
    By kt10208 in forum Symbian Tools & SDKs
    Replies: 2
    Last Post: 2006-01-16, 09:27
  4. Nokia S60 SDK and Carbide in VS.NET 6.0
    By MePHyst0 in forum Symbian Tools & SDKs
    Replies: 2
    Last Post: 2005-12-01, 20:46
  5. Carbide installation.
    By serprem in forum Symbian Tools & SDKs
    Replies: 1
    Last Post: 2005-11-26, 12:03

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×