[Gambas-devel] Check for -fvisibility=hidden

Daniel Campos dcamposf at ...176...
Fri Mar 10 08:27:04 CET 2006


Hi Benoit:

Since you changed the build files and added thet new flag, it is impossible
to compile Gambas in Debian Sarge :-(

Do you really think this flag is so important? It will break compilation
except in quite new distributions...

Regards,

D. Campos


2006/3/9, ron <ronstk at ...124...>:
>
> On Wednesday 08 March 2006 23:19, Laurent Carlier wrote:
> > Le Mercredi 8 Mars 2006 23:01, Benoit Minisini a écrit:
> > > On Saturday 04 March 2006 18:22, Laurent Carlier wrote:
> > > > Test the following acinclude.m4, it inlude a test for
> -fvisibility=hidden
> > > > flag. It's a pretty quick workaround and surely need work and
> cleanup.
> > > >
> > > > Founf here :
> > > > http://autoconf-archive.cryp.to/ax_cflags_gcc_option.html
> > > >
> > > > and attached the modified acinclude.m4
> > > >
> > > > regards,
> > >
> > > Thanks. I merged it as is. I hope you didn't make a mistake :-)
> > >
> > > Regards,
> >
> > Ok, i've tried with gcc-3.3 and it doesn't enable the visibility flag.
> >
> > Regards,
> >
>
> I did a try also.
> With fresh untar the archive and replaced the acinclude.m4 with the new
> one.
> for me bad luck with SuSE 9.2 and gcc version 3.3.4 (pre 3.3.5 20040809)
>
> This afternoon i did install on a second box and did the patch on
> line194/195.
> With same suse version the ./reconf and ./reconf-all did not work.
> After a make distclean, I can't remember it did work or not, I restart
> again
> with fresh untar and did the patch on line194/195. That is working now :)
>
> Report with the updated acinclude.m4 from Laurent Carlier:
>
> make[4]: Entering directory `/mnt/hda6/_OldUsers/ron/src/a/gambas2-1.9.26
> /main/gbx'
> if /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.
> -I.. -I../share    -I../libltdl   -DGBX_INFO -pipe -Wall
> -fno-strict-aliasing -Wno-unused-value -fvisibility=hidden -g -Os -O0  -MT
> gb_la-gbx_c_class.lo -MD -MP -MF ".deps/gb_la-gbx_c_class.Tpo" -c -o
> gb_la-gbx_c_class.lo `test -f 'gbx_c_class.c' || echo './'`gbx_c_class.c; \
> then mv -f ".deps/gb_la-gbx_c_class.Tpo" ".deps/gb_la-gbx_c_class.Plo";
> else rm -f ".deps/gb_la-gbx_c_class.Tpo"; exit 1; fi
> mkdir .libs
> gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../share -I../libltdl -DGBX_INFO -pipe
> -Wall -fno-strict-aliasing -Wno-unused-value -fvisibility=hidden -g -Os -O0
> -MT gb_la-gbx_c_class.lo -MD -MP -MF .deps/gb_la-gbx_c_class.Tpo -c
> gbx_c_class.c  -fPIC -DPIC -o .libs/gb_la-gbx_c_class.o
> cc1: error: unrecognized option `-fvisibility=hidden'
> make[4]: *** [gb_la-gbx_c_class.lo] Error 1
>
> ---
> Greets Ron
>
>
>
>
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by xPML, a groundbreaking scripting
> language
> that extends applications into web and mobile media. Attend the live
> webcast
> and join the prime developer group breaking into this new coding
> territory!
> http://sel.as-us.falkag.net/sel?cmdlnk&kid0944&bid$1720&dat1642
> _______________________________________________
> Gambas-devel mailing list
> Gambas-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/devel/attachments/20060310/a82cc8c1/attachment.html>


More information about the Devel mailing list