creating a .so with gdc
Carlos Santander
csantander619 at gmail.com
Fri May 4 11:54:31 PDT 2007
Anders F Björklund escribió:
> Carlos Santander wrote:
>
>>> $ gcc -dynamiclib -Wl,-install_name,libfoo.dylib -o libfoo.dylib foo.o
>>> But my GDC says cc1d: error: unrecognized command line option "-fshared"
>>
>> Weird...
>>
>> /usr/bin/ld: -i argument: nstall_name must have a ':' between its symbol
>
> Which compiler are you using ? (I'm using the regular Mac OS X 10.4 one)
>
> --anders
$ gdc -v
Using built-in specs.
Target: powerpc-apple-darwin8.8.0
Configured with: ../gcc-4.1.1/configure --disable-multilib --enable-languages=c,d
Thread model: posix
gcc version 4.1.1 20060524 ( (gdc 0.23, using dmd 1.007))
$ gcc -v
Using built-in specs.
Target: powerpc-apple-darwin8
Configured with: /private/var/tmp/gcc/gcc-5247.obj~4/src/configure
--disable-checking -enable-werror --prefix=/usr --mandir=/share/man
--enable-languages=c,objc,c++,obj-c++
--program-transform-name=/^[cg][^.-]*$/s/$/-4.0/
--with-gxx-include-dir=/include/c++/4.0.0 --build=powerpc-apple-darwin8
--host=powerpc-apple-darwin8 --target=powerpc-apple-darwin8
Thread model: posix
gcc version 4.0.1 (Apple Computer, Inc. build 5247)
$ ld -v
Apple Computer, Inc. version cctools-590.18.obj~10
--
Carlos Santander Bernal
More information about the Digitalmars-d-learn
mailing list