# Getting "gcc: \`-b' must come at the start of the command lin

**URL:** <https://www.ruby-forum.com/t/getting-gcc-b-must-come-at-the-start-of-the-command-lin/94186>\
**Category:** Ruby\
**Created:** [April 24, 2006, 7:54pm UTC](https://www.ruby-forum.com/t/getting-gcc-b-must-come-at-the-start-of-the-command-lin/94186 "2006-04-24T19:54:29Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![unknown](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/u/4bbf92/32.png) [@unknown](https://www.ruby-forum.com/u/unknown)\
**Post date:** [April 24, 2006, 7:54pm UTC](https://www.ruby-forum.com/t/getting-gcc-b-must-come-at-the-start-of-the-command-lin/94186/1 "2006-04-24T19:54:29Z")

</div>

I get error during make of version 1.8.4. while trying to install in the  
following environment:

gcc main.o libruby-static.a -ldl -lcrypt -lm -o miniruby -g -O2  
-DRUBY\_EXPORT -brtl

gcc: `-b’ must come at the start of the command line

make: \*\*\* [miniruby] Error 1

AIX 5.2

gcc 3.3.2

GNU make 3.8

Has anyone seen this before. I’m a pre-newbe so I’m not sure this is the  
correct mail list for this topic. If not please let me know where I  
should go.

---

<div class="post-metadata">

**Author:** ![unknown](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/u/4bbf92/32.png) [@unknown](https://www.ruby-forum.com/u/unknown)\
**Post date:** [April 25, 2006, 5:27am UTC](https://www.ruby-forum.com/t/getting-gcc-b-must-come-at-the-start-of-the-command-lin/94186/2 "2006-04-25T05:27:28Z")

</div>

On Apr 24, 2006, at 10:52 AM, [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
[removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> 

Hi Scott,

You just missed a discussion on this very same topic a couple of days  
go.  
There are two write-ups on getting Ruby to compile on AIX, one I  
wrote and the other by Daniel S… Here is the link to the  
discussion you missed:

[http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/189688](http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/189688)

Hope this helps!  
Christopher Gibbons
