This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: crosstool-NG for Alpha-Target, Error


On Sunday 14 September 2008 06:10:59 Sebastian Koenig wrote:
> I'm trying to build a cross-toolchain for an Alpha platform. I 
> successfully downloaded and installed crosstool-NG (great job, thanks for 
> that!), but when I run
> ct-ng alphaev56-unknown-linux-gnu
> ct-ng build
> [ERROR]  Build failed in step '<none>'
> [ERROR]  Error happened in 
> '/usr/local/lib/ct-ng-1.2.3/scripts/crosstool.sh' in function 'main' (line 
> unknown, sorry)
> [ERROR]  (elapsed: 0:00.05)
> Am I making some stupid mistake?

How did you configure crosstool-NG? Here's what I just tested:
# tar xjf crosstool-ng-1.2.3.tar.bz2
# cd crosstool-1.2.3
# ./configure --prefix=/some/place
# make
# make install
# export PATH="${PATH}:/some/place/bin"
# cd /some/other/place
# ct-ng alphaev56-unknown-linux-gnu
# ct-ng build

And the output should look like:
[INFO ]  Build started 20080914.165118
[INFO ]  Checking environment sanity
[WARN ]  GREP_OPTIONS screws up the build. Resetting.
[INFO ]  Building environment variables
[EXTRA]  Preparing working directories
[WARN ]  You did not specify the build system. That's OK, I can guess...
[EXTRA]  =================================================================
[EXTRA]  Dumping internal crosstool-NG configuration
[EXTRA]    Building a toolchain for:
[EXTRA]      build  = x86_64-unknown-linux-gnu
[EXTRA]      host   = x86_64-unknown-linux-gnu
[EXTRA]      target = alphaev56-unknown-linux-gnu
[EXTRA]  Dumping internal crosstool-NG configuration: done in 0.03s (at 00:00)
...
[EXTRA]  =================================================================
[EXTRA]  Creating toolchain aliases
[EXTRA]  Creating toolchain aliases: done in 0.00s (at 14:28)
[INFO ]  Removing installed documentation
[INFO ]  Build completed at 20080914.170546
[INFO ]  (elapsed: 14:27.77)
[EXTRA]  Compressing log file

> Maybe the problem is related to the fact that I could not select the 
> Alpha target manually in the menuconfig (only arm, mips, x86 and x86_64 
> are offered there)

In the 1.2 branch, Alpha is hidden behind 'EXPERIMENTAL', so you have to first
select "Paths and misc options" ---> "[*] Try features marked as EXPERIMENTAL"

> and after using the sample the only option available is "Variant".

The sample already has EXPERIMENTAL set. 

Could you please post your ".config" file?

Regards,
Yann E. MORIN.

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +0/33 662376056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| --==< ^_^ >==-- `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
`------------------------------^-------^------------------^--------------------'


--
For unsubscribe information see http://sourceware.org/lists.html#faq


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]