Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » Beginner's block(Cross compiler prefix / location)
Beginner's block [message #1800989] Thu, 10 January 2019 17:03 Go to next message
Sanchit Sharma is currently offline Sanchit SharmaFriend
Messages: 1
Registered: January 2019
Junior Member
Hi,

I recently installed Eclipse and am confused on what to insert in "cross compiler prefix and location".

Till now I did following commands:

$ gcc --version
gcc (Ubuntu 7.3.0-27ubuntu1~18.04) 7.3.0
Copyright (C) 2017 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

$ whereis gcc
gcc: /usr/bin/gcc /usr/lib/gcc /usr/share/man/man1/gcc.1.gz

$
sudo apt-get install libc6-armel-cross libc6-dev-armel-cross binutils-arm-linux-gnueabi libncurses5-dev

$
sudo apt install libgmp3-dev

I am fairly new to ECLIPSE and LINUX. Can you please help me out with this?

Thanks and regards.
Re: Beginner's block [message #1801013 is a reply to message #1800989] Fri, 11 January 2019 06:17 Go to previous message
David VavraFriend
Messages: 1426
Registered: October 2012
Senior Member
You'll have to figure out where the compiler, etc were placed.
Use that for the location.
I'm guessing the prefix is: arm-linux-gnueabi- (note the trailing '-')
making the actual compiler:
arm-linux-gnueabi-gcc,
arm-linux-gnueabi-g++,
etc.

[Updated on: Fri, 11 January 2019 06:18]

Report message to a moderator

Previous Topic:New feature: Outline as class diagram
Next Topic:Why doesn't Eclipse find my Header files.
Goto Forum:
  


Current Time: Fri Apr 26 15:50:05 GMT 2024

Powered by FUDForum. Page generated in 0.03766 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top