[#4858] Build fails on OSX Tiger 10.4 — noreply@...

Bugs item #1883, was opened at 2005-05-06 14:55

21 messages 2005/05/06
[#4862] Re: [ ruby-Bugs-1883 ] Build fails on OSX Tiger 10.4 — Yukihiro Matsumoto <matz@...> 2005/05/07

Hi,

[#4865] Re: [ ruby-Bugs-1883 ] Build fails on OSX Tiger 10.4 — Ryan Davis <ryand-ruby@...> 2005/05/07

[#4868] Re: [ ruby-Bugs-1883 ] Build fails on OSX Tiger 10.4 — nobu.nokada@... 2005/05/07

Hi,

[#5053] Re: [ ruby-Bugs-1883 ] Build fails on OSX Tiger 10.4 — Shugo Maeda <shugo@...> 2005/05/19

Hi,

[#5056] Re: [ ruby-Bugs-1883 ] Build fails on OSX Tiger 10.4 — Mark Hubbart <discordantus@...> 2005/05/19

On 5/19/05, Shugo Maeda <shugo@ruby-lang.org> wrote:

[#4874] - Need to reduce Ruby Sources to the Minimal — Ilias Lazaridis <ilias@...>

Hello all,

31 messages 2005/05/10
[#4879] Re: [THIN] - Need to reduce Ruby Sources to the Minimal — Pit Capitain <pit@...> 2005/05/11

Ilias Lazaridis schrieb:

[#4883] Re: [THIN] - Need to reduce Ruby Sources to the Minimal — Ilias Lazaridis <ilias@...> 2005/05/12

Pit Capitain wrote:

[#4884] Re: [THIN] - Need to reduce Ruby Sources to the Minimal — Ryan Davis <ryand-ruby@...> 2005/05/12

[#4888] Re: [THIN] - Need to reduce Ruby Sources to the Minimal — Ilias Lazaridis <ilias@...> 2005/05/12

Ryan Davis wrote:

[#4889] Re: [THIN] - Need to reduce Ruby Sources to the Minimal — ES <ruby-ml@...> 2005/05/12

[#4890] Re: [THIN] - Need to reduce Ruby Sources to the Minimal — Ilias Lazaridis <ilias@...> 2005/05/12

ES wrote:

[#4891] Re: [THIN] - Need to reduce Ruby Sources to the Minimal — Alexander Kellett <ruby-lists@...> 2005/05/12

On May 12, 2005, at 3:13 PM, Ilias Lazaridis wrote:

[#4911] Pointless argc check in Array#select — noreply@...

Patches item #1900, was opened at 2005-05-12 09:33

11 messages 2005/05/12

[#4919] - Hierarchical/Modular Directory Structure — Ilias Lazaridis <ilias@...>

The source-code structure should be simplified, lowering barriers for

20 messages 2005/05/12

Re: [THIN] - Need to reduce Ruby Sources to the Minimal

From: Ilias Lazaridis <ilias@...>
Date: 2005-05-12 16:07:40 UTC
List: ruby-core #4910
Francois GORET wrote:
> On Thursday 12 May 2005 22:09, Ilias Lazaridis wrote:
>>This is a development list.
>>
>>Please move your whining elsewhere, e.g. ruby-talk.
> 
> <smile> Readers of development list should know about 'make'</smile>

if the project encapsulates the "make" domain-knowledge correctly, 
developers don't need to know about make.

and: subsystems of the sources should be detectable without the need of 
make (e.g. with folder-hierarchy).

> Make can explain what it does to build the program on your platform. The 
> following looks like you are asking for, no ?

yes, this comes close.

> fg@moo:~/install/ruby/ruby-1.8.2$ make -n miniruby 
> gcc -g -O2   -I. -I.  -c array.c
> gcc -g -O2   -I. -I.  -c bignum.c
> gcc -g -O2   -I. -I.  -c class.c
> gcc -g -O2   -I. -I.  -c compar.c
> gcc -g -O2   -I. -I.  -c dir.c
> gcc -g -O2   -I. -I.  -c dln.c
> gcc -g -O2   -I. -I.  -c enum.c
> gcc -g -O2   -I. -I.  -c error.c
> gcc -g -O2   -I. -I.  -c eval.c
> gcc -g -O2   -I. -I.  -c file.c
> gcc -g -O2   -I. -I.  -c gc.c
> gcc -g -O2   -I. -I.  -c hash.c
> gcc -g -O2   -I. -I.  -c inits.c
> gcc -g -O2   -I. -I.  -c io.c
> gcc -g -O2   -I. -I.  -c marshal.c
> gcc -g -O2   -I. -I.  -c math.c
> gcc -g -O2   -I. -I.  -c numeric.c
> gcc -g -O2   -I. -I.  -c object.c
> gcc -g -O2   -I. -I.  -c pack.c
> gcc -g -O2   -I. -I.  -c parse.c
> gcc -g -O2   -I. -I.  -c process.c
> gcc -g -O2   -I. -I.  -c prec.c
> gcc -g -O2   -I. -I.  -c random.c
> gcc -g -O2   -I. -I.  -c range.c
> gcc -g -O2   -I. -I.  -c re.c
> gcc -g -O2   -I. -I.  -c regex.c
> gcc -g -O2   -I. -I.  -c ruby.c
> gcc -g -O2   -I. -I.  -c signal.c
> gcc -g -O2   -I. -I.  -c sprintf.c
> gcc -g -O2   -I. -I.  -c st.c
> gcc -g -O2   -I. -I.  -c string.c
> gcc -g -O2   -I. -I.  -c struct.c
> gcc -g -O2   -I. -I.  -c time.c
> gcc -g -O2   -I. -I.  -c util.c
> gcc -g -O2   -I. -I.  -c variable.c
> gcc -g -O2   -I. -I.  -c version.c
> gcc -g -O2   -I. -I.  -c dmyext.c

ok, compiled to object-files.

> rm -f libruby-static.a

making "libruby-static.a"...

> ar rcu libruby-static.a array.o bignum.o class.o compar.o dir.o dln.o enum.o 
> error.o eval.o file.o gc.o hash.o inits.o io.o marshal.o math.o numeric.o 
> object.o pack.o parse.o process.o prec.o random.o range.o re.o regex.o ruby.o 
> signal.o sprintf.o st.o string.o struct.o time.o util.o variable.o version.o  
> dmyext.o

...whilst linking all the above files.

> ranlib libruby-static.a 2> /dev/null || true

?

> gcc -g -O2   -I. -I.  -c main.c

compile main.c

> rm -f miniruby

making "miniruby"

> gcc -g -O2    -rdynamic -Wl,-export-dynamic  main.o dmyext.o libruby-static.a 
> -ldl -lcrypt -lm   -o miniruby

why is "dmyext.o" used again (already within "libruby-static.a")?

.

-- 
http://lazaridis.com


In This Thread