DMD 1.025 and 2.009 releases

Marcin Kuszczak aarti_please_no at spam_interia.pl
Tue Jan 1 04:01:14 PST 2008


Walter Bright wrote:

> New const/invariant/enum in 2.009!
> 
> http://www.digitalmars.com/d/1.0/changelog.html
> http://ftp.digitalmars.com/dmd.1.025.zip
> 
> http://www.digitalmars.com/d/changelog.html
> http://ftp.digitalmars.com/dmd.2.009.zip


There is something wrong with linux libphobos2 library.

I get linker errors for simplest program:
--------------
import std.stdio;

void main() {
    writefln("Just a test!");
}
-------------

Version 2.008 works just right.


marcin at genesis:~/Programy/D/TestCases/src$ dmd quicktest.d
gcc quicktest.o -o
quicktest -m32 -Xlinker -L/usr/local/lib -lphobos2 -lpthread -lm
quicktest.o: In function
`_D3std8bitmanip102__T15createAccessorsVAyaa20_6672616374696f6e6578706f6e656e747369676eTkVyG8aa8_6672616374696f6eVi23Vk0Z15createAccessorsFZAya':
quicktest.d
(.text._D3std8bitmanip102__T15createAccessorsVAyaa20_6672616374696f6e6578706f6e656e747369676eTkVyG8aa8_6672616374696f6eVi23Vk0Z15createAccessorsFZAya+0x27):
undefined reference to `_D3std8bitmanip11toStringSfxFmZAya'
quicktest.d
(.text._D3std8bitmanip102__T15createAccessorsVAyaa20_6672616374696f6e6578706f6e656e747369676eTkVyG8aa8_6672616374696f6eVi23Vk0Z15createAccessorsFZAya+0x41):
undefined reference to `_D3std8bitmanip11toStringSfxFmZAya'
quicktest.d
(.text._D3std8bitmanip102__T15createAccessorsVAyaa20_6672616374696f6e6578706f6e656e747369676eTkVyG8aa8_6672616374696f6eVi23Vk0Z15createAccessorsFZAya+0xa3):
undefined reference to `_D3std8bitmanip11toStringSfxFmZAya'
quicktest.d
(.text._D3std8bitmanip102__T15createAccessorsVAyaa20_6672616374696f6e6578706f6e656e747369676eTkVyG8aa8_6672616374696f6eVi23Vk0Z15createAccessorsFZAya+0xba):
undefined reference to `_D3std8bitmanip11toStringSfxFmZAya'
quicktest.d
(.text._D3std8bitmanip102__T15createAccessorsVAyaa20_6672616374696f6e6578706f6e656e747369676eTkVyG8aa8_6672616374696f6eVi23Vk0Z15createAccessorsFZAya+0xf8):
undefined reference to `_D3std8bitmanip11toStringSfxFmZAya'
quicktest.o:quicktest.d
(.text._D3std8bitmanip102__T15createAccessorsVAyaa20_6672616374696f6e6578706f6e656e747369676eThVyG8aa8_6578706f6e656e74Vi8Vk23Z15createAccessorsFZAya+0x27):
more undefined references to `_D3std8bitmanip11toStringSfxFmZAya' follow
collect2: ld returned 1 exit status
--- errorlevel 1


-- 
Regards
Marcin Kuszczak (Aarti_pl)
-------------------------------------
Ask me why I believe in Jesus - http://www.zapytajmnie.com (en/pl)
Doost (port of few Boost libraries) - http://www.dsource.org/projects/doost/
-------------------------------------




More information about the Digitalmars-d-announce mailing list