This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Help with HPUX 10.20 and egcs


> LD_RUN_PATH="/usr/local/mysql/lib/mysql:/lib/pa1.1:/usr/local/lib/gcc-lib/hpp
> a1.1-hp-hpux10.20/egcs-2.91.66" ld -o ../blib/arch/auto/DBD/mysql/mysql.sl  -
> b -L/usr/local/lib dbdimp.o mysql.o -L/usr/local/mysql/lib/mysql    -L/usr/lo
> cal/mysql/lib/mysql -lmysqlclient -lm -L/usr/local/lib/gcc-lib/hppa1.1-hp-hpu
> x10.20/egcs-2.91.66 -lgcc 
> 

Did you try using gcc to create the shared library? eg:

LD_RUN_PATH="/usr/local/mysql/lib/mysql:/lib/pa1.1" gcc -o mysql.sl -shared -L/usr/local/lib dbimp.o mysql.o -L/usr/local/mysql/lib/mysql  -lmysqlclient -lm

or something similar...

---
Doug Semler                       | doug@seaspace.com
SeaSpace Corporation              | Garbage In -- Gospel Out
Least Senior Software Developer;  | Minister of things to do Next Quarter
Low Man on the Totem Pole         | (but will Never Be Done) DNRC  O-
A closed mind is a terrible thing | Bus Error (passengers dumped)
  
-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GCS/M d---(pu) s++:- a-- C++ UILSH+++$ P--- L++ E--- W+
N++ o-- K? w--(++$) O- M-- V- PS+ !PE Y PGP t(+) 5+++ X+
R- tv+(-) b+(++) DI++++ D G e++>++++ h!>--- r% y+>+++++**
------END GEEK CODE BLOCK------



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]