_asm directive and gcc I'm working on an HPUX system using GCC. I'm trying to compile some
code that includes a header that uses the _asm function. The linker
(ld) fails to resolve the function. If I compile a test file with cc,
it is able to compile the _asm function; gcc leaves it in the .s file
as an import symbol which ld isn't resolving. Is there a library I'm
not including for the gcc compile or is this an issue gcc can't
handle?
This is for an HP-UX 10.20 PA_RISK system and the module has to be
built in the kernel so it all started with the ld symbol check when
the kernel was being rebuilt.
TIA!
Rick Hunnicutt
Software Engineering
San Diego, CA |