🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: pl.comp.sys.sun.admin
6 messages
6 total messages Started by bm9ib2r5 Tue, 15 May 2007 15:06
flagi, moduly dynamiczne
#14203
Author: bm9ib2r5
Date: Tue, 15 May 2007 15:06
13 lines
1474 bytes
Witam.

W jaki sposób Solaris dostaje informację, że ma skompilować moduł
dynamiczny?

w linuxie jest to naprzyklad:

LDFLAGS = -Wl,-export-dynamic

jaki jest tego odpowiednik pod solarisem

Z gory dziekuje za pomoc :)
pozdrawiam
Re: flagi, moduly dynamiczne
#14204
Author: Piotr KUCHARSKI
Date: Wed, 16 May 2007 22:22
13 lines
1116 bytes
bm9ib2r5 <bm9ib2r5@gmail.com> wrote:
> W jaki sposób Solaris dostaje informację, że ma skompilować moduł
> dynamiczny?

Solaris nie kompiluje modułów. Kompilator kompiluje. A jak? Zależy
od kompilatora.

p.

-- 
http://freedns.sgh.waw.pl/  -- bezpłatny DNS.
http://nerdquiz.sgh.waw.pl/ -- polska wersja quizu dla nerdów.
http://42.pl/u/ -- skracacz URL-i.
Re: flagi, moduly dynamiczne
#14205
Author: bm9ib2r5
Date: Thu, 17 May 2007 07:20
24 lines
2103 bytes
On May 17, 12:22 am, Piotr KUCHARSKI <cho...@sgh.waw.pl> wrote:
> bm9ib2r5 <bm9ib...@gmail.com> wrote:
> > W jaki sposób Solaris dostaje informację, że ma skompilować moduł
> > dynamiczny?
>
> Solaris nie kompiluje modułów. Kompilator kompiluje. A jak? Zależy
> od kompilatora.
>
> p.
>
> --http://freedns.sgh.waw.pl/ -- bezpłatny DNS.http://nerdquiz.sgh.waw.pl/-- polska wersja quizu dla nerdów.http://42.pl/u/-- skracacz URL-i.

wiem. mialobyc kompilator ;)

takie cos mam:

gcc -v
Reading specs from /usr/sfw/lib/gcc/sparc-sun-solaris2.10/3.4.3/specs
Configured with: /gates/sfw10/builds/sfw10-gate/usr/src/cmd/gcc/
gcc-3.4.3/configure --prefix=/usr/sfw --with-as=/usr/sfw/bin/gas --
with-gnu-as --with-ld=/usr/ccs/bin/ld --without-gnu-ld --enable-
languages=c,c++ --enable-shared
Thread model: posix
gcc version 3.4.3 (csl-sol210-3_4-branch+sol_rpath)
Re: flagi, moduly dynamiczne
#14206
Author: bm9ib2r5
Date: Thu, 17 May 2007 07:22
24 lines
2112 bytes
On May 17, 12:22 am, Piotr KUCHARSKI <cho...@sgh.waw.pl> wrote:
> bm9ib2r5 <bm9ib...@gmail.com> wrote:
> > W jaki sposób Solaris dostaje informację, że ma skompilować moduł
> > dynamiczny?
>
> Solaris nie kompiluje modułów. Kompilator kompiluje. A jak? Zależy
> od kompilatora.
>
> p.
>
> --http://freedns.sgh.waw.pl/ -- bezpłatny DNS.http://nerdquiz.sgh.waw.pl/-- polska wersja quizu dla nerdów.http://42.pl/u/-- skracacz URL-i.

mialobyc kompilator ;)

a takie cos mam:

gcc -v
Reading specs from /usr/sfw/lib/gcc/sparc-sun-solaris2.10/3.4.3/specs
Configured with: /gates/sfw10/builds/sfw10-gate/usr/src/cmd/gcc/
gcc-3.4.3/configure --prefix=/usr/sfw --with-as=/usr/sfw/bin/gas --
with-gnu-as --with-ld=/usr/ccs/bin/ld --without-gnu-ld --enable-
languages=c,c++ --enable-shared
Thread model: posix
gcc version 3.4.3 (csl-sol210-3_4-branch+sol_rpath)
Re: flagi, moduly dynamiczne
#14207
Author: Fuma K
Date: Thu, 17 May 2007 08:28
29 lines
2069 bytes
bm9ib2r5 pisze:
> On May 17, 12:22 am, Piotr KUCHARSKI <cho...@sgh.waw.pl> wrote:
>> bm9ib2r5 <bm9ib...@gmail.com> wrote:
>>> W jaki sposób Solaris dostaje informację, że ma skompilować moduł
>>> dynamiczny?
>> Solaris nie kompiluje modułów. Kompilator kompiluje. A jak? Zależy
>> od kompilatora.
>>
>> p.
>>
>> --http://freedns.sgh.waw.pl/ -- bezpłatny DNS.http://nerdquiz.sgh.waw.pl/-- polska wersja quizu dla nerdów.http://42.pl/u/-- skracacz URL-i.
> 
> mialobyc kompilator ;)
> 
> a takie cos mam:
> 
> gcc -v
[ciach]

a jeszcze jakbyś sobie mana poczytał to doczytałbyś o opcji:

  -shared
            Produce a shared object which can then be linked with other 
objects to form an executable.  Not all systems support this option. 
For predictable results, you must also specify the same set of options 
that were used to generate code (-fpic, -fPIC, or model suboptions) when 
you specify this option.

Fuma K
Re: flagi, moduly dynamiczne
#14208
Author: Tomasz Potega
Date: Thu, 17 May 2007 09:07
12 lines
1339 bytes
Fuma K wrote:
> a jeszcze jakbyś sobie mana poczytał to doczytałbyś o opcji:
> [...]

tak w temacie:

http://www.fortran-2000.com/ArnaudRecipes/sharedlib.html

może nie jest najświeższe, ale...

pozdrowienia,
shadow
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads