Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7678149
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T17:34:46+00:00 2026-05-31T17:34:46+00:00

I have compiled my application on Linux (Intel) machine using this command gcc –g

  • 0

I have compiled my application on Linux (Intel) machine using this command
gcc –g myapp.c –O3 –o myapp mylib.a ‘pkg-config –cflags gtk+-2.0’ ‘pkg-config –libs gtk+-2.0 gthread-2.0’
myapp is running successfully on Linux machine.

Now I want to compile myapp for Angstrom (A Linux version running on Beagleboard).

So I am using angstrom-2011.03-i686-linux-armv7a-linux-gnueabi-toolchain (is a cross-compiler for angstrom) cross-compiler to compile myapp.I have set path successfully using this command

./usr/local/angstrom/arm/environment-setup

And I have used this command to compile myapp.c for angstrom

[root@acmemsys internetTV_partialDecoding]# ./arm-angstrom-linux-gnueabi-gcc -g myapp.c -O3 -o myapp mylib.a ‘pkg-config –cflags gtk+-2.0’ ‘pkg-config –libs gtk+-2.0 gthread-2.0’

Errors:

arm-angstrom-linux-gnueabi-gcc: mylib.a: No such file or directory

arm-angstrom-linux-gnueabi-gcc: pkg-config –cflags gtk+-2.0: No such file or directory

arm-angstrom-linux-gnueabi-gcc: pkg-config –libs gtk+-2.0 gthread-2.0: No such file or directory

arm-angstrom-linux-gnueabi-gcc: error trying to exec ‘cc1’: execvp: No such file or directory

So want to ask that:

  1. How this error will be removed

    arm-angstrom-linux-gnueabi-gcc: mylib.a: No such file or directory

    Note:- mylib.a is a library used for myapp.
    
  2. which packages or command will be used on the place of pkg-config –cflags gtk+-2.0 and pkg-config –libs gtk+-2.0 for angstrom.
  3. And why this Error

    arm-angstrom-linux-gnueabi-gcc: error trying to exec 'cc1': execvp: No such file or directory 
    

    is coming.

Please help me to short out this problem.

Thanks in advance

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-31T17:34:47+00:00Added an answer on May 31, 2026 at 5:34 pm

    You’re not using the right quotes character: ` is different from ‘

    Use the $(command) variant if you prefer.

    Afterwards, check that pkg-config --cflags --libs gtk+-2.0 returns what you expect.

    You may also need to fix you arguments order (end with the -o part).

    To sum up, try this: gcc –g –O3 mylib.a $(pkg-config --cflags --libs gtk+-2.0 gthread-2.0) myapp.c –o myapp

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a following problem: I compiled my application on Linux Ubuntu 9.10 using
I have compiled a .NET application using Any CPU option. This .NET application uses
I have an application in linux, which is compiled successfully. I want to run
I have a C++ application cross-compiled for Linux running on an ARM CortexA9 processor
We have a c++ application which I recently ported from Linux/gcc to build on
I have written an application in Java and succesfully compiled it using gcj .
I'm using J9 VM to run my application on a Linux machine (BusyBox). When
I really have a strange situation. I'm making a Linux multi-threaded C application using
I am trying to install an application onto my device..I have compiled the application
I have a Win32 C++ application I have compiled on a PC running Windows

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.