Hi Przemek,
Output in C++ mode:
---
silver:bin vszakats$ nm tstrcv.o -g -n
U _HB_FUN_AT
U _HB_FUN_EMPTY
U _HB_FUN_HB_INETACCEPT
U _HB_FUN_HB_INETCLOSE
U _HB_FUN_HB_INETCONNECTIP
U _HB_FUN_HB_INETCRLF
U _HB_FUN_HB_INETERRORCODE
U _HB_FUN_HB_INETRECV
U _HB_FUN_HB_INETRECVLINE
U _HB_FUN_HB_INETSENDALL
U _HB_FUN_HB_INETSERVER
U _HB_FUN_HB_INETTIMEOUT
U _HB_FUN_HB_NTOS
U _HB_FUN_HB_THREADJOIN
U _HB_FUN_HB_THREADSTART
U _HB_FUN_LEFT
U _HB_FUN_LEN
U _HB_FUN_QOUT
U _HB_FUN_REPLICATE
U _HB_FUN_SECONDS
U _HB_FUN_SPACE
U _HB_FUN_SUBSTR
U _HB_FUN_VALTYPE
U _HB_FUN___WAIT
U ___gxx_personality_v0
U _hb_vmExecute
U _hb_vmProcessSymbols
00000050 T _HB_FUN_MAIN
00000080 T _HB_FUN_SRV
000000b0 T _HB_FUN_CLI
000009e0 S _HB_FUN_MAIN.eh
00000a08 S _HB_FUN_SRV.eh
00000a30 S _HB_FUN_CLI.eh
---
Output in C mode:
---
silver:bin vszakats$ nm tstrcv.o -g -n
U _HB_FUN_AT
U _HB_FUN_EMPTY
U _HB_FUN_HB_INETACCEPT
U _HB_FUN_HB_INETCLOSE
U _HB_FUN_HB_INETCONNECTIP
U _HB_FUN_HB_INETCRLF
U _HB_FUN_HB_INETERRORCODE
U _HB_FUN_HB_INETRECV
U _HB_FUN_HB_INETRECVLINE
U _HB_FUN_HB_INETSENDALL
U _HB_FUN_HB_INETSERVER
U _HB_FUN_HB_INETTIMEOUT
U _HB_FUN_HB_NTOS
U _HB_FUN_HB_THREADJOIN
U _HB_FUN_HB_THREADSTART
U _HB_FUN_LEFT
U _HB_FUN_LEN
U _HB_FUN_QOUT
U _HB_FUN_REPLICATE
U _HB_FUN_SECONDS
U _HB_FUN_SPACE
U _HB_FUN_SUBSTR
U _HB_FUN_VALTYPE
U _HB_FUN___WAIT
U _hb_vmExecute
U _hb_vmProcessSymbols
00000050 T _HB_FUN_MAIN
00000080 T _HB_FUN_SRV
000000b0 T _HB_FUN_CLI
---
Brgds,
Viktor
On 2009.08.17., at 1:45, Przemyslaw Czerpak wrote:
On Sat, 15 Aug 2009, [email protected] wrote:
2009-08-15 11:48 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
! Minor fix for darwin and automatic entry function detection
using 'nm'.
nm on Darwin doesn't seem to support '--defined-only -C' option.
Przemek, please check this, maybe this hurts functionality.
For pure C mode it should work. " T HB_FUN_" is enough anyhow it may
cause
problems for C++ mode because it may attach mangling information. Just
make test with Darwin C++ builds. If necessary at symbol name cutting
at 1-st "@"
best regards,
Przemek
_______________________________________________
Harbour mailing list
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour
_______________________________________________
Harbour mailing list
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour