Yeah was called Barkeno in ancient times. But unlikely it had anything to do with Hamilcar, even if it's a cool myth.
Sent from my SM-G965F using Tapatalk
From Wikipedia
The origin of the earliest settlement at the site of present-day Barcelona is unclear. The ruins of an early settlement have been found, including different tombs and dwellings dating to earlier than 5000 BC.
[29][30] The founding of Barcelona is the subject of two different legends. The first attributes the founding of the city to the mythological
Hercules. The second legend attributes the foundation of the city directly to the historical
Carthaginian general,
Hamilcar Barca, father of
Hannibal, who supposedly named the city
Barcino after his family in the 3rd century BC,
[31] but there is no historical or linguistic evidence that this is true.